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

Don't spend time optimizing build deps, such as proc macros #89

Merged
merged 1 commit into from
Jul 29, 2020

Conversation

joshtriplett
Copy link
Contributor

A build of flamegraph spends time optimizing various proc macros and
their dependencies, when they'll only run at build time and never at
runtime. Building them without optimizations substantially speeds up
the build, without affecting runtime performance at all.

Before:
Finished release [optimized] target(s) in 2m 35s

After:
Finished release [optimized] target(s) in 1m 31s

A build of flamegraph spends time optimizing various proc macros and
their dependencies, when they'll only run at build time and never at
runtime. Building them without optimizations substantially speeds up
the build, without affecting runtime performance at all.

Before:
    Finished release [optimized] target(s) in 2m 35s

After:
    Finished release [optimized] target(s) in 1m 31s
@spacejam
Copy link
Contributor

thank you! I'll cut a release with this in a few minutes

@spacejam
Copy link
Contributor

bors r+

@bors
Copy link
Contributor

bors bot commented Jul 29, 2020

@bors bors bot merged commit 5586985 into flamegraph-rs:master Jul 29, 2020
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