Skip to content

Instantly share code, notes, and snippets.

@uucidl
Last active November 6, 2022 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uucidl/b35baeb2dceaff48537650e1b85b5fcd to your computer and use it in GitHub Desktop.
Save uucidl/b35baeb2dceaff48537650e1b85b5fcd to your computer and use it in GitHub Desktop.
Notes about compilation time

When building programs with user interfaces*, there are parts that cannot be tested formally with either types or automated tests, because they require a human to test how things "feel."

In that context, long compile times lengthen the build-evaluate feedback loop to a point that harms quality.

  • also note that APIs are user interfaces. So this harms way more than just programs with GUIs.

@url: https://www.youtube.com/watch?v=dnz6y5U0tFs Here he find it normal to build 1M loc of scheme code in 16minutes. "respectable compile time" (It used to be 4min!)

@url: tool by Aras https://github.com/aras-p/ClangBuildAnalyzer

Article on chromium @url: https://randomascii.wordpress.com/2020/03/30/big-project-build-times-chromium/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment