d

Benchmark created on


Description

d

Preparation HTML

<script>
var obj = {test:"test"};

let des1='';
let des2='';

function test1(price) {
	for(let i = 0; i < 100000000; i++){
    	des1 = `&price=${price}`;
	}
}
function test2(price) {
	for(let i = 0; i < 100000000; i++){
    	des2 = '&price'+price;
	}
}

</script>

Test runner

Ready to run.

Testing in
TestOps/sec
1
test1(100)
ready
2
test2('100')
ready

Revisions

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