| Summary: | [CMake] Build with Debug Fission on by default on Debug builds | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> | ||||
| Component: | WebKitGTK | Assignee: | Carlos Alberto Lopez Perez <clopez> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | achristensen, cgarcia, gyuyoung.kim, mcatanzaro, mrobinson, ossy, zan | ||||
| Priority: | P2 | ||||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | 131177, 149161 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Carlos Alberto Lopez Perez
2015-08-31 11:08:18 PDT
Some more stats: * Rebuilding the Debug build from ccache without Debug fission: - Time to build = 06m:42s - Size of WebKitBuild/Debug = 16GB * Rebuilding the Debug build from ccache with Debug fission: - Time to build = 04m:05s - Size of WebKitBuild/Debug = 8.9G The time to build is mostly linking time, since I'm rebuilding from previously generated ccache DB. And this is on a system with an SSD. On a system with a rotational media it will probably improve build times further. Its also nice that the size of the build output has been reduced (almost to half). This will help to save disk space also. Created attachment 260302 [details]
Patch
Can you comment on compiler requirements? Does our minimum supported compiler also support debug fission? (In reply to comment #3) > Can you comment on compiler requirements? Does our minimum supported > compiler also support debug fission? According to https://gcc.gnu.org/wiki/DebugFission it is implemented on GCC 4.7 We already require GCC 4.9, so this shouldn't be a problem. I also tested this with Clang (version 3.6) and it worked without problems. (In reply to comment #3) > Can you comment on compiler requirements? Does our minimum supported > compiler also support debug fission? Clang has supported debug fission for a while now. GCC has supported it since 4.7 [1] and nowadays we require 4.8 or 4.9, depending on who you ask :), so we're good. It makes debug builds dramatically faster, especially incremental builds, so I agree it should be on by default. [1] http://gcc.gnu.org/wiki/DebugFission Comment on attachment 260302 [details] Patch Clearing flags on attachment: 260302 Committed r189179: <http://trac.webkit.org/changeset/189179> All reviewed patches have been landed. Closing bug. |