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:
5 months ago
normal
9.0M/s
seal
3.5M/s
freeze
3.4M/s
View exact numbers
Test name
Executions per second
✓
normal
9,014,654 Ops/sec
seal
3,458,646 Ops/sec
freeze
3,447,378 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 });