StackExchange / StackExchange/StackExchange.Redis

Batched commands missing in ProfiledCommandEnumerable

Open
#2,175 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🪲 bug
Dominant language
C#
Stars
6.2k
Forks
1.6k
Avg merge
1d 15h
Merged PRs (30d)
43

Description

When manually creating and executing a batch of commands, these don't show up after FinishProfiling. When I remove the batch and execute them on the database, they do appear.

Is there a technical reason why this isn't implemented or has no one has simply asked for it? To me it seems reasonable to expect batched commands to be included in the profiler.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by reproducing a manually created batch, call FinishProfiling, and compare the profiler output with individually executed commands. Done means batched commands appear in the profiler output consistently with non-batched commands.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, redis
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.