Replies: 1 comment
-
Hey 👋🏼, First of all, I think traf as a tool can be better at telling what can be improved, In general I think 6 mins is a lot but still way better than ci runs for unnecessary libs/apps. A quick win will be to make sure tsconfigs aren't including spec/storybook files Other than that, I have some improvements in mind, I'm more than willing to look into it together, would you like to schedule a call so we can look over your usecase? |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I want to test
traf
on a real project using Nx monorepo. Unfortunately, the timetraf
requires to find the affected changes is super long, it takes ~405 seconds (6 minutes, 45 seconds) to find affected changes whereasnx print-affected
does the job within 2.5 seconds.Are there any "gotchas" when it comes to repository/code structure that I should be aware of, possibly causing the timings to be so big?
Here's a benchmark done with
hyperfine
on 14" Apple MacBook 2021 M1 Pro (16GB RAM)My monorepo consists of:
Can you guide me to where can be my issue? Unfortunately, I can't share access to the repository.
Wasn't sure whether to post it as an issue or discussion, chose the latter.
Beta Was this translation helpful? Give feedback.
All reactions