int vs string

Benchmark created on


Preparation HTML

		

Test runner

Ready to run.

Testing in
TestOps/sec
int
const a = 1

for (let i = 0; i < 1000; i++)
{
	a == 1;	
}
ready
string
const a = "one"

for (let i = 0; i < 1000; i++)
{
	a == "one";
}
ready

Revisions

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