fromCharCode ranges

Benchmark created by Devyn Cairns on


Test runner

Ready to run.

Testing in
TestOps/sec
0-127 (7-bit) only
String.fromCharCode(2);
String.fromCharCode(64);
String.fromCharCode(123);
ready
128-255 (8-bit) only
String.fromCharCode(134);
String.fromCharCode(190);
String.fromCharCode(234);
ready
256-65535 (16-bit; full UTF-16 range)
String.fromCharCode(5678);
String.fromCharCode(8210);
String.fromCharCode(16378);
ready

Revisions

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

  • Revision 1: published by Devyn Cairns on