-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Description
In ember-container-query, ember-intl, embroider-css-modules, and a production app, I'm seeing that lint:types takes 20-55% more time to run. In the case of the production app, I had to increase the memory in CI to fix the JavaScript heap out of memory error.
> time pnpm lint:types
# Production app (before)
pnpm lint:types 22.94s user 2.27s system 170% cpu 14.814 total
pnpm lint:types 23.06s user 2.27s system 172% cpu 14.666 total
pnpm lint:types 22.91s user 2.36s system 168% cpu 15.020 total
# Production app (after)
pnpm lint:types 35.35s user 2.41s system 158% cpu 23.783 total
pnpm lint:types 33.42s user 2.42s system 158% cpu 22.678 total
pnpm lint:types 33.42s user 2.44s system 158% cpu 22.650 totalThe migration went smoothly (great job to everyone), but I still felt a little disappointed, because I had thought that using *.{gjs,gts} would give us a performance boost over using *.hbs. Is the memory consumption/runtime expected to increase? Did I perhaps not configure the projects correctly (see the 3rd commits in the links above)?
These are the dependencies that I had/have:
Before:
@glint/[email protected]@glint/[email protected]@glint/[email protected]@glint/[email protected]
After:
@glint/[email protected]@glint/[email protected]
Metadata
Metadata
Assignees
Labels
No labels