]> git.proxmox.com Git - cargo.git/commit
Auto merge of #7397 - ehuss:fix-timing-scale, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 21 Sep 2019 00:57:49 +0000 (00:57 +0000)
committerbors <bors@rust-lang.org>
Sat, 21 Sep 2019 00:57:49 +0000 (00:57 +0000)
commit73d8d2d329495aabaa5f7962404f108d573a1395
tree77a112c60445e31359e47cffee55684ec28d2e49
parent2fd180f8ccba5ba9ae9614dc141935b1e3fbe82c
parente6c575876b42a507c2ab9a18c7614b79b3757196
Auto merge of #7397 - ehuss:fix-timing-scale, r=alexcrichton

Fix some rendering issues with -Ztimings.

- Cap the max width to 4096. This is still quite large, but should help for some large graphs failing to display for using too much memory.
- Don't allow labels to overflow past the right side of the graph.
- Fix issue for very fast builds causing an error because there aren't enough CPU_USAGE entries.
- Fix bug where `split_ticks` would enter an infinite loop (caused by small scale values). Added a counter to abort in case there are any other bugs.

Closes #7392
Closes #7388