cast function (v2)

Revision 2 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
without cast function
for (let i = 0; i < 1684247; i++) {
	const value = i;
}
ready
with cast function
const cast = (value) => {
	return value;
}
for (let i = 0; i < 1684247; 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.