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

perf(cargo): Try some config flags for perf #4

Merged
merged 11 commits into from
Dec 4, 2024
Merged

Conversation

Princesseuh
Copy link
Member

@Princesseuh Princesseuh commented Dec 4, 2024

What does this change?

There are some flags we can set for release builds that will make the build take longer, but make a more optimized binary. Since we're after speed, this is generally valuable.

How is it tested?

N/A

How is it documented?

N/A

Copy link

codspeed-hq bot commented Dec 4, 2024

CodSpeed Performance Report

Merging #4 will improve performances by 10.62%

Comparing perf/config (dda0e27) with main (aa36d93)

Summary

⚡ 2 improvements
✅ 2 untouched benchmarks
🆕 4 new benchmarks
⁉️ 4 (👁 4) dropped benchmarks

Benchmarks breakdown

Benchmark main perf/config Change
get_color_presentations 26.3 µs 23.8 µs +10.62%
get_document_colors 24.1 µs 21.9 µs +10.13%
🆕 CSSLSRS(WASM) - Color Presentations N/A 203.2 µs N/A
🆕 CSSLSRS(WASM) - Document colors N/A 860.1 µs N/A
👁 CSSLSRS(WASM) - Color Presentations 222.5 µs N/A N/A
👁 CSSLSRS(WASM) - Document colors 650.2 µs N/A N/A
🆕 CSSLSRS(WASM) - Folding Ranges N/A 202.1 µs N/A
👁 CSSLSRS(WASM) - Folding Ranges 153.6 µs N/A N/A
🆕 CSSLSRS(WASM) - Hover N/A 45.5 ms N/A
👁 CSSLSRS(WASM) - Hover 12.7 ms N/A N/A

@github-actions github-actions bot added the devops Changes in the workflow/ actions/ linters/ releases. label Dec 4, 2024
@Princesseuh Princesseuh merged commit 1c44ac8 into main Dec 4, 2024
7 checks passed
@Princesseuh Princesseuh deleted the perf/config branch December 4, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops Changes in the workflow/ actions/ linters/ releases.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants