Commit 9b6223e3 authored by akling@apple.com's avatar akling@apple.com

Import a fresh version of the full HTML5 spec for perf testing.

Rubber-stamped by Antti Koivisto.

* Parser/HTML5-8266-FullRender.html: Added.
* Parser/HTML5-8266-ParseOnly.html: Added.
* Parser/resources/html5-8266.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d2d6baf8
2013-11-12 Andreas Kling <akling@apple.com>
Import a fresh version of the full HTML5 spec for perf testing.
Rubber-stamped by Antti Koivisto.
* Parser/HTML5-8266-FullRender.html: Added.
* Parser/HTML5-8266-ParseOnly.html: Added.
* Parser/resources/html5-8266.html: Added.
2013-11-09 Antti Koivisto <antti@apple.com>
Add subtest for word-break:break-all to Layout/line-layout-simple.html
......
<!DOCTYPE html>
<body>
<script src="../resources/runner.js"></script>
<script>
// Running from the onload callback just makes the UI nicer as it shows the logs before starting the test.
window.onload = function() {
PerfTestRunner.measurePageLoadTime({path: "resources/html5-8266.html",
chunkSize: 750000 }); // 6.93mb / 750k = approx 10 chunks (thus 10 forced layouts/style resolves).
}
</script>
</body>
<!DOCTYPE html>
<body>
<script src="../resources/runner.js"></script>
<script>
var spec = PerfTestRunner.loadFile("resources/html5-8266.html");
PerfTestRunner.measureTime({run: function() {
var iframe = document.createElement("iframe");
iframe.style.display = "none"; // Prevent creation of the rendering tree, so we only test HTML parsing.
iframe.sandbox = ''; // Prevent external script loads which could cause write() to return before completing the parse.
document.body.appendChild(iframe);
iframe.contentDocument.open();
iframe.contentDocument.write(spec);
iframe.contentDocument.close();
document.body.removeChild(iframe);
}});
</script>
</body>
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment