Skip to content

Add typing burst benchmark coverage#4934

Merged
soulomoon merged 1 commit into
haskell:masterfrom
soulomoon:bench-burst-test
May 15, 2026
Merged

Add typing burst benchmark coverage#4934
soulomoon merged 1 commit into
haskell:masterfrom
soulomoon:bench-burst-test

Conversation

@soulomoon
Copy link
Copy Markdown
Collaborator

fix #4933

Summary

Add benchmark coverage for typing-burst workloads: five hygienic edits with a 250 ms delay between edits, followed by common HLS feature requests.

This gives the benchmark suite a closer approximation of normal editor behavior, where HLS often receives several rapid document changes before hover, completion, semantic token, definition, code action, or document symbol requests.

Changes

  • Add reusable typing-burst edit setup in ghcide-bench.
  • Add X after typing burst benchmark variants for:
    • semantic tokens
    • hover
    • get definition
    • completions
    • code actions
    • document symbols
  • Enable the new experiments in bench/config.yaml.
  • Document the new benchmark family in ghcide-bench/README.md.

@soulomoon soulomoon marked this pull request as ready for review May 13, 2026 12:03
@soulomoon soulomoon added the performance Issues about memory consumption, responsiveness, etc. label May 13, 2026
@soulomoon soulomoon requested a review from fendor May 14, 2026 14:09
Copy link
Copy Markdown
Collaborator

@fendor fendor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@soulomoon soulomoon merged commit c921dcd into haskell:master May 15, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Issues about memory consumption, responsiveness, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Benchmark typing burst workloads

2 participants