K-Dog (Kevin)
5dfd86d35c
fix: regressed studio typecheck performance ( #52677 )
...
Heads up: Generated with Claude Opus 5.5
CheckedInit made TypeScript infer each call's init through conditional
and Omit types over the full API paths, at every typed get/post/put/
patch/del call site. A cold `tsc --noEmit` spent 92s type-checking and
peaked at 17 GB of memory.
CheckedUrl already rejects missing, mismatched, and unexpected grants,
so the init check was redundant. Remove CheckedInit and ParseAsContext
(which only worked around CheckedInit breaking parseAs inference) and
type init the way openapi-fetch does.
Cold check time: 92s -> 5.4s. Instantiations: 34.9M -> 16.4M. Peak
memory: 17.3 GB -> 5.5 GB. All guarded-fetch type tests still fail for
the same reasons.
2026-11-03 14:33:17 +08:00
..
2026-10-26 07:58:22 -04:00
2026-04-03 09:15:57 +02:00
2026-10-26 07:58:22 -04:00
2026-08-31 10:55:23 +08:00
2026-11-02 11:26:29 +01:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-29 16:15:21 +01:00
2026-10-22 08:13:39 +00:00
2026-10-26 07:58:22 -04:00
2026-11-02 15:52:01 -05:00
2026-04-03 09:15:57 +02:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-23 18:51:27 +08:00
2026-04-03 09:15:57 +02:00
2026-10-26 07:58:22 -04:00
2026-11-02 18:27:59 +08:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-29 14:39:03 +01:00
2026-11-02 15:42:59 +00:00
2026-10-26 07:58:22 -04:00
2026-04-03 09:15:57 +02:00
2026-07-31 16:18:25 +08:00
2026-10-26 07:58:22 -04:00
2026-09-11 12:17:49 +08:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-04-03 09:15:57 +02:00
2026-08-27 08:52:52 +00:00
2026-10-09 16:28:49 +08:00
2026-09-11 12:17:49 +08:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-11-03 16:29:25 +13:00
2026-10-23 18:51:27 +08:00
2026-11-02 14:38:02 +01:00
2026-06-23 11:16:58 -04:00
2026-10-26 07:58:22 -04:00
2026-08-31 10:55:23 +08:00
2026-10-26 07:58:22 -04:00
2026-09-15 12:50:56 +02:00
2026-09-11 12:17:49 +08:00
2026-10-27 21:33:33 +08:00
2026-09-15 11:16:47 +02:00
2026-09-11 12:17:49 +08:00
2026-09-11 12:17:49 +08:00
2026-04-03 09:15:57 +02:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-09-15 12:50:56 +02:00
2026-10-22 13:32:04 -04:00
2026-10-26 07:58:22 -04:00
2026-10-16 14:18:32 -04:00
2026-10-26 07:58:22 -04:00
2026-10-29 12:44:44 +02:00
2026-10-20 17:40:13 +02:00
2026-10-27 09:27:44 +01:00
2026-10-27 12:29:10 +11:00
2026-10-26 07:58:22 -04:00
2026-08-14 15:09:29 +07:00
2026-10-27 14:47:27 +01:00
2026-09-28 15:17:24 +08:00
2026-10-27 12:29:10 +11:00
2026-11-02 18:27:59 +08:00
2026-10-23 18:51:27 +08:00
2026-10-19 21:00:40 +02:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-08-27 17:07:58 +02:00
2026-10-27 09:27:44 +01:00
2026-09-15 12:50:56 +02:00
2026-09-23 09:44:04 +02:00
2026-10-21 06:54:16 -04:00
2026-10-15 10:03:47 +02:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-27 09:27:44 +01:00
2026-05-27 15:19:54 +08:00
2026-10-26 07:58:22 -04:00
2026-10-23 18:51:27 +08:00
2026-09-15 21:46:45 +10:00
2026-10-26 07:58:22 -04:00
2026-10-26 07:58:22 -04:00
2026-10-29 15:16:51 +01:00
2026-10-29 15:16:51 +01:00
2026-10-23 18:51:27 +08:00
2026-10-07 16:15:57 +02:00
2026-03-16 11:22:30 +01:00
2026-04-03 09:15:57 +02:00
2026-10-26 07:58:22 -04:00
2026-10-27 10:48:24 -04:00
2026-11-03 14:33:17 +08:00
2026-10-23 18:51:27 +08:00
2026-10-22 08:13:39 +00:00
2026-10-23 18:51:27 +08:00
2026-06-16 08:02:04 -06:00