8000 Performance mystery in benchmarks · libgit2 libgit2 · Discussion #7009 · GitHub
[go: up one dir, main page]

Skip to content

Performance mystery in benchmarks #7009

Answered by ethomson
ethomson asked this question in Q&A
Discussion options

You must be logged in to vote

I spent some time adding profiling support to our benchmarks, and they can now produce flamegraphs (currently Linux-only), and can upload data to an artifact that you can then download. This lets you create a new invariant state, run benchmarks against it, and download the results (including the flamegraphs).

This was a helpful addition, as it's very clear what's happening. Building and running on Linux 22.04:

and Linux 24.04:

OpenSSL initialization has gotten a lot more expensive, which is a tax that we don't need to pay when we're not doing any network traffic (and one that we wouldn't notice if we were).

I've been musing about re-thinking git_libgit2_init, which is very helpful for h…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

ethomson
Jan 14, 2025
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by ethomson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0