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

Issue 2230323002: In recording benches, record to and from the same format. (Closed)

Created:
4 years, 4 months ago by mtklein_C
Modified:
4 years, 4 months ago
Reviewers:
reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

In recording benches, record to and from the same format. The recording bench must record some source material into some sort of display list, and fundamentally cannot separate the timing of the two. This CL makes it so the source material and display list are of the same type. So instead of previous: --nolite: SkRecord-based picture -> SkRecord-based picture --lite: SkRecord-based picture -> threadsafe SkLiteDL Now this times --nolite: SkRecord-based picture -> SkRecord-based picture --lite: SkLiteDL -> threadsafe SkLiteDL This makes it easier to profile SkLiteDL and explore both recording and playback overhead hot spots. The threadsafety is incidental for the source (and doesn't affect playback speed), but I think it's handy to keep around on the destination to make a more fair comparison. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2230323002 Committed: https://skia.googlesource.com/skia/+/1d65fe293241cfeb405b1724371d6c532bcee55f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -5 lines) Patch
M bench/RecordingBench.h View 2 chunks +2 lines, -1 line 0 comments Download
M bench/RecordingBench.cpp View 2 chunks +11 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
mtklein_C
4 years, 4 months ago (2016-08-10 16:00:54 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2230323002/1
4 years, 4 months ago (2016-08-10 16:00:59 UTC) #6
reed1
lgtm
4 years, 4 months ago (2016-08-10 19:08:51 UTC) #7
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 19:09:37 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/1d65fe293241cfeb405b1724371d6c532bcee55f

Powered by Google App Engine
This is Rietveld 408576698