Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
normal object vs mutated object
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Browser:
Chrome 133
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
normal object
3372198.5 Ops/sec
mutated
3417933.8 Ops/sec
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
'use strict'; class a {a=3;b(){blur()}} class b {a=3;b(){blur()}} let obj1 = new a let obj2 = new a Reflect.setPrototypeOf(obj2, b.prototype)
Tests:
normal object
obj1.a = 2 obj1.a delete obj1.a obj1.b() 'a'in obj1 Object.defineProperty(obj1,'a',{value:2})
mutated
obj2.a = 2 obj2.a delete obj2.a obj2.b() 'a'in obj2 Object.defineProperty(obj2,'a',{value:2})