Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
test2354
(version: 1)
Comparing performance of:
normal vs evaluated
Created:
one year ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
ab = new ArrayBuffer(1000*4); u32 = new Uint32Array(ab); fnConstructor = function(localArr, localCount) { return function foo() { for (let i = 0; i < localCount; i++) { localArr[localCount]++; } } }; code2 = `return function foo(argArr, argCount) { for (let i = 0; i < argCount; i++) { argArr[argCount]++; } }`; fnWithArgs = new Function(code2)();
Tests:
normal
fnConstructor(u32, 100);
evaluated
fnWithArgs(u32, 100);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
normal
evaluated
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one year ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Browser/OS:
Chrome 133 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
normal
242473328.0 Ops/sec
evaluated
32674438.0 Ops/sec
Related benchmarks:
Test for
Test for
Test for
Test for
For with and without external variables
For with and without external variables
For with and without external variables
lodash.each vs Object.forEach
Arary iteration comparison
Comments
Confirm delete:
Do you really want to delete benchmark?