Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:134.0) Gecko/20100101 Firefox/134.0
Firefox 134
Mac OS X 10.15
Desktop
one month ago
Test name Executions per second
Regular 24307.1 Ops/sec
Test 23712.8 Ops/sec
HTML Preparation code:
AخA
 
1
<!--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:
  • Regular

     
    const position = "Midfielder"
    Array(100).fill(position).map((p) => [crypto.randomUUID(), p])
  • Test

     
    const position = "Midfielder"
    Array.from({ length: 100 }, () => [crypto.randomUUID(), position])