HACKER Q&A
📣 osigurdson

What's the compile time of your project?


10 minutes for me


  👤 cookiengineer Accepted Answer ✓
Less than half a second for compilation, per target os+architecture. Test suites ofc take a little longer if there's a network dependency.

Golang ;)


👤 pmontra
The first three replies are about build and tests times. In case you are interested into truly compile times, mine are zero because all my customers are using interpreted languages now. I had one with Elixir but we rarely compiled all the project from scratch. The build server did though but I don't have access to the logs now. It was subjectively pretty slow. Tests were much slower.

👤 danieka
About 1.5 minutes for the build which is Vue 2 + Vuetify + Vite.

Our e2e test with Cypress take about 1.5 hours, but with parallelisation we get this down to about 10 minutes, half of which is setting up the Docker environment.


👤 t90fan
15-40 minutes depending on what tests are run/skipped (the integration tests are pretty numerous/slow)

👤 sixthDot
lexical passes duration: 0 min(s), 0 sec(s), 79 msec(s)

semantic passes duration: 0 min(s), 0 sec(s), 272 msec(s)

irgen pass duration: 0 min(s), 2 sec(s), 431 msec(s)

linking duration: 0 min(s), 0 sec(s), 70 msec(s)

for 25kslocs.


👤 quickthrower2
A minute? But build time is much longer (packaging, tests, etc.)

👤 okl
Once worked on a project that was regularly compiled by each developer/tester on their respective company laptops. The laptops had a weird mix of "security" software that "battled" each other in the background. Took ca. 25 minutes to compile. For fun a colleague compiled it on some project server, took less than a minute. Everyone in the department was furious when they found out.

👤 white_dragon88
Angular 20 secs debug, 2-3 mins with minification

And server uses esbuild, happens under a second