cast function

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
without cast function
for (let i = 0; i < 1677704; i++) {
	const value = i;
}
ready
with cast function
const cast = (value) => {
	return value;
}
for (let i = 0; i < 1677704; i++) {
	const value = cast(i);
}
ready

Revisions

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