Script Preparation code:
AخA
 
var encoded = [];
var decoded = [];
for (var i = 0; i < 500; i++) {
  decoded.push({"supports":{"moduleMove":true,"moduleDuplicate":true,"moduleDelete":true,"imageResize":true,"imageAlign":true,"imageCaption":true,"imageFullWidth":false},"fitsInContent":true,"alias":null,"isInSectionLoop":false,"imageId":Math.round(Math.random() * 10000),"imageAnimated":false,"imagePosition":1,"imageFit":true,"caption":"","link":"","linkTarget":"","imageAlt":"","linkTitle":"","iiePayload":{"zoom":2.0286,"cropXRatio":1,"cropYRatio":1,"version":1},"imageWidth":900,"imageHeight":382,"imageUrl":"https:\/\/diydev-shard01-cms.petsi.lan\/webseitendaten\/656\/563\/460\/images\/cache\/98.jpg?t=1475494410","origImageUrl":"https:\/\/diydev-shard01-cms.petsi.lan\/webseitendaten\/656\/563\/460\/images\/upload\/98.jpg?t=1475494410","origImageWidth":1600,"origImageHeight":1065,"transformedImageUrl":null,"transformedImageWidth":null,"transformedImageHeight":null,"imageMediaType":"JPEG","teaserboxWidth":900,"teaserboxHeight":700,"isFullwidth":false});
  encoded.push(btoa(JSON.stringify(decoded[i])));
}
Tests:
  • decoding

     
    for (var j = 0; j < encoded.length; j++) {
      console.log(atob(JSON.parse(encoded[j])));
    }
  • no decoding

     
    for (var k = 0; k < decoded.length; k++) {
      console.log(decoded[k]);
    }
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    decoding
    no decoding

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
decoding 0.0 Ops/sec
no decoding 752.9 Ops/sec