Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
JSON vs URLSearchParams
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0
Browser:
Firefox 140
Operating system:
Linux
Device Platform:
Desktop
Date tested:
4 months ago
Benchmark engine:
Benchmark.js
JSON.stringify
1.5M/s
URLSearchParams
382K/s
View exact numbers
Test name
Executions per second
✓
JSON.stringify
1,542,609 Ops/sec
URLSearchParams
382,082 Ops/sec
Script Preparation code:
var data = { funnelId: "test-funnel-id", channelId: "test-channel-id", metricName: "test-metric-name" }
Tests:
JSON.stringify
var result = JSON.stringify(data)
URLSearchParams
var result = new URLSearchParams(data)