Concatenate number with string vs fromCharCode with string

Benchmark created by Luke Ulrich on


Test runner

Ready to run.

Testing in
TestOps/sec
Concat number with string
65 + 'BCD';
ready
Concat fromCharCode with string
String.fromCharCode(65) + 'BCD';
ready

Revisions

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

  • Revision 1: published by Luke Ulrich on