{"ScriptPreparationCode":"var a = \u0022\u0022;\r\nfor (var i = 0; i \u003C 100; i\u002B\u002B) {\r\n a \u002B= \u0027The quick brown fox jumps over the lazy dog\u0027;\r\n for (var j = Math.random(100); j \u003E= 0; j--) {\r\n a \u002B= String.fromCharCode(Math.random() * 1000);\r\n }\r\n}\r\nvar enc = new TextEncoder();\r\nvar uncompressed = enc.encode(a);\r\nvar compressed_pako = pako.gzip(uncompressed);\r\nvar compressed_snappy = SnappyJS.compress(uncompressed);","TestCases":[{"Name":"pako: compress","Code":"pako.deflate(uncompressed)","IsDeferred":false},{"Name":"pako: decompress","Code":"pako.inflate(compressed_pako)","IsDeferred":false},{"Name":"fflate: compress","Code":"fflate.gzipSync(uncompressed)","IsDeferred":false},{"Name":"fflate: decompress","Code":"fflate.decompressSync(compressed_pako);","IsDeferred":false},{"Name":"snappyjs: compress","Code":"SnappyJS.compress(uncompressed)","IsDeferred":false},{"Name":"snappyjs: decompress","Code":"SnappyJS.uncompress(compressed_snappy)","IsDeferred":false}]}