Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
JSON stringify
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 YaBrowser/24.1.0.0 Safari/537.36
Browser:
Yandex Browser 24
Operating system:
Mac OS X 10.15.7
Device Platform:
Desktop
Date tested:
2 years ago
Test name
Executions per second
JSON stringify
131888.2 Ops/sec
JSON stringify equality
124462.4 Ops/sec
Tests:
JSON stringify
const testObject = {gameName: 'lotto', maxPrimaryLineLength: 6, maxSecondaryLineLength: 0,currentPrimaryLine: [1,2,3,4,5],currentSecondaryLine: []} const testObject2 = {gameName: 'lotto', maxPrimaryLineLength: 6, maxSecondaryLineLength: 0,currentPrimaryLine: [1,2,3,4,5],currentSecondaryLine: []} console.log(JSON.stringify(testObject));
JSON stringify equality
const testObject = {gameName: 'lotto', maxPrimaryLineLength: 6, maxSecondaryLineLength: 0,currentPrimaryLine: [1,2,3,4,5],currentSecondaryLine: []} const testObject2 = {gameName: 'lotto', maxPrimaryLineLength: 6, maxSecondaryLineLength: 0,currentPrimaryLine: [1,2,3,4,5],currentSecondaryLine: []} console.log(JSON.stringify(testObject) === JSON.stringify(testObject2));