mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
08a077d57d
patch by petejc@collab.net r=rogerl
93 lines
12 KiB
JavaScript
93 lines
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);
|