{"ScriptPreparationCode":"var size = 8 * 40;\r\nvar srcBuf8 = new ArrayBuffer(size);\r\nvar srcBufPtr8 = new Uint8Array(srcBuf8);\r\nvar srcBuf16 = new ArrayBuffer(size*2);\r\nvar srcBufPtr16 = new Uint16Array(srcBuf16);\r\nvar srcBuf32 = new ArrayBuffer(size*4);\r\nvar srcBufPtr32 = new Uint32Array(srcBuf32);\r\nvar srcBuf64 = new ArrayBuffer(size*8);\r\nvar srcBufPtr64 = new BigUint64Array(srcBuf64);\r\n\r\nfor (let i = 0; i \u003C size; i\u002B\u002B) {\r\n srcBufPtr8[i] = 100 * Math.random();\r\n}\r\nfor (let i = 0; i \u003C size; i\u002B\u002B) {\r\n srcBufPtr16[i] = srcBufPtr8[i];\r\n}\r\nfor (let i = 0; i \u003C size; i\u002B\u002B) {\r\n srcBufPtr32[i] = srcBufPtr8[i];\r\n}\r\nfor (let i = 0; i \u003C size; i\u002B\u002B) {\r\n srcBufPtr64[i] = BigInt(srcBufPtr8[i]);\r\n}","TestCases":[{"Name":"Uint8Array increment","Code":"let smallerCount = 0;\r\nfor (let i = 0; i \u003C (size-1); i\u002B\u002B) {\r\n\tif (srcBufPtr8[i] \u003C srcBufPtr8[i\u002B1]) {\r\n smallerCount\u002B\u002B;\r\n }\r\n}\r\n","IsDeferred":false},{"Name":"Uint16Array increment","Code":"let smallerCount = 0;\r\nfor (let i = 0; i \u003C (size-1); i\u002B\u002B) {\r\n\tif (srcBufPtr16[i] \u003C srcBufPtr16[i\u002B1]) {\r\n smallerCount\u002B\u002B;\r\n }\r\n}\r\n","IsDeferred":false},{"Name":"Uint32Array increment","Code":"let smallerCount = 0;\r\nfor (let i = 0; i \u003C (size-1); i\u002B\u002B) {\r\n\tif (srcBufPtr32[i] \u003C srcBufPtr32[i\u002B1]) {\r\n smallerCount\u002B\u002B;\r\n }\r\n}\r\n","IsDeferred":false},{"Name":"BigUint64Array increment","Code":"let smallerCount = 0;\r\nfor (let i = 0; i \u003C (size-1); i\u002B\u002B) {\r\n\tif (srcBufPtr64[i] \u003C srcBufPtr64[i\u002B1]) {\r\n smallerCount\u002B\u002B;\r\n }\r\n}\r\n","IsDeferred":false}]}