gecko-dev/js/benchmarks/math_bench.js

93 строки
12 KiB
JavaScript
Исходник Обычный вид История

var total="";
1999-06-04 22:44:17 +04:00
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);