Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1880)

Issue 497493003: Add --bbh (default true) to nanobench. (Closed)

Created:
6 years, 4 months ago by mtklein_C
Modified:
6 years, 4 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Add --bbh (default true) to nanobench. Chrome's using a bounding box, so it's a good idea for our bots to do so too. When set, we'll create an SkTileGrid to match the parameters of --clip, and so should always hit its fast path. This will impose a small overhead (querying the BBH) on all SKPs, but make large SKPs render more quickly. E.g. on GPU desk_pokemonwiki should show about a 30% improvement, tabl_mozilla about 40%, and one very long page from my personal suite, askmefast.com, gets 5x faster. (The performance changes are not the point of the CL, but something we should be aware of.) BUG= Committed: https://skia.googlesource.com/skia/+/2084050a33ae139d0fe9bb680f7905f91139a39f

Patch Set 1 #

Patch Set 2 : Revert SkRecordDraw.cpp in favor of crrev.com/497493003. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -1 line) Patch
M bench/nanobench.cpp View 3 chunks +18 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
mtklein
6 years, 4 months ago (2014-08-21 21:00:19 UTC) #1
bsalomon
lgtm
6 years, 4 months ago (2014-08-21 21:42:09 UTC) #2
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 4 months ago (2014-08-21 22:43:57 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/497493003/20001
6 years, 4 months ago (2014-08-21 22:44:53 UTC) #4
commit-bot: I haz the power
6 years, 4 months ago (2014-08-21 22:51:27 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (20001) as 2084050a33ae139d0fe9bb680f7905f91139a39f

Powered by Google App Engine
This is Rietveld 408576698