Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
try catch json parse
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15
Browser:
Safari 17
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
json parse
410499.9 Ops/sec
try catch json parse
357851.1 Ops/sec
HTML Preparation code:
<div id="test"></div>
Tests:
json parse
JSON.parse('{"name":"John", "age":31, "city":"New York"}');
try catch json parse
try { JSON.parse('{"name":"John", "age":31, "city":"New York"}'); } catch(error) { console.log(error); }