| Index: tools/perf/page_sets/tough_canvas_cases/rendering_throughput/canvas_lines.html
|
| diff --git a/tools/perf/page_sets/tough_canvas_cases/rendering_throughput/canvas_arcs.html b/tools/perf/page_sets/tough_canvas_cases/rendering_throughput/canvas_lines.html
|
| similarity index 70%
|
| copy from tools/perf/page_sets/tough_canvas_cases/rendering_throughput/canvas_arcs.html
|
| copy to tools/perf/page_sets/tough_canvas_cases/rendering_throughput/canvas_lines.html
|
| index e2598d2697ede34fedad1019fa045a50ee0077de..38b506740dfa67c714c7fe0c183dc3ccb5acaa81 100644
|
| --- a/tools/perf/page_sets/tough_canvas_cases/rendering_throughput/canvas_arcs.html
|
| +++ b/tools/perf/page_sets/tough_canvas_cases/rendering_throughput/canvas_lines.html
|
| @@ -5,8 +5,7 @@
|
| <body>
|
| <canvas id="canvas" width="800" height="600">
|
| <script type="text/javascript" src="bench.js"></script>
|
| -<script type="text/javascript" src="canvas_arcs.js"></script>
|
| -
|
| +<script type="text/javascript" src="canvas_lines.js"></script>
|
|
|
| <script type="text/javascript">
|
| window.onload = init;
|
| @@ -18,17 +17,16 @@ function init() {
|
| canvas = document.getElementById('canvas');
|
| context = canvas.getContext('2d');
|
|
|
| - num_arcs = 1000;
|
| - arc_speed = 2;
|
| - arcs.init(num_arcs, arc_speed, 800, 600);
|
| - arcs.draw(context);
|
| + num_lines = 3000;
|
| + stage_lines.init(num_lines, 800, 600);
|
| + stage_lines.draw(context);
|
|
|
| bench.run(draw);
|
| }
|
|
|
| function draw() {
|
| context.clearRect(0, 0, 800, 600);
|
| - arcs.draw(context);
|
| + stage_lines.draw(context);
|
| };
|
|
|
| </script>
|
|
|