AخA
 
1
<!--your preparation HTML code goes here-->


6
 
1
/*your preparation JavaScript code goes here
2
To execute async code during the script preparation, wrap it as function globalMeasureThatScriptPrepareFunction, example:*/
3
async function globalMeasureThatScriptPrepareFunction() {
4
    // This function is optional, feel free to remove it.
5
    // await someThing();
6
}
  • 1
     
    1
    /*When writing async/deferred tests, use `deferred.resolve()` to mark test as done*/
  • x
     
    1
Validate benchmark  Cancel