diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-03-18 23:40:07 +1100 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-18 13:47:55 -0700 |
| commit | 92f0bc29355ac990595e1771c4bb9a3b7e358d30 (patch) | |
| tree | 6e51ab747b0532fd5109fe992c776bfd55203e96 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 873f7408bdffdb05b23f77aa343abd05f2e3126c (diff) | |
| download | rust-92f0bc29355ac990595e1771c4bb9a3b7e358d30.tar.gz rust-92f0bc29355ac990595e1771c4bb9a3b7e358d30.zip | |
rustc: buffer the output writer for -Z ast-json[-noexpand].
This takes the time for `rustc libstd/lib.rs -Z ast-json-noexpand > file.json` from 9.0s to 3.5s (~0.5s spent parsing etc.) and `-Z ast-json` from 11s to 5s (~1.5s spent parsing and expanding).
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
