Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
simple int vs string comparison 1
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36 OPR/120.0.0.0
Browser:
Opera 120
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Benchmark engine:
Benchmark.js
int comparison
139.2M/s
string comparison
137.7M/s
View exact numbers
Test name
Executions per second
✓
int comparison
139,179,680 Ops/sec
string comparison
137,652,736 Ops/sec
Tests:
int comparison
const a = 1 const b = 1 return a == b
string comparison
const a = "Primary" const b = "Primary" return a == b