基准测试构建器对比多段 JavaScript 代码的执行性能,测量平均耗时并排名。 完全免费、免注册、浏览器本地处理,不上传服务器。迭代次数添加代码片段运行基准测试✕const arr = Array.from({length: 100}, (_, i) => i); arr.map(x => x * 2);✕const arr = Array.from({length: 100}, (_, i) => i); arr.forEach(x => x * 2);