Skip to content

Conversation

@mgravell
Copy link
Collaborator

@mgravell mgravell commented Feb 7, 2026

HOTKEYS is a new profiling API in 8.6, allowing a server-side profiling session that shows (unsurprisingly) the "hottest" keys observed during the profiling, separately by CPU and network (which can be enabled/disabled independently).

Usage is discussed in the docs as part of this PR

  • propose API shape
  • implement
  • integration tests
  • document
  • validate "count" usage
  • validate "duration" usage
  • validate slot filter on cluster
  • find out if there's any significance to the additional array level (answer: future-proofing)
  • verify RESP3

Note tests are linked to 8.6; bumping CI to use an internal 8.6 preview:

image

On files: I'm trying a new layout here; instead of making a mess throughout huge files, I've focused these changes at the "feature" scope; the API is in HotKeys.cs, with the implementation code in sub-files:

image

IMO this is much more friendly, and if there's no objections, I'll add "get the AI to move things around" to the backlog.

@mgravell mgravell marked this pull request as ready for review February 8, 2026 21:05
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.

1 participant