Commit 3303e622 authored by eric@webkit.org's avatar eric@webkit.org

Add PerformanceTest for document startup via iframe append/remove

https://bugs.webkit.org/show_bug.cgi?id=111389

Reviewed by Kentaro Hara.

We'd like pages with lots of iframes to be fast.
This test shows that at least for V8/Chromium we spend
all our time booting v8.

On my 32-core linux machine I see about 70 runs/sec in
Release and 5 runs/sec in Debug.

* DOM/iframe-append-remove.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 525315e7
2013-03-04 Eric Seidel <eric@webkit.org>
Add PerformanceTest for document startup via iframe append/remove
https://bugs.webkit.org/show_bug.cgi?id=111389
Reviewed by Kentaro Hara.
We'd like pages with lots of iframes to be fast.
This test shows that at least for V8/Chromium we spend
all our time booting v8.
On my 32-core linux machine I see about 70 runs/sec in
Release and 5 runs/sec in Debug.
* DOM/iframe-append-remove.html: Added.
2013-03-03 Ryosuke Niwa <rniwa@webkit.org>
Some perf. tests have variances that differ greatly between runs
......
Do not touch this directory without talking to rniwa@apple.com. He has opinions.
<!DOCTYPE html>
<html>
<body>
<script src="../resources/runner.js"></script>
<script>
PerfTestRunner.measureRunsPerSecond({
description: "This benchmark tests adding/removing an iframe from the DOM",
run: function() {
var iframe = document.createElement("iframe");
document.body.appendChild(iframe);
document.body.removeChild(iframe);
}});
</script>
</body>
</html>
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