String interning

Benchmark created by Norman P. on


Description

Check string interning capability

Setup

var myString = "a string";
    var myObject = new Object();
    var myObject2 = {};

Test runner

Ready to run.

Testing in
TestOps/sec
String comp
myString == "a string";
ready
Object 1 comp
myObject == myObject;
ready

Revisions

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

  • Revision 1: published by Norman P. on
  • Revision 4: published by Sandro Hawke on
  • Revision 5: published by Sandro Hawke on
  • Revision 6: published on