Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
JSON parse size
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0
Browser:
Firefox 135
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Parse: Single Large
16/s
Parse: Many Small
16/s
Stringify: Many Small
12/s
Stringify: Single Large
12/s
View exact numbers
Test name
Executions per second
✓
Parse: Single Large
16 Ops/sec
Parse: Many Small
16 Ops/sec
Stringify: Many Small
12 Ops/sec
Stringify: Single Large
12 Ops/sec
Script Preparation code:
data = Array(10).fill(Array(100000).fill(0).map(Math.random)); singleLarge = JSON.stringify(data); manySmall = data.map(JSON.stringify);
Tests:
Stringify: Single Large
JSON.stringify(data)
Stringify: Many Small
data.forEach(JSON.stringify)
Parse: Single Large
JSON.parse(singleLarge);
Parse: Many Small
manySmall.map(JSON.parse)