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

[guppy] fix detection for non-lib/proc-macro targets #158

Merged
merged 4 commits into from
Nov 17, 2023

Conversation

sunshowers
Copy link
Member

No description provided.

Rather large speedup:

```
make_package_graph      time:   [6.8933 ms 6.9152 ms 6.9508 ms]
                        change: [-5.6342% -5.3294% -4.9152%] (p = 0.00 < 0.05)
                        Performance has improved.
```
```
make_package_graph      time:   [7.0567 ms 7.0612 ms 7.0677 ms]
                        change: [-5.4637% -4.1646% -2.9836%] (p = 0.00 < 0.05)
                        Performance has improved.
```
This RefCell is a bit convoluted, but it appears to be the fastest approach
based on benchmarks.

This doesn't appear to cause a statistically significant perf difference for
the make_package_graph benchmark.

Fixes #157.
@sunshowers sunshowers merged commit 2e01f07 into main Nov 17, 2023
18 checks passed
@sunshowers sunshowers deleted the push-yurtvsspsqyp branch November 17, 2023 01:14
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.

1 participant