Replies: 1 comment 1 reply
-
Hey @niklaas thank you for reporting this. I believe this is not yet known, so if you could open an issue for it, that would be great! |
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
-
We're investigating a performance issue that we see if
--import dd-trace/register.js
is imported to trace a vitest test suite. The issue is noticeable both locally and in GitHub actions. Please note theDuration
lines and the summary below:GitHub actions
ubuntu-latest-4core
with--import dd-trace/register.js
:GitHub actions
ubuntu-latest-4core
without--import dd-trace/register.js
:Apple M3 Max with
--import dd-trace/register.js
:Apple M3 Max without
--import dd-trace/register.js
:In general, we notice that the execution time can take more than twice the time with the import:
ubuntu-lates-4core
Is this a known issue? Maybe even expected due to the way vitest works? Somebody else experiencing the same?
For what it's worth, there is another performance related discussion at vitest-dev/vitest#6223 about the big difference between local execution and execution with GitHub runners without mentioning
dd-trace
. However, since I can demonstrate a similar impact to the execution time no matter the environment, I think I have ruled out that it's an environment issue alone.Beta Was this translation helpful? Give feedback.
All reactions