diff options
Diffstat (limited to 'PerformanceTests/Parser/url-parser.html')
-rw-r--r-- | PerformanceTests/Parser/url-parser.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/PerformanceTests/Parser/url-parser.html b/PerformanceTests/Parser/url-parser.html new file mode 100644 index 0000000..bd54e0c --- /dev/null +++ b/PerformanceTests/Parser/url-parser.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<body> +<pre id="log"></pre> +<script src="resources/runner.js"></script> +<script> +var urls = loadFile("resources/final-url-en").split("\n"); +var anchor = document.createElement("a"); + +start(20, function() { + for (var x = 0; x < urls.length; x++) { + anchor.href = urls[x]; + } +}); +</script> +</body> |