You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a look on your pipelines. Yes, they are taking some considerable time and are executed often.
In general the pipeline seems well written and uses best practices like using matrix.
However, each per-matrix execution will duplicate the entire job. In our case this means that we are executing long-lasting steps like installing dependencies twice, and it takes 3.5-4 minutes to do it per step. It obviously doubles for each browser.
So in general it looks the following way for the billing:
chrome run ~ 7-8 minutes
firefox run ~ 9-10 minutes
The total billable time is 18 minutes.
The total billable time for installing dependencies is 7-8 minutes.
With 4 browsers it will be clearly more.
I don't currently see a better way to optimize it except removing the matrix and doing npm run sequentially. This will increase the overall job execution time, but will decrease the billable time. Also this will require some steps tuning like if always() in order to run tests even if the previous one has failed.
The text was updated successfully, but these errors were encountered:
I had a look on your pipelines. Yes, they are taking some considerable time and are executed often.
In general the pipeline seems well written and uses best practices like using matrix.
However, each per-matrix execution will duplicate the entire job. In our case this means that we are executing long-lasting steps like installing dependencies twice, and it takes 3.5-4 minutes to do it per step. It obviously doubles for each browser.
So in general it looks the following way for the billing:
chrome run ~ 7-8 minutes
firefox run ~ 9-10 minutes
The total billable time is 18 minutes.
The total billable time for installing dependencies is 7-8 minutes.
With 4 browsers it will be clearly more.
I don't currently see a better way to optimize it except removing the matrix and doing npm run sequentially. This will increase the overall job execution time, but will decrease the billable time. Also this will require some steps tuning like if always() in order to run tests even if the previous one has failed.
The text was updated successfully, but these errors were encountered: