Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
json parse vs eval - version 2
(version: 0)
Comparing performance of:
json parse vs eval
Created:
4 years ago
by:
Guest
Jump to the latest result
Script Preparation code:
var str1 = '{ "name": "deyuyi", "sex": "man", "check1" : "sdhasuhda", "check2": "jashdkjhas" }';
Tests:
json parse
JSON.parse(str1);
eval
eval("test="+str1+";");
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
json parse
eval
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
JSON.parse() vs. eval()
json parse vs eval
eval vs json parse only, no var declaration
eval vs json parse only, no var declaration (identical input)
Comments
Confirm delete:
Do you really want to delete benchmark?