Skip to content

pagebench: add CPU profiling support #12478

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

Merged
merged 1 commit into from
Jul 14, 2025
Merged

Conversation

erikgrinaker
Copy link
Contributor

Problem

The new communicator gRPC client has significantly worse Pagebench performance than a basic gRPC client. We need to find out why.

Summary of changes

Add a pagebench --profile flag which takes a client CPU profile of the benchmark and writes a flamegraph to profile.svg.

@erikgrinaker erikgrinaker requested a review from a team as a code owner July 5, 2025 14:32
@erikgrinaker erikgrinaker enabled auto-merge July 5, 2025 14:32
Copy link

github-actions bot commented Jul 5, 2025

8778 tests run: 8121 passed, 0 failed, 657 skipped (full report)


Code coverage* (full report)

  • functions: 35.1% (8697 of 24743 functions)
  • lines: 46.2% (70049 of 151556 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
15f0498 at 2025-07-14T11:54:17.414Z :recycle:

@erikgrinaker erikgrinaker force-pushed the erik/pagebench-profile branch from 8e70f4e to 15f0498 Compare July 14, 2025 10:45
@erikgrinaker erikgrinaker added this pull request to the merge queue Jul 14, 2025
@erikgrinaker erikgrinaker added this pull request to the merge queue Jul 14, 2025
Merged via the queue into main with commit 30b8770 Jul 14, 2025
102 checks passed
@erikgrinaker erikgrinaker deleted the erik/pagebench-profile branch July 14, 2025 11:54
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to an unknown Git error Jul 14, 2025
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.

2 participants