gecko-dev/js/benchmarks/math_bench.js

93 строки
12 KiB
JavaScript

var total="";
print("math_bench");
function math_V()
{
var a = 100;
var b = 2;
var c = 5;
var d = 2;
var e = 1000;
var t;
var startTime = new Date();
for (var i = 0; i < 5000; i++) {
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
}
var elapsedTime = (new Date()).getTime() - startTime.getTime();
print("math_V : " + elapsedTime);
total += elapsedTime;
}
function math_P(a, b, c, d, e)
{
var t;
var startTime = new Date();
for (var i = 0; i < 5000; i++) {
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e; t = a - b * c / d % e;
}
var elapsedTime = (new Date()).getTime() - startTime.getTime();
print("math_P : " + elapsedTime);
total += elapsedTime;
}
var a = 100;
var b = 2;
var c = 5;
var d = 2;
var e = 1000;
math_V();
math_P(a, b, c, d, e);