(And note that performance.now's return values will not be as fine-grained as they might be if snippets ran with Cross-Origin-Opener-Policy: same-origin and Cross-Origin-Embedder-Policy: require-corp.)Ībout the unoptimized results: You've asked about A and B and why the unoptimized results are so different. To run another test, click Run code snippet again (to refresh so the environment is "cold" again).Īgain, though, even that is a fairly naive way of benchmarking those loops. The test takes a while, please be patient. Strongly recommend not trusting results from fewer than 3 loops Const loopCount = loopCountInput.valueAsNumber Ĭonsole.log(`Running test with $ loop(s)`)
0 Comments
Leave a Reply. |