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

rustc: buffer the output writer for -Z ast-json[-noexpand]. #12999

Closed
wants to merge 1 commit into from

Conversation

huonw
Copy link
Member

@huonw huonw commented Mar 18, 2014

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).

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).
@bors bors closed this in 87e72c3 Mar 19, 2014
@huonw huonw deleted the buffer-ast-json branch March 19, 2014 06:30
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants