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; rv:142.0) Gecko/20100101 Firefox/142.0
Browser:
Firefox 142
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
normal
1668.3M/s
freeze
11.2M/s
seal
10.9M/s
View exact numbers
Test name
Executions per second
✓
normal
1,668,333,184 Ops/sec
freeze
11,218,325 Ops/sec
seal
10,878,147 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 });