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

Issue 214003005: Compact JS resource better. (Closed)

Created:
6 years, 8 months ago by Daniel Bratell
Modified:
6 years, 5 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Compact JS resource better. Some code written in JavaScript used about 100KB of binary size. Part of it was unnecessary whitespace so this will compact whitespace harder than before. BUG=312586 BUG=359583

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -4 lines) Patch
M Source/web/scripts/make-file-arrays.py View 4 chunks +88 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Daniel Bratell
This is a stab at making the binary slightly smaller (10 KB or so) by ...
6 years, 8 months ago (2014-04-03 15:06:15 UTC) #1
abarth-chromium
Can we move these resources out of the binary into the resource bundle? Chromium has ...
6 years, 8 months ago (2014-04-03 15:53:26 UTC) #2
abarth-chromium
lgtm
6 years, 8 months ago (2014-04-03 15:53:47 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bratell@opera.com/214003005/1
6 years, 8 months ago (2014-04-03 15:53:51 UTC) #4
abarth-chromium
Sorry, not lgtm. I didn't mean to click that button :(
6 years, 8 months ago (2014-04-03 15:54:11 UTC) #5
abarth-chromium
The CQ bit was unchecked by abarth@chromium.org
6 years, 8 months ago (2014-04-03 15:54:14 UTC) #6
abarth-chromium
Oh man, I've really made a mess of your CL. Sorry. :( I'm not really ...
6 years, 8 months ago (2014-04-03 15:55:01 UTC) #7
Daniel Bratell
On 2014/04/03 15:55:01, abarth wrote: > Oh man, I've really made a mess of your ...
6 years, 8 months ago (2014-04-03 17:59:33 UTC) #8
pdr.
On 2014/04/03 17:59:33, Daniel Bratell wrote: > On 2014/04/03 15:55:01, abarth wrote: > > Oh ...
6 years, 8 months ago (2014-04-03 19:58:44 UTC) #9
Daniel Bratell
On 2014/04/03 19:58:44, pdr wrote: > On 2014/04/03 17:59:33, Daniel Bratell wrote: > > On ...
6 years, 8 months ago (2014-04-03 21:10:39 UTC) #10
pdr.
On 2014/04/03 21:10:39, Daniel Bratell wrote: > On 2014/04/03 19:58:44, pdr wrote: > > On ...
6 years, 8 months ago (2014-04-03 21:24:19 UTC) #11
Nils Barth (inactive)
Hi Daniel, As Adam and Philip note, we'd prefer to do this by using GRD ...
6 years, 8 months ago (2014-04-04 02:23:29 UTC) #12
Daniel Bratell
On 2014/04/04 02:23:29, Nils Barth wrote: > Hi Daniel, > As Adam and Philip note, ...
6 years, 8 months ago (2014-04-25 09:51:31 UTC) #13
abarth-chromium
6 years, 8 months ago (2014-04-25 16:14:38 UTC) #14
On 2014/04/25 09:51:31, Daniel Bratell wrote:
> Converting to grd doesn't seem straight forward. And the documentation is
mostly
> about how to store translatable strings, not javascript programs that need
> minimizing.

We use GRD for lots of JavaScript resources. If GRD doesn't understand
minimization, we should teach it.  That will benefit the entire project whereas
rolling a Blink-only solution just makes it harder to do the right thing in the
end.

Powered by Google App Engine
This is Rietveld 408576698