mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 08:13:35 +00:00
93 lines
12 KiB
JavaScript
93 lines
12 KiB
JavaScript
|
|
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);
|