Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Temp Test
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Browser:
Chrome 142
Operating system:
Windows
Device Platform:
Desktop
Date tested:
5 months ago
Test name
Executions per second
prototype chain
168797.3 Ops/sec
own property
147274.6 Ops/sec
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
const num2code = (n)=> n < 10 ? 0x30 + n : n < 36 ? 0x61 + (n - 10) : 0x41 + (n - 36); const getInt = (()=>{r=Math.random;f=Math.floor;return (a=0,b=0x100000000)=>f(r()*(b-a))+a})(); const getStr = (n)=>String.fromCharCode(...(new Int32Array(n)).map(()=>num2code(getInt(0,62)))); const N = 0x10000;
Tests:
push
const arr = []; for(i=0; i<N; i++) arr.push(getInt());
arr.length++;
const arr = []; for(i=0; i<N; i++) arr[arr.length] = getInt();
arr[j++]
const arr = []; let j = 0; for(i=0; i<N; i++) arr[j++] = getInt();