Session statistics (no persistence) #46
Labels
No labels
Epic
Feature Request
HOLD
audit
automerge
bug
dependencies
documentation
duplicate
good first issue
help wanted
invalid
question
release
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
NiXTheDev/regexYbot#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Show real-time processing statistics for the current message chain without persisting any data.
Use Case
Users want visibility into how their substitutions are performing without storing data long-term.
Implementation Plan
In-memory tracking (per message only)
Smart placement logic
Calculate dynamically if performance text fits:
If fits: Append to result message with newline separator
If doesn't fit: Send as separate message
Edit handling (complex logic)
When user edits the sed command:
a) Removing 'p' flag:
b) Adding 'p' flag:
c) Command changed (different result):
Time unit logic
Data to collect
Storage for edits
In-Memory Tracking (No Persistence)
Store performance message metadata in memory only:
Acceptance Criteria
Example Scenarios
Scenario 1: Short result, fits inline
Scenario 2: Long result, separate message
Scenario 3: Edit removes 'p' flag
Scenario 4: Edit changes result size (now fits)
Scenario 5: Edit changes result size (no longer fits)
Related
Part of Epic #38
Merged from #49 (enhanced performance flag with substitution count)