fluentui
fluentui copied to clipboard
chore: measure project crystal plugin perf impact on CI and local dev
Previous Behavior
New Behavior
@nx/eslint/plugin and @nx/jest/plugin sources are modified in order to measure the plugin impact on runtime
see outputs in console marked as:
Execution Timings: jest-pluginExecution Timings: lint-plugin
Data:
- projects: 260
| command | jest plugin (s) | eslint plugin (s) |
|---|---|---|
nx affected |
1.19s | 1.96s |
nx run scripts-monorepo:test |
~ 4s per test (3x) | ~ 6.5s per test (3x) |
nx run cra-template:test-integration |
1.7s | 2.4s |
Summary
- the CI impact is rather slow
- local dev flow will get some perf impact as this ~2s slowdown per plugin will be added with every
nx run <project>:<target>invocation 🥹
For perf reasons we will implement only 1 workspace plugin that will generate all the tasks within all monorepo projects.
Related Issue(s)
- Follows #30267
📊 Bundle size report
✅ No changes found