5131705061

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
1
function z() {
	const a = Math.floor(Math.random() * (10000 - 1000)) + 1000;
	const b = Math.floor(Math.random() * (10000 - 1000)) + 1000;
	
	const x = a + b * a - b / a ** b;
	return x;
}

for (let i = 0; i < 10000; i++) {
	z();
}
ready
2
let a;
let b;
let x;

function z() {
	a = Math.floor(Math.random() * (10000 - 1000)) + 1000;
	b = Math.floor(Math.random() * (10000 - 1000)) + 1000;
	
	x = a + b * a - b / a ** b;
	return x;
}

for (let i = 0; i < 10000; i++) {
	z();
}
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.