https://github.com/microsoft/TypeScript/pull/49330 added about 100ms to `Compiler-Unions`  We should investigate the root cause and any mitigations if possible. _Originally posted by @DanielRosenwasser in https://github.com/microsoft/TypeScript/issues/49330#issuecomment-1145473780_