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

Issue 1030263003: pdf skp tabl_worldjournal.skp took 5 days to run on Valgrind (Closed)

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

Description

pdf skp tabl_worldjournal.skp took 5 days to run on Valgrind #notry BUG=skia: NOTRY=true Committed: https://skia.googlesource.com/skia/+/ce866873102e70421d9e532f19cf56905482054e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M tools/dm_flags.json View 2 chunks +6 lines, -0 lines 0 comments Download
M tools/dm_flags.py View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (3 generated)
mtklein
lgtm
5 years, 9 months ago (2015-03-26 12:11:50 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1030263003/1
5 years, 9 months ago (2015-03-26 12:12:05 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/ce866873102e70421d9e532f19cf56905482054e
5 years, 9 months ago (2015-03-26 12:12:17 UTC) #5
borenet
Ouch. LGTM
5 years, 9 months ago (2015-03-26 12:12:31 UTC) #6
reed1
have we profiled to understand what this site is triggering in our code?
5 years, 9 months ago (2015-03-26 12:58:14 UTC) #8
mtklein
On 2015/03/26 12:58:14, reed1 wrote: > have we profiled to understand what this site is ...
5 years, 9 months ago (2015-03-26 13:15:08 UTC) #9
mtklein
5 years, 9 months ago (2015-03-26 13:16:20 UTC) #10
Message was sent while issue was closed.
On 2015/03/26 13:15:08, mtklein wrote:
> On 2015/03/26 12:58:14, reed1 wrote:
> > have we profiled to understand what this site is triggering in our code?
> 
> On my laptop, I see ~55% of the time consumed by compressing the PDF catalog,
> and the next ~35% is font-related: deserializing the fonts from the SKP,
getting
> their metrics.
> 
> We have a known open issue around not doing font subsetting in PDF on our
bots. 
> That's likely a contributor here, both making the catalog much larger than it
> needs to be and generally overstressing our font code.
> 
> Profiling when running under Valgrind itself doesn't showing anything useful
(no
> symbols).  I'd assume same there, but much slower.

That all said, this takes about 1.5s to run in Release normally, and about 30s
to run in Release under Valgrind.  Something really wonky's going on to make it
to run for 5 days.

Powered by Google App Engine
This is Rietveld 408576698