Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
func vs js object vs symbol
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/150.0.0.0 Safari/537.36
Browser:
Chrome 150
Operating system:
Linux
Device Platform:
Desktop
Date tested:
8 days ago
func
587.4M/s
jsobj
571.3M/s
symbol
14.3M/s
View exact numbers
Test name
Executions per second
✓
func
587,394,560 Ops/sec
jsobj
571,289,856 Ops/sec
symbol
14,326,246 Ops/sec
Tests:
func
let a = function () { return "HELLO"; } let b = function () { return "WORLD"; } a === b
jsobj
let a = {hello: "world"} let b = {foo: "bar"} a === b
symbol
let a = Symbol("foo"); let b = Symbol("bar"); a === b