Bug 26272 - stop bundling the web inspector files for nightly builds
Summary: stop bundling the web inspector files for nightly builds
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2009-06-09 07:21 PDT by Patrick Mueller
Modified: 2014-01-13 13:04 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Mueller 2009-06-09 07:21:18 PDT
I noticed with the Safari 4.0 drop, that the inspector files are not bundled the way that they are in the nightly builds.  ie, there are many small files instead of a singular inspector.js file.  That was true for the Safari 4.0 beta as well; namely, that the inspector files were unbundled instead of bundled.

Not sure what the real advantage to having the files bundled is, for the nightly.  It's actually a pain in the rear when debugging the debugger.  I've resorted to a script which replaces the files in the inspector directory with the relevant unbundled files from a source drop.

I'll fix the build script to stop bundling (found it at one point), but I thought I'd double check and see if there was some good reason to have the big bundled inspector.js in the nightly builds.
Comment 1 Mark Rowe (bdash) 2009-06-09 11:06:40 PDT
It's probably more interesting to look in to why they're not being bundled in that fashion in production builds.
Comment 2 Patrick Mueller 2009-06-11 10:45:45 PDT
It may be more interesting question for Apple developers, sure.  Open up a radar report or whatever.  ;-)

But for WebKit, and nightlies in particular, I'd like to argue to stop bundling.  The downside must be quite small, in shipping unbundled, since that's what Safari is currently doing.  The upside to shipping unbundled is that it makes developer's lives much easier.
Comment 3 Joseph Pecoraro 2009-06-19 21:21:22 PDT
Just as a general observer:
How does unbundled affect load time performance of the inspector?  I don't know how differently the Inspector is treated other then a regular webpage, or if the file:// URL is treated differently.  Is it possible that WebKit can parallize the unbundled files, or is it like a webpage where many requests slow down initial load times?  These are just questions, it seems to load just as fast in Safari 4 as the WebKit nightly.  Inspecting the inspector in both Safari and WebKit show rather different load times of the different resources so I figured it would be worth pointing out.
Comment 4 Timothy Hatcher 2009-07-05 22:51:04 PDT
The files were bundles initially to help load time of the Inspector. It was noticable. But it could help debug the nightlies too…
Comment 5 Patrick Mueller 2009-07-21 07:29:32 PDT
Also see Comment 17 in Bug 26316 for additional issues the bundling is causing.
Comment 6 Timothy Hatcher 2009-07-21 09:14:43 PDT
It is curious why they are not bundled in Productiosn builds. I inteneded to bundle them for Release and Production.
Comment 7 Radar WebKit Bug Importer 2014-01-12 15:58:37 PST
<rdar://problem/15801457>
Comment 8 Timothy Hatcher 2014-01-13 13:04:01 PST
I don't think this is worth doing. We combine resources for performance, and some developers live on the nightly need the Inspector to be fast. Debugging the Inspector via a nightly is not that common.