Title: [144704] trunk/PerformanceTests
- Revision
- 144704
- Author
- [email protected]
- Date
- 2013-03-04 17:58:41 -0800 (Mon, 04 Mar 2013)
Log Message
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.
Modified Paths
Added Paths
Diff
Modified: trunk/PerformanceTests/ChangeLog (144703 => 144704)
--- trunk/PerformanceTests/ChangeLog 2013-03-05 01:54:34 UTC (rev 144703)
+++ trunk/PerformanceTests/ChangeLog 2013-03-05 01:58:41 UTC (rev 144704)
@@ -1,3 +1,19 @@
+2013-03-04 Eric Seidel <[email protected]>
+
+ 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 <[email protected]>
Some perf. tests have variances that differ greatly between runs
Added: trunk/PerformanceTests/DOM/README (0 => 144704)
--- trunk/PerformanceTests/DOM/README (rev 0)
+++ trunk/PerformanceTests/DOM/README 2013-03-05 01:58:41 UTC (rev 144704)
@@ -0,0 +1 @@
+Do not touch this directory without talking to [email protected]. He has opinions.
Added: trunk/PerformanceTests/Parser/iframe-append-remove.html (0 => 144704)
--- trunk/PerformanceTests/Parser/iframe-append-remove.html (rev 0)
+++ trunk/PerformanceTests/Parser/iframe-append-remove.html 2013-03-05 01:58:41 UTC (rev 144704)
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<body>
+<script src=""
+<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>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes