ES6 String Literals vs. Normal String (no variable)

Benchmark created on


Setup

function test(outputText) {
	console.log(outputText);
}

Test runner

Ready to run.

Testing in
TestOps/sec
ES6 String Literals
test(`abcdefghijklmnopqrstuvwxyz`);
ready
String simple quote
test('abcdefghijklmnopqrstuvwxyz');
ready
String double quote
test("abcdefghijklmnopqrstuvwxyz");
ready

Revisions

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