RESOLVED DUPLICATE of bug 121183121270
Web Inspector: InspectorOverlayPage_html should have minified css and js
https://bugs.webkit.org/show_bug.cgi?id=121270
Summary Web Inspector: InspectorOverlayPage_html should have minified css and js
Joseph Pecoraro
Reported 2013-09-12 18:21:33 PDT
As rniwa discovered in bug 121183 these serialized files can be rather large if not compressed before being packed into the WebCore binary. We should minify the css / js in this simple HTML file. shell> symbols Release/WebCore.framework/WebCore | sed -E 's/^ *0x[0-9a-f]+ *\(( *)0x([^)]+)\)/\1\2/' | sort -r | head -n 30 ... 4880 InspectorOverlayPage_html [NameNList, MangledNameNList, NList] … This is 18.3kb. Minifying the JS and CSS we can do better.
Attachments
Radar WebKit Bug Importer
Comment 1 2013-09-12 18:21:50 PDT
Joseph Pecoraro
Comment 2 2013-09-12 18:36:22 PDT
before: 18.13k 4880 InspectorOverlayPage_html [NameNList, MangledNameNList, NList] after: 13.97k 37e0 InspectorOverlayPage_html [NameNList, MangledNameNList, NList] And just the generated size on disk: 84K InspectorOverlayPage-after.h 109K InspectorOverlayPage-before.h
Joseph Pecoraro
Comment 3 2013-09-13 13:05:14 PDT
Due to the prior failure. I just rolled this into bug 121183. *** This bug has been marked as a duplicate of bug 121183 ***
Note You need to log in before you can comment on or make changes to this bug.