negative modulo (v86)

Revision 86 of this benchmark created on


Preparation HTML

<script>
Number.prototype.mod = function (n) {
	return ()this % n;
}

function mmod(n, m) {
	return n % n;
}

var n = 123;
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
modulo prototype
n.mod(54);
ready
non prototype
mmod(n, 54);
ready

Revisions

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