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

Bump Go to 1.24 #4615

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Bump Go to 1.24 #4615

wants to merge 13 commits into from

Conversation

geyslan
Copy link
Member

@geyslan geyslan commented Feb 20, 2025

1. Explain what the PR does

74131f0 chore(build): bump Go to 1.24
45d1e3a chore(go): bump Go to 1.24

45d1e3a chore(go): bump Go to 1.24

Upgrading to Go 1.24 brings performance improvements due to the new
Swiss Tables hash map implementation. With the same
deterministic/intensive proctree stress test, it was observed
significant reductions in CPU usage, heap memory, and object allocation.

Performance comparison:

| Metric       | Go 1.22.3 | Go 1.24.0 | Improvement |
|--------------|----------:|----------:|------------:|
| CPU avg      | 17.7%     | 13.5%     | -23.73%     |
| Heap avg     | 211MB     | 176MB     | -16.59%     |
| Heap obj avg | 1,156,562 | 730,153   | -36.86%     |

More details: https://go.dev/doc/go1.24

2. Explain how to test it

3. Other comments

Upgrading to Go 1.24 brings performance improvements due to the new
Swiss Tables hash map implementation. With the same
deterministic/intensive proctree stress test, it was observed
significant reductions in CPU usage, heap memory, and object allocation.

Performance comparison:

| Metric       | Go 1.22.3 | Go 1.24.0 | Improvement |
|--------------|----------:|----------:|------------:|
| CPU avg      | 17.7%     | 13.5%     | -23.73%     |
| Heap avg     | 211MB     | 176MB     | -16.59%     |
| Heap obj avg | 1,156,562 | 730,153   | -36.86%     |

More details: https://go.dev/doc/go1.24
@NDStrahilevitz
Copy link
Collaborator

I'll try building with go1.24 on my dev machine and review accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants