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

Issue 1665843002: Always build our own zlib. (Closed)

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

Description

Always build our own zlib. If we want to have an MSAN build, it'll help if we can build our own zlib so that it's instrumented by MSAN. Today we build our own zlib on Windows, but require the system to provide it elsewhere. This just makes everyone build it (except Android framework of course). This drops the SIMD files. They're only used to accelerate deflate (compression), so they're not terribly interesting to us. Again, this only really changes compression speed on Windows bots... pretty niche. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1665843002 Committed: https://skia.googlesource.com/skia/+/84b8d897c22144c52ee65fc29ca6580a5e2fcb73

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -50 lines) Patch
M gyp/zlib.gyp View 2 chunks +6 lines, -50 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1665843002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1665843002/1
4 years, 10 months ago (2016-02-03 14:44:00 UTC) #3
mtklein_C
4 years, 10 months ago (2016-02-03 14:46:17 UTC) #6
mtklein
This will have the nice side effect of breaking inflate() down into a few parts ...
4 years, 10 months ago (2016-02-03 14:54:55 UTC) #8
msarett
lgtm Nice to get a little more info on the profile :). I'm reading that ...
4 years, 10 months ago (2016-02-03 14:59:23 UTC) #9
mtklein
On 2016/02/03 14:59:23, msarett wrote: > lgtm > > Nice to get a little more ...
4 years, 10 months ago (2016-02-03 15:03:16 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1665843002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1665843002/1
4 years, 10 months ago (2016-02-03 15:03:40 UTC) #13
mtklein
On 2016/02/03 14:54:55, mtklein wrote: > This will have the nice side effect of breaking ...
4 years, 10 months ago (2016-02-03 15:05:30 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/84b8d897c22144c52ee65fc29ca6580a5e2fcb73
4 years, 10 months ago (2016-02-03 15:06:30 UTC) #16
msarett
4 years, 10 months ago (2016-02-03 15:07:36 UTC) #17
Message was sent while issue was closed.
On 2016/02/03 15:05:30, mtklein wrote:
> On 2016/02/03 14:54:55, mtklein wrote:
> > This will have the nice side effect of breaking inflate() down into a few
> parts
> > in our PNG decoding profiles:
> > 
> > Running Time	Self (ms)		Symbol Name
> > 46241.0ms   44.9%	46241.0	 	MOZ_Z_inflate_fast
> > 18527.0ms   17.9%	18527.0	 	MOZ_Z_inflate
> > 13503.0ms   13.1%	13503.0	 	MOZ_Z_adler32
> > 12327.0ms   11.9%	12327.0	 	sk_paeth4_sse2(png_row_info_struct*, unsigned
> char*,
> > unsigned char const*)
> > 3410.0ms    3.3%	3410.0	 	MOZ_Z_crc32
> > 3100.0ms    3.0%	3100.0	 	sk_avg4_sse2(png_row_info_struct*, unsigned char*,
> > unsigned char const*)
> 
> (Looking at this profile, you know what's coming next, right?)

Has to be SIMD for inflate :)

Powered by Google App Engine
This is Rietveld 408576698