Changes between Initial Version and Version 1 of Ticket #37435
- Timestamp:
- Oct 17, 2026, 6:23:32 AM (81 minutes ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37435 – Description
initial v1 1 1 Summary: 2 Speed up post-commit callback dispatch 2 Speed up post-commit callback dispatch 3 3 4 4 Description: … … 34 34 Codex helped run benchmarks, and draft the description and submission helper. 35 35 36 37 38 39 40 41 == **CODE CHANGES IN THE PR :- 42 - MEANS REMOVED 43 + MEANS ADDED** 44 45 {{{ 46 47 - while current_run_on_commit: 48 - _, func, robust = current_run_on_commit.pop(0) 49 50 51 + for index, (_, func, robust) in enumerate(current_run_on_commit): 52 + current_run_on_commit[index] = None # Release the queue's reference before invoking the callback. 53 54 }}} 55 56 57 58 59 60 == **BENCHMARK CODE { THE RESULT OF THE BENCHMARK AT THE BOTTOM } :-** 36 61 37 62 {{{ … … 541 566 }}} 542 567 568 569 == **BENCHMARKS** 570 543 571 | .Callbacks. | .Captured payload/callback. | .CPU mask. | ..Base time.. | .Changed time. | ....Speed.... | .Base peak.. | .Changed peak. | .Memory. | 544 572 | ----------- | --------------------------- | ---------- | ------------- | -------------- | ------------- | ------------ | -------------- | -------- | … … 598 626 599 627 600 CHANGES:-601 - MEANS REMOVED602 + MEANS ADDED603 604 {{{605 606 - while current_run_on_commit:607 - _, func, robust = current_run_on_commit.pop(0)608 609 610 + for index, (_, func, robust) in enumerate(current_run_on_commit):611 + current_run_on_commit[index] = None # Release the queue's reference before invoking the callback.612 613 }}}