Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
What is an Execution Per Second?
(version: 1)
Comparing performance of:
Fewer Statements Executed vs More Statements Excuted
Created:
one year ago
by:
Registered User
Jump to the latest result
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
/*your preparation JavaScript code goes here To execute async code during the script preparation, wrap it as function globalMeasureThatScriptPrepareFunction, example:*/ async function globalMeasureThatScriptPrepareFunction() { // This function is optional, feel free to remove it. // await someThing(); }
Tests:
Fewer Statements Executed
async function loopWithDelay() { for (let i = 0; i < 10; i++) { await new Promise(resolve => setTimeout(resolve, 10)); } console.log("Loop complete"); } loopWithDelay();
More Statements Excuted
async function loopWithDelay() { for (let i = 0; i < 20; i++) { await new Promise(resolve => setTimeout(resolve, 5)); } console.log("Loop complete"); } loopWithDelay();
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Fewer Statements Executed
More Statements Excuted
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Comments
Confirm delete:
Do you really want to delete benchmark?