OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 #include "Benchmark.h" | 7 #include "Benchmark.h" |
8 #include "SkCanvas.h" | 8 #include "SkCanvas.h" |
9 #include "SkPaint.h" | 9 #include "SkPaint.h" |
10 #include "SkString.h" | 10 #include "SkString.h" |
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 SkASSERT(bounds.bottom()-bounds.top() >= H); | 486 SkASSERT(bounds.bottom()-bounds.top() >= H); |
487 } | 487 } |
488 | 488 |
489 | 489 |
490 private: | 490 private: |
491 typedef Benchmark INHERITED; | 491 typedef Benchmark INHERITED; |
492 }; | 492 }; |
493 | 493 |
494 // Disabled this benchmark: it takes 15x longer than any other benchmark | 494 // Disabled this benchmark: it takes 15x longer than any other benchmark |
495 // and is probably not giving us important information. | 495 // and is probably not giving us important information. |
496 // DEF_BENCH(return SkNEW(ScrollGmailBench)); | 496 // DEF_BENCH(return new ScrollGmailBench); |
OLD | NEW |