REOPENED 206720
Break the dependency between jsc and DerivedSources
https://bugs.webkit.org/show_bug.cgi?id=206720
Summary Break the dependency between jsc and DerivedSources
Robin Morisset
Reported 2020-01-23 17:18:17 PST
According to Tadeu, the slowdown of production builds (by more than 20%) when he landed his bytecode patch was caused by a new dependency of the jsc binary on DerivedSources/, which was needed because of DerivedSources/BytecodeStructs.h being included in CommonSlowPaths.h which is transitively included in jsc.cpp. Now that BytecodeStructs.h is no longer included in CommonSlowPaths.cpp (see https://bugs.webkit.org/show_bug.cgi?id=206566), I'd like to see if the dependency can be safely removed, to recover this compile time regression.
Attachments
Patch (3.38 KB, patch)
2020-01-23 17:27 PST, Robin Morisset
mark.lam: review+
mark.lam: commit-queue-
Patch (3.37 KB, patch)
2020-01-23 20:08 PST, Robin Morisset
no flags
Robin Morisset
Comment 1 2020-01-23 17:27:46 PST
Mark Lam
Comment 2 2020-01-23 20:03:59 PST
Comment on attachment 388627 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=388627&action=review > Source/JavaScriptCore/ChangeLog:9 > + Now that BytecodeStructs.h is no longer included in CommonSlowPaths.cpp (see https://bugs.webkit.org/show_bug.cgi?id=206566), I'm trying to break the dependency, to recover from this compile time regression. I think you mean CommonSlowPaths.h here.
Robin Morisset
Comment 3 2020-01-23 20:06:30 PST
(In reply to Mark Lam from comment #2) > Comment on attachment 388627 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=388627&action=review > > > Source/JavaScriptCore/ChangeLog:9 > > + Now that BytecodeStructs.h is no longer included in CommonSlowPaths.cpp (see https://bugs.webkit.org/show_bug.cgi?id=206566), I'm trying to break the dependency, to recover from this compile time regression. > > I think you mean CommonSlowPaths.h here. Yes, it was a typo
Robin Morisset
Comment 4 2020-01-23 20:08:25 PST
Created attachment 388646 [details] Patch Fixed the typo in the changelog.
WebKit Commit Bot
Comment 5 2020-01-23 20:52:34 PST
Comment on attachment 388646 [details] Patch Clearing flags on attachment: 388646 Committed r255052: <https://trac.webkit.org/changeset/255052>
WebKit Commit Bot
Comment 6 2020-01-23 20:52:36 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7 2020-01-23 20:53:13 PST
WebKit Commit Bot
Comment 8 2020-01-24 09:55:10 PST
Re-opened since this is blocked by bug 206758
Note You need to log in before you can comment on or make changes to this bug.