-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
4 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters