function range1(start, stop, step, from, to) {
if(from) {
var value = start;
}
else {
var value = start + step;
}
var length = Math.max(Math.ceil((stop - value) / step), 0);
if(to && (stop % step === start % step)) {
++length;
}
var array = Array(length);
for(var i = 0; i < length; i++, value += step) {
array[i] = value;
}
return array;
};
function range2(start, stop, step, from, to) {
var array = [];
for(var i = from ? start : start + step, l = to ? stop + 1 : stop; i < l; i += step) {
array.push(i);
}
return array;
};
function range3(start, stop, step, from, to) {
var length = (stop - start) / step;
if(length > 100) {
if(from) {
var value = start;
}
else {
var value = start + step;
}
length = Math.max(Math.ceil(length), 0);
if(to && (stop % step === start % step)) {
++length;
}
var array = Array(length);
for(var i = 0; i < length; i++, value += step) {
array[i] = value;
}
}
else {
var array = [];
for(var i = from ? start : start + step, l = to ? stop + 1 : stop; i < l; i += step) {
array.push(i);
}
}
return array;
};
range1(1, 6, 2, true, true);
range2(1, 6, 2, true, true);
range1(1, 60, 2, true, true);
range2(1, 60, 2, true, true);
range1(1, 600, 2, true, true);
range2(1, 600, 2, true, true);
range3(1, 6, 2, true, true);
range3(1, 60, 2, true, true);
range3(1, 600, 2, true, true);
--enable-precise-memory-info
flag.
Test case name | Result |
---|---|
1 - 6 | |
2 - 6 | |
1 - 60 | |
2 - 60 | |
1 - 600 | |
2 - 600 | |
3 - 6 | |
3 - 60 | |
3 - 600 |
Test name | Executions per second |
---|---|
1 - 6 | 724154.6 Ops/sec |
2 - 6 | 1957638.4 Ops/sec |
1 - 60 | 582426.7 Ops/sec |
2 - 60 | 727069.6 Ops/sec |
1 - 600 | 200080.1 Ops/sec |
2 - 600 | 81355.0 Ops/sec |
3 - 6 | 2520363.5 Ops/sec |
3 - 60 | 753157.3 Ops/sec |
3 - 600 | 200023.3 Ops/sec |
It looks like you're trying to parse a JSON string that contains data about browser executions. I'll help you extract the relevant information.
Here's the extracted data:
Browser Distribution
Operating System
Test Name
Executions Per Second
Please note that the data is quite specific and limited, with only one browser type (Chrome) and a single operating system (Mac OS X 10.11.6).