HTML Preparation code:
AخA
 
1
<!--your preparation HTML code goes here-->
Script Preparation code:
 
let url = URL.createObjectURL(new Blob([JSON.stringify({a:3,b:3,c:3,n:6,baeij:2,ifjq3:[1,2,3,4,5]})],{type:'application/json'}))
function finish() {
deferred.resolve()
}
function auto(j) {
 j.json().then(finish)
}
function parse(j) {
j.text().then(JSON.parse).then(finish)
}
Tests:
  • fetch.json()

     
    fetch(url).then(auto)
  • fetch+json.parse

     
    fetch(url).then(parse)
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    fetch.json()
    fetch+json.parse

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 days ago)
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Chrome 132 on Chrome OS 14541.0.0
View result in a separate tab
Test name Executions per second
fetch.json() 1448.3 Ops/sec
fetch+json.parse 1373.3 Ops/sec