Skip to content

Decompose push performance scenarios - #170

Merged
MisterVVP merged 4 commits into
mainfrom
dev-refactor-push-performance-driver-scenarios
Jul 25, 2026
Merged

MisterVVP merged 4 commits into
mainfrom
dev-refactor-push-performance-driver-scenarios

Conversation

@MisterVVP

@MisterVVP MisterVVP commented Jul 24, 2026 •

Copy link
Copy Markdown
Owner

Motivation

  • Separate setup-heavy push-notification work from delivery-only measurements so each performance row has clear attribution.
  • Preserve one realistic end-to-end fan-out scenario while measuring config lookup, config creation, payload construction, and callback delivery independently.
  • Report actual callback and fan-out counters, including failed operations and concurrent execution.

Description

  • Replaced the duplicated push rows with:
    • PushNotify_EndToEndManyConfigs
    • PushConfig_ListManyConfigs
    • PushDelivery_CallbackFanout
    • PushConfig_CreateMany
    • PushDelivery_BuildPayload
  • Moved fixture task/config creation outside the measured region for focused list, callback, and config-create scenarios.
  • Added OperationOutcome counters for:
    • successful and failed deliveries;
    • callback count;
    • event count;
    • configured fan-out per operation;
    • cumulative fan-out.
  • Aggregate scenario counters even when an operation fails.
  • Added fanout_per_operation and total_fanout_count; retained fanout_count as a compatibility alias.
  • Reused the production BuildTaskStatusUpdatePayload() helper so payload construction matches the production shape.
  • Added deterministic tests proving measured-region isolation for callback, list, and config-create rows.
  • Added partial-delivery failure coverage.
  • Fixed concurrent callback attribution by recording delivery statistics per task ID instead of using global before/after snapshots.
  • Added concurrency-4 regression coverage that verifies exact callback totals.
  • Updated JSON/CSV reporting, runner validation, CMake targets, and performance documentation.

@MisterVVP MisterVVP added the codex Automatic label added by codex agent. Should not be used label Jul 24, 2026 — with ChatGPT Codex Connector
@MisterVVP
MisterVVP marked this pull request as draft July 24, 2026 09:48
@MisterVVP MisterVVP self-assigned this Jul 24, 2026
@MisterVVP MisterVVP added AI agent AI agent contribution and removed codex Automatic label added by codex agent. Should not be used labels Jul 24, 2026
@MisterVVP

Copy link
Copy Markdown
Owner Author

The decomposition successfully shows that the old “callback latency” measurement was mostly measuring database/setup work rather than callback invocation.

@MisterVVP
MisterVVP marked this pull request as ready for review July 25, 2026 14:45
@MisterVVP

Copy link
Copy Markdown
Owner Author

LGTM

@MisterVVP
MisterVVP merged commit c690202 into main Jul 25, 2026
17 checks passed
@MisterVVP
MisterVVP deleted the dev-refactor-push-performance-driver-scenarios branch July 25, 2026 14:46
@MisterVVP MisterVVP added the performance Performance improvement related tasks based on benchmark results. Performance tests changes. label Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI agent AI agent contribution performance Performance improvement related tasks based on benchmark results. Performance tests changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Performance]: Decompose push-notification fan-out and callback performance scenarios

1 participant