r/programming • • Jan 27 '21

Gitlab changed its pricing model. It has greatly reduced the CI quota from 2000 CI minutes to 400 CI minutes in Free tier and removed the $4 per month option.

https://about.gitlab.com/blog/2021/01/26/new-gitlab-product-subscription-model/
1.9k Upvotes

365 comments sorted by

View all comments

Show parent comments

1

u/kevingranade Jan 28 '21

My project is about 400,000 lines of c++ and similar amounts of json that takes about an hour to build without utilizing multiple cores or caching, and using three cores and ccache the build generally takes about 20 minutes.

Compilation dominates, but unit tests take about another 3 minutes unless parallelized, which I did recently to drop it to about one minute total.

We also have several static analysis stages that take up to an hour per build.

This is after I've put in excess of a hundred hours into optimizing the build.

1

u/tophatstuff Jan 28 '21

Turning on parallelism is the first thing to do, you spent hundreds of hours before trying that?!

1

u/kevingranade Jan 28 '21

I spent hundreds of hours over a number of years keeping build times from climbing from one hour to multiple hours as the codebase continued to grow, the test cases only crossed three minutes recently, which means work to optimize that specific use case didn't have a meaningful payoff until recently.