The recursive tail call optimisation is wrong on closures
[WebKit-https.git] / PerformanceTests / Parser / url-parser.html
1 <!DOCTYPE html>
2 <body>
3 <script src="../resources/runner.js"></script>
4 <script>
5 var urls = PerfTestRunner.loadFile("resources/final-url-en").split("\n");
6 var anchor = document.createElement("a");
7
8 PerfTestRunner.measureRunsPerSecond({run:function() {
9     for (var x = 0; x < urls.length; x++) {
10         anchor.href = urls[x];
11     }
12 }});
13 </script>
14 </body>