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 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Mobile Safari/537.36
Browser:
Chrome Mobile 129
Operating system:
Android
Device Platform:
Mobile
Date tested:
one year ago
Test name
Executions per second
func
101106400.0 Ops/sec
jsobj
94532904.0 Ops/sec
symbol
2996012.2 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