TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How long are your build times?

3 pointsby davikr10 months ago
As someone who tends to code in C++, I was really impressed to hear from Pascal developers about them getting thousands of lines compiled per second in the 2000s, after all, a fast read-evaluate loop is useful when solving unknown problems.

3 comments

PaulHoule10 months ago
I had a system with a 40 minute build long ago, which I was able to get to 20.<p>I worked on a system that was polyglot but mostly Scala and Javascript that was heavily dockerized and would stand up all the containers to make a working instance of the system. I told the CEO and Eng Manager that it would take 20 minutes to do a full build, the Eng Manager said &quot;no way it would take that long&quot;, it really took 18,<p>I work on a system which is Java and Javascript now with about 10 packages. Right now I have a Python script running which sanity checks the packages, merges in any changes from the branches that can be done automatically, and builds and tests everything in the Java world as well as some Javascript where the JS build is managed by Maven. Package build times range from 8 sec to about 3 min. In all the process takes less than 10 minutes where I am free to think about something else.<p>With the Javascript stuff I have some that uses a Babel (CRA) buildchain and and another one that uses Vite + SWC. One large project with the CRA chain takes between 10 and 40 sec to boot the server after which the application is fully available, the Vite server boots in only 380 ms. It builds when you load the page and uses a cache heavily the time to serve a page is variable, I&#x27;d say between imperceptible and 3 sec for a small application. The production build takes 40 sec for a 1.4 MB bundle with CRA and 3.12 sec for a 1MB bundle with SWC.<p>For my side projects lately I have been using Python and don&#x27;t really have a build at all. I use the uv package manager which works almost instantaneously when it has a warm cache and, unlike pip, has a correct resolution algorithm. My dev server supports autoloading so I frequently just change my code and interact with it immediately. A full reboot takes maybe 3 seconds. I have two &quot;production&quot; Gunicorn servers together with celery worker pools, rebooting all of them to respect a change is still a matter of looking at my runbook and doing maybe 30s-1min worth of steps because I don&#x27;t do it often.
lawls10 months ago
Using the latest Delphi (Object Pascal), I can build a 1,698,310 line project in 35.5 seconds. I&#x27;ve never worked with other languages, career wise, so I have no idea how it compares. I just know what I&#x27;ve read, and it&#x27;s that Pascal compiles pretty fast.
monsecchris10 months ago
Full build on pi2 is 2weeks. Full build on desktop is about a 2hours. About a million lines of code and 300 dependencies.