imccyu
0a3cf3b5a6
perf(scripts): drop the whole-repo call-site pre-index from gen-doc-graphs
...
The event-relation collector resolved every CallExpression in all package
sources up front (getResolvedSignature is the most expensive checker query)
and type-classified every property-access receiver before looking at the
method name. Both costs served a tiny fraction of call sites.
- Filter by event API method name first; receiver classification now runs
on those calls only.
- Replace the eager global call-site index with demand-driven indexing:
when a non-exported local helper's same-file references are all provably
direct callees, only that file is indexed; any other reference shape
(alias escape) falls back to the original full package-source index.
Generated docs are byte-identical; verify-doc-graphs stays green. Halves
the script's CPU time (23.4s -> ~13s user on a warm run).
2026-07-30 19:57:16 +08:00
..
2026-07-23 23:12:56 +08:00
2026-07-30 16:11:21 +08:00
2026-07-26 23:29:46 +08:00
2026-07-18 13:03:44 +08:00
2026-07-27 00:53:07 +08:00
2026-07-27 00:01:39 +08:00
2026-07-30 01:29:18 +08:00
2026-07-30 01:29:18 +08:00
2026-07-28 01:02:43 +08:00
2026-07-28 01:02:43 +08:00
2026-07-19 21:24:42 +08:00
2026-06-11 15:07:55 +08:00
2026-07-27 18:55:13 +08:00
2026-07-29 00:45:52 +08:00
2026-07-26 02:51:58 +08:00
2026-07-26 02:51:58 +08:00
2026-07-28 09:53:32 +08:00
2026-07-30 00:05:00 +08:00
2026-07-27 18:43:00 +08:00
2026-07-25 00:10:37 +08:00
2026-07-23 00:39:55 +08:00
2026-07-20 16:33:44 +08:00
2026-07-20 16:33:44 +08:00
2026-07-29 23:55:12 +08:00
2026-07-30 14:56:39 +08:00
2026-07-29 21:15:42 +08:00
2026-07-26 23:14:28 +08:00
2026-07-30 00:12:03 +08:00
2026-07-19 19:26:38 +08:00
2026-07-22 16:24:44 +08:00
2026-07-27 06:21:53 +08:00
2026-07-19 22:52:03 +08:00
2026-07-29 23:55:12 +08:00
2026-07-30 01:04:25 +08:00
2026-07-30 19:57:16 +08:00
2026-07-24 01:40:25 +08:00
2026-07-28 00:00:51 +08:00
2026-07-23 03:59:05 +08:00
2026-07-30 16:11:21 +08:00
2026-07-27 02:31:07 +08:00
2026-07-30 15:18:06 +08:00
2026-07-29 13:38:55 +08:00
2026-07-29 13:38:55 +08:00
2026-07-27 19:08:26 +08:00
2026-07-27 03:28:39 +08:00
2026-07-29 23:26:16 +08:00
2026-07-27 12:02:39 +08:00
2026-07-26 23:44:52 +08:00
2026-07-29 23:36:08 +08:00
2026-07-15 19:11:20 +08:00
2026-07-21 00:25:38 +08:00
2026-07-21 00:25:38 +08:00
2026-07-26 02:52:48 +08:00
2026-07-26 02:52:48 +08:00
2026-07-22 16:55:39 +08:00
2026-07-24 18:07:56 +08:00
2026-07-20 15:25:47 +08:00
2026-07-27 21:27:42 +08:00
2026-07-27 12:02:39 +08:00
2026-07-27 00:53:07 +08:00
2026-07-30 11:16:37 +08:00
2026-07-30 15:00:42 +08:00
2026-07-29 23:39:49 +08:00
2026-07-29 23:39:49 +08:00
2026-07-26 23:44:52 +08:00
2026-07-27 03:54:33 +08:00
2026-07-27 03:54:33 +08:00
2026-07-29 22:56:14 +08:00
2026-07-21 00:44:39 +08:00
2026-07-29 14:32:11 +08:00
2026-07-27 02:31:07 +08:00
2026-07-27 02:31:07 +08:00
2026-07-28 10:28:49 -07:00
2026-07-26 15:51:24 +08:00
2026-07-28 10:28:49 -07:00
2026-07-27 09:39:54 +08:00
2026-07-23 22:41:53 +08:00
2026-07-23 23:12:56 +08:00
2026-07-23 23:12:56 +08:00
2026-07-26 00:30:20 +08:00
2026-07-30 00:30:38 +08:00
2026-07-19 23:15:23 +08:00
2026-07-19 23:15:23 +08:00
2026-07-27 00:01:39 +08:00
2026-07-26 23:14:28 +08:00
2026-07-21 20:15:09 +08:00
2026-07-26 23:14:28 +08:00
2026-07-30 14:56:39 +08:00
2026-07-13 23:27:00 +08:00
2026-07-19 22:52:03 +08:00
2026-07-29 14:32:11 +08:00
2026-07-27 18:53:30 +08:00
2026-07-26 23:06:00 +08:00
2026-07-27 18:53:30 +08:00
2026-07-15 16:38:22 +08:00
2026-07-20 00:38:37 +08:00
2026-07-27 06:21:53 +08:00
2026-07-19 22:52:03 +08:00
2026-07-29 23:45:42 +08:00
2026-07-26 23:14:28 +08:00
2026-07-28 04:34:05 -07:00
2026-07-23 23:12:56 +08:00
2026-07-27 12:02:39 +08:00
2026-07-28 16:16:10 +08:00