fix number type
This commit is contained in:
parent
604a544978
commit
b08e254f2f
|
@ -1,7 +1,7 @@
|
||||||
const runs = 10;
|
const runs = 10;
|
||||||
|
|
||||||
function measureOneLine() {
|
function measureOneLine() {
|
||||||
const LINE_SIZE = 32; // 128/sizeof(int)
|
const LINE_SIZE = 16; // 128/sizeof(double) Note that js treats all numbers as double
|
||||||
let result = [];
|
let result = [];
|
||||||
|
|
||||||
// Fill with -1 to ensure allocation
|
// Fill with -1 to ensure allocation
|
||||||
|
|
Loading…
Reference in New Issue