ToolNextToolNext

JS 效能基準測試

對比兩段 JS 程式碼的執行效能

Code runs via new Function(). Each snippet is called N times and timed with performance.now().

工具說明

Online JS benchmark tool — enter two code snippets, run them thousands of times, and compare ops/sec (operations per second) to determine which is faster.

benchmark性能javascriptperformanceops测试