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

Issue 702473004: Add tracing to the SkCanvas drawFoo() methods to find long draw ops. (Closed)

Created:
6 years, 1 month ago by danakj
Modified:
6 years, 1 month ago
Reviewers:
bsalomon, mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Add tracing to the SkCanvas drawFoo() methods to find long draw ops. BUG=skia:3088 Committed: https://skia.googlesource.com/skia/+/8f757f540a8378c7b1354aab3d4650eaa920b17a

Patch Set 1 #

Total comments: 2

Patch Set 2 : canvas-tracing: fixmac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -0 lines) Patch
M src/core/SkCanvas.cpp View 1 26 chunks +34 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (7 generated)
danakj
These traces were essential to track down why raster is slow in https://code.google.com/p/chromium/issues/detail?id=428296 . And ...
6 years, 1 month ago (2014-11-03 20:10:18 UTC) #2
bsalomon
lgtm, but wondering if we want this in the canvas, device, or both.
6 years, 1 month ago (2014-11-03 21:30:48 UTC) #3
reed1
what is the perf overhead of the calls? Is this of any real value in ...
6 years, 1 month ago (2014-11-03 21:38:23 UTC) #4
reed1
I wonder if this info can be gotten via a custom canvas that performs the ...
6 years, 1 month ago (2014-11-04 00:59:53 UTC) #6
danakj
On 2014/11/03 21:38:23, reed1 wrote: > what is the perf overhead of the calls? Is ...
6 years, 1 month ago (2014-11-04 15:47:16 UTC) #7
reed1
On 2014/11/04 15:47:16, danakj wrote: > On 2014/11/03 21:38:23, reed1 wrote: > > what is ...
6 years, 1 month ago (2014-11-04 15:50:37 UTC) #8
reed1
On 2014/11/04 15:50:37, reed1 wrote: > On 2014/11/04 15:47:16, danakj wrote: > > On 2014/11/03 ...
6 years, 1 month ago (2014-11-04 15:54:31 UTC) #9
mtklein
On 2014/11/04 15:54:31, reed1 wrote: > On 2014/11/04 15:50:37, reed1 wrote: > > On 2014/11/04 ...
6 years, 1 month ago (2014-11-04 16:01:18 UTC) #10
enne (OOO)
From http://www.chromium.org/developers/how-tos/trace-event-profiling-tool/tracing-event-instrumentation: "Trace macros are very low overhead. When tracing is not turned on, trace ...
6 years, 1 month ago (2014-11-04 17:54:56 UTC) #11
reed1
that sounds like a good result. if our nanobenches reflect that (inc. our picture recording ...
6 years, 1 month ago (2014-11-04 18:00:49 UTC) #12
danakj
On 2014/11/04 17:54:56, enne wrote: > From > http://www.chromium.org/developers/how-tos/trace-event-profiling-tool/tracing-event-instrumentation: > > "Trace macros are very ...
6 years, 1 month ago (2014-11-04 18:02:40 UTC) #13
danakj
AFTER: mega:skia [] (canvas-tracing)% ./out/Release/nanobench --threads 2 -m picture_playback Timer overhead: 23.2ns maxrss loops min ...
6 years, 1 month ago (2014-11-04 18:02:55 UTC) #14
danakj
On 2014/11/04 18:00:49, reed1 wrote: > that sounds like a good result. if our nanobenches ...
6 years, 1 month ago (2014-11-04 18:03:14 UTC) #15
danakj
On 2014/11/04 18:03:14, danakj wrote: > On 2014/11/04 18:00:49, reed1 wrote: > > that sounds ...
6 years, 1 month ago (2014-11-04 18:05:13 UTC) #16
reed1
On 2014/11/04 18:05:13, danakj wrote: > On 2014/11/04 18:03:14, danakj wrote: > > On 2014/11/04 ...
6 years, 1 month ago (2014-11-04 18:07:59 UTC) #17
mtklein
On 2014/11/04 18:07:59, reed1 wrote: > On 2014/11/04 18:05:13, danakj wrote: > > On 2014/11/04 ...
6 years, 1 month ago (2014-11-04 18:10:37 UTC) #18
mtklein
On 2014/11/04 18:10:37, mtklein wrote: > On 2014/11/04 18:07:59, reed1 wrote: > > On 2014/11/04 ...
6 years, 1 month ago (2014-11-04 18:25:54 UTC) #19
danakj
This is what I see on my desktop: tabl_hsfi.skp 365us -> 480us 1.3x desk_tigersvg.skp 124us ...
6 years, 1 month ago (2014-11-04 18:56:11 UTC) #20
mtklein
I'm really skeptical of our bench results. It's way larger an effect than I'd expect, ...
6 years, 1 month ago (2014-11-04 19:01:03 UTC) #21
danakj
Here's the results from my N4 device: desk_chalkboard.skp 7.83ms -> 8.94ms 1.1x tabl_gamedeksiam.skp 5.71ms -> ...
6 years, 1 month ago (2014-11-04 19:15:42 UTC) #22
mtklein
On 2014/11/04 19:15:42, danakj wrote: > Here's the results from my N4 device: > > ...
6 years, 1 month ago (2014-11-04 19:20:30 UTC) #23
mtklein
https://codereview.chromium.org/702473004/diff/1/src/core/SkCanvas.cpp File src/core/SkCanvas.cpp (right): https://codereview.chromium.org/702473004/diff/1/src/core/SkCanvas.cpp#newcode1743 src/core/SkCanvas.cpp:1743: TRACE_EVENT1("skia", "SkCanvas::drawPoints()", "count", count); I had to drop count ...
6 years, 1 month ago (2014-11-04 19:21:37 UTC) #25
danakj
https://codereview.chromium.org/702473004/diff/1/src/core/SkCanvas.cpp File src/core/SkCanvas.cpp (right): https://codereview.chromium.org/702473004/diff/1/src/core/SkCanvas.cpp#newcode1743 src/core/SkCanvas.cpp:1743: TRACE_EVENT1("skia", "SkCanvas::drawPoints()", "count", count); On 2014/11/04 19:21:37, mtklein wrote: ...
6 years, 1 month ago (2014-11-04 19:25:30 UTC) #26
mtklein
On 2014/11/04 19:21:37, mtklein wrote: > https://codereview.chromium.org/702473004/diff/1/src/core/SkCanvas.cpp > File src/core/SkCanvas.cpp (right): > > https://codereview.chromium.org/702473004/diff/1/src/core/SkCanvas.cpp#newcode1743 > ...
6 years, 1 month ago (2014-11-04 19:27:10 UTC) #27
danakj
PTAL hopefully this fixes mac
6 years, 1 month ago (2014-11-04 19:36:17 UTC) #28
danakj
On 2014/11/04 19:36:17, danakj wrote: > PTAL hopefully this fixes mac Looks like it did.
6 years, 1 month ago (2014-11-04 19:37:47 UTC) #29
mtklein
On 2014/11/04 19:37:47, danakj wrote: > On 2014/11/04 19:36:17, danakj wrote: > > PTAL hopefully ...
6 years, 1 month ago (2014-11-04 19:40:10 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/702473004/20001
6 years, 1 month ago (2014-11-04 19:40:51 UTC) #32
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 1 month ago (2014-11-04 19:40:52 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/702473004/20001
6 years, 1 month ago (2014-11-04 19:42:11 UTC) #37
commit-bot: I haz the power
6 years, 1 month ago (2014-11-04 19:48:47 UTC) #38
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 8f757f540a8378c7b1354aab3d4650eaa920b17a

Powered by Google App Engine
This is Rietveld 408576698