Commit 0f96d10
committed
Add stats printing for ReactiveLiveness collections
Print roots, edges, and live (fixpoint) stats in timing mode.
Example output (benchmark, cold start):
ReactiveLiveness collection stats:
roots: recv=156200 emit=156200 len=16203
edges: recv=445363 emit=445363 len=35550
live (fixpoint): recv=601563 emit=107025 len=31903
Key insights:
- fixpoint receives 601,563 updates (roots + edges combined)
- fixpoint emits 107,025 updates (BFS expansion deltas)
- 31,903 positions are live (17,500 decls + type positions)
- On cache hit (run 2), counters stay same = zero new work1 parent 6db81bc commit 0f96d10
File tree
3 files changed
+19
-1
lines changed- analysis/reanalyze/src
3 files changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
418 | 421 | | |
419 | 422 | | |
420 | 423 | | |
| |||
0 commit comments