Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
ljedrz
826cda6640
profiler: improve readability
2018-12-17 16:41:59 +01:00
ljedrz
1b549ebbdf
profiler: simplify total_duration
2018-12-17 16:41:44 +01:00
ljedrz
b03a82cfca
rustc/driver: whitespace & formatting fixes
2018-10-13 10:15:46 +02:00
ljedrz
d599f5bf61
rustc/driver: improve common patterns
2018-10-13 10:09:41 +02:00
ljedrz
9a1de086e4
rustc/driver: improve/remove allocations
2018-10-13 10:09:40 +02:00
ljedrz
39753c8973
rustc/driver: improve macro calls
2018-10-12 14:01:25 +02:00
ljedrz
5bfe08fc71
rustc/driver: simplify profile::trace::cons
2018-10-12 13:55:35 +02:00
Eduard-Mihai Burtescu
93f3f5b155
Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc.
2018-08-28 17:04:04 +03:00
Matthias Krüger
ede1f7d2a5
use String::new() instead of String::from(""), "".to_string(), "".to_owned() or "".into()
2018-08-23 10:14:52 +02:00
bors
7bbcd005b3
Auto merge of #52805 - ljedrz:format_str_literal, r=petrochenkov
...
Don't format!() string literals
Prefer `to_string()` to `format!()` take 2, this time targetting string literals. In some cases (`&format!("...")` -> `"..."`) also removes allocations. Occurences of `format!("")` are changed to `String::new()`.
2018-07-30 06:29:39 +00:00
ljedrz
59c8a279da
Replace push loops with collect() and extend() where possible
2018-07-29 18:53:22 +02:00
bors
a5c2d0fffa
Auto merge of #52764 - sinkuu:cleanup, r=nikomatsakis
...
Misc cleanups
2018-07-29 06:32:24 +00:00
ljedrz
421b2ba347
Don't format!() string literals
2018-07-28 17:58:52 +02:00
ljedrz
1cca420435
Use slices where a vector is not necessary
2018-07-27 16:50:28 +02:00
Shotaro Yamada
1bc49a9743
Simplify
2018-07-27 23:26:36 +09:00
ljedrz
f653bf4fba
Improve readability in a few sorts
2018-07-25 12:13:02 +02:00
ljedrz
d85bcef467
Calculate the exact capacity for 2 HashMaps
2018-07-16 18:38:33 +02:00
John Kåre Alsaker
987631d3ba
Move query functions out from the define_maps! macro
2018-04-27 12:09:59 +02:00
John Kåre Alsaker
184fd32a03
Move PROFQ_CHAN to a Session field
2018-03-09 08:04:31 +01:00
Vadim Petrochenkov
52251cd930
Compress "small" spans to 32 bits and intern "large" spans
2017-09-23 00:34:13 +03:00
Matthew Hammer
43335aec22
-Z profile-query-and-key, separate from -Z profile-query; query key is string option
2017-08-23 15:21:39 -06:00
Matthew Hammer
4251032706
-Z profile-queries includes dep_graph.with_task uses in output
2017-08-23 09:26:48 -06:00
Matthew Hammer
3c24fea882
-Z profile-queries: remove panic when channel is unset
2017-08-23 09:26:48 -06:00
Matthew Hammer
28cb03d4e1
profiling with -Z profile-queries recognizes -Z time-passes
2017-08-23 09:26:48 -06:00
Matthew Hammer
d7ec3e1a7d
inc comp: -Z profile-queries support; see also https://github.com/rust-lang-nursery/rust-forge/blob/master/profile-queries.md
2017-08-23 09:26:48 -06:00