Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
string vs number vs symbol
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0
Browser:
Firefox 135
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Number
2636.4M/s
String
2634.1M/s
Symbol
29.3M/s
View exact numbers
Test name
Executions per second
✓
Number
2,636,434,944 Ops/sec
String
2,634,098,688 Ops/sec
Symbol
29,275,098 Ops/sec
Tests:
Symbol
const a = Symbol(); const b = Symbol(); a === b
Number
const a = 1; const b = 2; a === b
String
const a = '1'; const b = '2'; a === b