Stabilizing importDurations (previously printImportBreakdown)
#9224
sheremet-va
started this conversation in
Feedback
Replies: 1 comment 1 reply
-
|
Hey! First I want to say that this is a great idea to help debugging test performance issues. I myself tried to get such information for my project's test suite using a custom reporter and the I computed average and total import times for each module in a rather simplistic way, and so I'm sure using the built-in export default defineConfig({
// ...
experimental: {
printImportBreakdown: {
top: 50, // show the Top 50 imports instead of the default 10
onlyExternal: true // show only imports from `node_modules`
// and maybe more ?
}
}
// ...
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
experimental.importDurationsimportDurations#9533Beta Was this translation helpful? Give feedback.
All reactions