Commit a33ba56
perf(core): Use fixed-delay scheduling for performance collector
Switch the transaction collection timer from scheduleAtFixedRate to
schedule. Fixed-rate scheduling fires rapid catch-up executions after a
delay or GC pause, which the old code guarded against with a 10ms skip
check. Fixed-delay scheduling spaces each collection 100ms after the
previous one finishes, so the catch-up bursts cannot happen and the
guard, its timestamp field, and the stale comment are no longer needed.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 3594cd9 commit a33ba56
1 file changed
Lines changed: 1 addition & 10 deletions
Lines changed: 1 addition & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
112 | 111 | | |
113 | 112 | | |
114 | 113 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | 114 | | |
123 | 115 | | |
124 | | - | |
125 | 116 | | |
126 | 117 | | |
127 | 118 | | |
| |||
147 | 138 | | |
148 | 139 | | |
149 | 140 | | |
150 | | - | |
| 141 | + | |
151 | 142 | | |
152 | 143 | | |
153 | 144 | | |
| |||
0 commit comments