int vs bool (v2)

Revision 2 of this benchmark created on


Setup

function foo() {
	return Math.PI
}

Test runner

Ready to run.

Testing in
TestOps/sec
int
if (1 + 0) foo()
ready
bool
if (true + false) foo()
ready

Revisions

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