Kaoru0822 and Claude Opus 5.5
ca7ef69c0c
fix(javascript): yield inside semantic analysis and large projection passes ( #1542 )
...
* fix(javascript): yield inside semantic analysis and large projection passes
After #1525 the longest event-loop blocks were single stages on very large
files: semantic analysis of Obsidian's 3.7 MB app.js ran 5.8 s in one piece,
and its object projection 1.8 s.
- analyzeParsedJavaScriptSemanticsSteps yields between the analysis phases
and between the eight derived collectors; the synchronous function drains
it, so results are unchanged.
- Per-file analysis yields between open-receiver classification and static
analysis and drives the semantic steps.
- Semantic node creation, definitions and references, and the object and
frontier passes yield every 64 items. Node creation keeps source order,
which the per-file node budget depends on.
On obsidian.asar the longest block falls from 5,355 ms to 907 ms with the
same total time (40.6 s to 39.5 s). Graph IDs and complete result digests
match main on five inputs. Remaining blocks up to about 0.9 s are single
AST traversal passes inside the analyzers.
Refs #1462
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* refactor(javascript): drop the unused synchronous derived-semantics wrapper
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 04:20:50 -07:00
..
2026-10-09 20:18:52 +08:00
2026-10-10 01:54:42 +08:00
2026-10-07 17:16:58 +08:00
2026-10-09 20:18:52 +08:00
2026-10-07 17:16:58 +08:00
2026-10-10 00:44:32 +00:00
2026-10-10 00:44:32 +00:00
2026-10-10 05:56:01 +08:00
2026-10-09 01:55:12 +08:00
2026-10-07 17:16:58 +08:00
2026-10-10 00:44:32 +00:00
2026-10-08 13:24:24 +08:00
2026-10-08 13:24:24 +08:00
2026-10-10 02:49:46 +08:00
2026-10-10 03:14:37 -07:00
2026-10-10 14:02:02 +08:00
2026-10-10 13:21:13 +08:00
2026-10-10 03:52:13 +08:00
2026-10-10 14:02:02 +08:00
2026-10-10 15:09:18 +08:00
2026-10-10 03:14:37 -07:00
2026-10-09 20:18:52 +08:00
2026-10-10 06:34:21 +08:00
2026-10-10 06:34:21 +08:00
2026-10-10 06:34:21 +08:00
2026-10-10 02:07:30 +08:00
2026-10-10 05:56:01 +08:00
2026-10-10 02:07:30 +08:00
2026-10-07 17:57:33 +08:00
2026-10-07 17:16:58 +08:00
2026-10-09 23:35:19 +08:00
2026-10-10 13:47:15 +08:00
2026-10-09 18:30:31 +08:00
2026-10-09 23:35:19 +08:00
2026-10-09 18:30:31 +08:00
2026-10-09 20:18:52 +08:00
2026-10-10 05:11:38 +08:00
2026-10-09 23:35:19 +08:00
2026-10-09 23:35:19 +08:00
2026-10-10 05:56:01 +08:00
2026-10-07 17:16:58 +08:00
2026-10-09 23:35:19 +08:00
2026-10-09 23:35:19 +08:00
2026-10-10 05:11:38 +08:00
2026-10-09 23:35:19 +08:00
2026-10-09 23:35:19 +08:00
2026-10-09 06:49:02 +08:00
2026-10-09 22:46:09 +08:00
2026-10-09 23:35:19 +08:00
2026-10-10 03:52:35 +08:00
2026-10-10 03:52:35 +08:00
2026-10-10 03:52:35 +08:00
2026-10-10 03:52:35 +08:00
2026-10-10 03:52:35 +08:00
2026-10-09 23:35:19 +08:00
2026-10-10 03:52:35 +08:00
2026-10-10 03:52:35 +08:00
2026-10-10 03:52:35 +08:00
2026-10-09 23:35:19 +08:00
2026-10-10 17:14:47 +08:00
2026-10-08 04:03:23 +08:00
2026-10-09 23:35:19 +08:00
2026-10-09 22:46:08 +08:00
2026-10-07 17:16:58 +08:00
2026-10-09 23:35:19 +08:00
2026-10-07 17:16:58 +08:00
2026-10-09 20:18:52 +08:00
2026-10-10 19:11:00 +08:00
2026-10-07 17:16:58 +08:00
2026-10-07 23:53:41 +08:00
2026-10-07 19:08:45 +08:00
2026-10-10 12:03:13 +08:00
2026-10-09 22:46:09 +08:00
2026-10-07 17:16:58 +08:00
2026-10-10 01:45:00 +08:00
2026-10-09 23:35:19 +08:00
2026-10-10 04:20:50 -07:00
2026-10-10 01:45:01 +08:00
2026-10-10 04:20:50 -07:00
2026-10-09 22:46:09 +08:00
2026-10-10 15:46:24 +08:00
2026-10-10 05:56:01 +08:00
2026-10-09 22:46:09 +08:00
2026-10-09 23:35:19 +08:00
2026-10-09 23:35:19 +08:00
2026-10-10 01:45:01 +08:00
2026-10-10 01:45:01 +08:00
2026-10-10 04:20:50 -07:00
2026-10-09 23:35:19 +08:00
2026-10-10 03:14:37 -07:00
2026-10-09 23:21:07 -07:00
2026-10-10 00:13:34 -07:00
2026-10-07 17:16:58 +08:00
2026-10-10 03:52:13 +08:00
2026-10-09 23:35:19 +08:00
2026-10-10 13:47:15 +08:00
2026-10-10 19:11:00 +08:00
2026-10-10 06:53:42 +08:00
2026-10-10 07:40:25 +08:00
2026-10-10 14:04:31 +08:00
2026-10-10 01:45:01 +08:00
2026-10-10 01:45:00 +08:00
2026-10-10 06:39:56 +08:00
2026-10-10 01:45:01 +08:00
2026-10-10 12:03:13 +08:00
2026-10-10 01:45:00 +08:00
2026-10-10 03:52:13 +08:00
2026-10-07 17:16:58 +08:00
2026-10-09 23:35:19 +08:00
2026-10-09 22:46:09 +08:00
2026-10-10 03:52:35 +08:00
2026-10-10 01:45:01 +08:00
2026-10-09 20:18:52 +08:00
2026-10-09 22:46:09 +08:00
2026-10-10 15:46:24 +08:00
2026-10-10 15:46:24 +08:00
2026-10-09 23:35:19 +08:00
2026-10-10 06:53:42 +08:00
2026-10-07 17:16:58 +08:00
2026-10-10 05:56:01 +08:00
2026-10-10 14:04:31 +08:00
2026-10-09 20:18:52 +08:00
2026-10-10 06:38:47 +08:00
2026-10-10 05:56:01 +08:00
2026-10-08 04:03:23 +08:00
2026-10-07 17:16:58 +08:00
2026-10-10 00:44:32 +00:00
2026-10-09 23:35:19 +08:00
2026-10-10 10:24:38 +08:00
2026-10-09 05:15:23 +08:00
2026-10-10 05:56:01 +08:00
2026-10-07 17:16:58 +08:00
2026-10-10 01:45:01 +08:00
2026-10-10 10:24:38 +08:00
2026-10-10 00:44:32 +00:00
2026-10-07 17:16:58 +08:00
2026-10-10 05:56:01 +08:00
2026-10-09 23:35:19 +08:00
2026-10-09 23:35:19 +08:00
2026-10-07 17:16:58 +08:00
2026-10-10 05:56:01 +08:00