int vs bool

Benchmark created on


Setup

function foo() {
	return Math.PI
}

Test runner

Ready to run.

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

Revisions

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