Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
string vs number vs symbol 2
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0
Browser:
Firefox 142
Operating system:
Ubuntu
Device Platform:
Desktop
Date tested:
11 months ago
Number
1689.1M/s
String
1688.9M/s
Symbol
9.8M/s
View exact numbers
Test name
Executions per second
✓
Number
1,689,058,176 Ops/sec
String
1,688,920,448 Ops/sec
Symbol
9,767,895 Ops/sec
Tests:
Symbol
const a = Symbol(); const b = Symbol(); a === b
Number
const a = 1; const b = 2; a === b
String
const a = 'Rendered benchmark preparation results:'; const b = 'Rendered benchmark preparation results:'; a === b