concat/join-with-push/join-without-push (v64)

Revision 64 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
concat
for (var res = '', i = 0; i < 100; i++) {
  res += 'nobr { font-size: 14px; color: #f6f6f6; font-style: italic; text-shadow: none; }\n';
}
ready
join-with-push
for (var res = [], i = 0; i < 100; i++) {
  res.push('nobr { font-size: 14px; color: #f6f6f6; font-style: italic; text-shadow: none; }\n');
}
res = res.join('');
ready
join-without-push
for (var res = [], i = 0; i < 100; i++) {
  res[i] = 'nobr { font-size: 14px; color: #f6f6f6; font-style: italic; text-shadow: none; }\n';
}
res = res.join('');
ready

Revisions

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