Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallelize dwarfdump per-unit #285

Merged
merged 1 commit into from
Mar 12, 2018
Merged

Parallelize dwarfdump per-unit #285

merged 1 commit into from
Mar 12, 2018

Commits on Mar 12, 2018

  1. Parallelize dwarfdump per-unit

    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.
    rocallahan committed Mar 12, 2018
    Configuration menu
    Copy the full SHA
    fef4e3d View commit details
    Browse the repository at this point in the history