]> git.proxmox.com Git - cargo.git/commit - tests/testsuite/out_dir.rs
Auto merge of #7311 - ehuss:pipeline-timing, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 17 Sep 2019 20:33:15 +0000 (20:33 +0000)
committerbors <bors@rust-lang.org>
Tue, 17 Sep 2019 20:33:15 +0000 (20:33 +0000)
commitd764fff2da618b24fbf506229509e3d183050c2e
tree2c8d60c618d14114aeb49b9bdb0a9afbabbe5f96
parent35c55a93200c84a4de4627f1770f76a8ad268a39
parent8be10f7e9b8fe9c2c1ec1c0ce8d3ffd3020bc18d
Auto merge of #7311 - ehuss:pipeline-timing, r=alexcrichton

Experiment: Create timing report.

This is just an experiment, so I'm not sure if we'll want to merge it.

This adds an HTML report which gets saved to disk when the build is finished.  It is primarily geared for identifying slow dependencies, and for visualizing how pipelining affects the build.

Here's an example: https://ehuss.github.io/cargo-timing.html
You can mouse over the blocks to highlight the reverse-dependencies that are released when a unit finishes.  `syn` is a really good example.

It does a few other things, like displaying a message after each unit is finished.  See the docs for more information.
Cargo.toml
src/cargo/core/compiler/context/mod.rs
src/cargo/core/compiler/job_queue.rs
src/cargo/core/compiler/mod.rs