Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
test by me v2
(version: 1)
Comparing performance of:
case 1 vs case 2
Created:
one year ago
by:
Guest
Jump to the latest result
Script Preparation code:
function moreData(arr, left) { if(left === 0) return arr; else { arr.push(456); return moreData(arr, left - 1); } } function makeTestData() { return moreData([], 40); }
Tests:
case 1
makeTestData().join('-')
case 2
JSON.stringify(makeTestData());
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
case 1
case 2
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one year ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Browser/OS:
Chrome 134 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
case 1
727556.4 Ops/sec
case 2
790065.1 Ops/sec
Related benchmarks:
json stringify vs array tostring
json stringify vs array tostring vs type coercion
json stringify vs array tostring 2
json stringify vs array join
toString vs Stringify vs backticks
json stringify vs array join 5k items
json stringify vs array join (string)
json stringify vs array join (string) v2
json stringify vs array join (string) 2
Comments
Confirm delete:
Do you really want to delete benchmark?