Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
pippo1234
pippo ad
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0
Browser:
Firefox 125
Operating system:
Windows
Device Platform:
Desktop
Date tested:
2 years ago
Benchmark engine:
Benchmark.js
prova 2
2272.2M/s
prova 1
6.5M/s
View exact numbers
Test name
Executions per second
✓
prova 2
2,272,212,224 Ops/sec
prova 1
6,453,021 Ops/sec
Script Preparation code:
x = 256
Tests:
prova 1
var sign = (x < 0 ? "-" : ""); var result = Math.abs(x).toString(2); while(result.length < 32) { result = "0" + result; } return sign + result;
prova 2
return (x >>> 0).toString(2);