+ vs string.concat (v4)

Revision 4 of this benchmark created on


Preparation HTML

<script>
  var str = '',
      hello = 'Hello ',
      world = 'World ';
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
add
str = hello + world;
ready
concat
str = hello.concat(world);
ready

Revisions

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