Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Destructure from Object.seal vs Object.freeze vs normal
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0
Browser:
Firefox 133
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
freeze
837.1M/s
normal
835.6M/s
seal
835.1M/s
View exact numbers
Test name
Executions per second
✓
freeze
837,072,832 Ops/sec
normal
835,600,384 Ops/sec
seal
835,079,936 Ops/sec
Script Preparation code:
var a = Object.seal( {x: 321, y: 123} ); var b = {x: 321, y: 123} var c = Object.freeze( {x: 321, y: 123} );
Tests:
seal
const {x,y} = a
normal
const {x,y} = b
freeze
const {x,y} = c