-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before: time ( target/release/examples/dwarfdump -i ~/mozilla-central/obj-ff-opt/dist/bin/libxul.so >& /dev/null ) real 1m39.153s user 1m37.714s sys 0m1.320s After: time ( target/release/examples/dwarfdump -i ~/mozilla-central/obj-ff-opt/dist/bin/libxul.so >& /dev/null ) real 0m25.641s user 2m3.328s sys 0m1.087s This increases memory usage. We buffer the output; the max memory usage increases by around the size of the N largest outputs per compilation unit, where N is the min of 16 and num_cpus::get(). The larger compilation units in Firefox libxul.so produce tens to hundreds of megabytes of output each. Then again, the speedup processing such large files is important.
- Loading branch information
1 parent
71a1138
commit fef4e3d
Showing
2 changed files
with
106 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters