基準測試建構器對比多段 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);