4 <title>Performance tester for non-overlaping
3D layers
</title>
9 border:
1px solid #AAA;
11 -webkit-perspective:
400px;
19 -webkit-transform: translateZ( -
200px );
22 <script src=
"../resources/runner.js"></script>
27 function createTestFunction(count
) {
29 var container
= document
.createElement("div");
30 for(i
= 0; i
< count
; ++i
) {
31 var outer
= document
.createElement('div');
32 outer
.className
= 'container';
33 var inner
= document
.createElement('div');
34 inner
.className
= 'box';
35 outer
.appendChild(inner
);
36 container
.appendChild(outer
);
38 document
.body
.appendChild(container
);
39 PerfTestRunner
.forceLayoutOrFullFrame();
43 PerfTestRunner
.measureTime({
44 description
: "Measures performance of non-overlapping 3D layers.",
45 run
: createTestFunction(5000)