string literals with different symbols

Benchmark created on


Description

compares performance of string instantiation using backticks and using traditional quote characters

Test runner

Ready to run.

Testing in
TestOps/sec
string defined using backticks
const str = `124078904ghjasvbifh10924h01h4ujb141`;
ready
string defined using single-quotes
const str = '124078904ghjasvbifh10924h01h4ujb141';
ready
string defined using double-quotes
const str = "124078904ghjasvbifh10924h01h4ujb141";
ready

Revisions

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