4 ms·
Ask HN: What's the compile time of your project?
10 minutes for me
- t90fan 3y ago15-40 minutes depending on what tests are run/skipped (the integration tests are pretty numerous/slow)
- danieka 3y agoAbout 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.
- pmontra 3y agoThe 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.
- osigurdson 3y agoI was mostly interested in build times. My test suite normally takes about 12-16 hours to run. Running all tests takes a few days.
- quickthrower2 3y agoA minute? But build time is much longer (packaging, tests, etc.)
- cookiengineer 3y agoLess than half a second for compilation, per target os+architecture. Test suites ofc take a little longer if there's a network dependency. Golang ;)
- osigurdson 3y agoHow many LOC?
- cookiengineer 3y ago> find . -name "*.go" | xargs wc - l; 25875642 total (Technically, some parts of the application are embedded via `//go:embed`, and their contents decompressed and deserialized when the binary is started via `init()` methods; but those are not included in the wc -l command because they're embedded as `.json.gz` files (and ofc presorted so gzip is much more efficient).
- sixthDot 3y agolexical 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.
- okl 3y agoOnce 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 3y ago[dead]