Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
normal vs Object.freeze vs Object.seal performance
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/145.0.0.0 Safari/537.36 Edg/145.0.0.0
Browser:
Chrome 145
Operating system:
Linux
Device Platform:
Desktop
Date tested:
2 months ago
Test name
Executions per second
normal
9014654.0 Ops/sec
freeze
3447377.5 Ops/sec
seal
3458645.8 Ops/sec
Tests:
normal
var normal = { x: 0, y: 0 };
freeze
var freeze = Object.freeze({ x: 0, y: 0 });
seal
var seal = Object.seal({ x: 0, y: 0 });