# Build profile Where the cost of elaborating the tree goes, at main `57f8d38`. 2,587 Lean files were counted; together they take 56.82 T instructions (T is 10¹², G is 10⁹). ## The ten costliest files | | file | instructions | share of the tree | |---|---|---|---| | 1 | `Euler/EulerProof.lean` | 1,413.80 G | 2.49% | | 2 | `NavierStokes/PositiveAxisSystem.lean` | 327.00 G | 0.58% | | 3 | `NavierStokes/CorrectionInitialization.lean` | 296.02 G | 0.52% | | 4 | `NavierStokes/ActualSignedPhysicalBinding.lean` | 276.77 G | 0.49% | | 5 | `NavierStokes/ActualParticularDynamics.lean` | 254.25 G | 0.45% | | 6 | `Euler/BoundedFieldCalculus.lean` | 237.96 G | 0.42% | | 7 | `NavierStokes/ActualCandidateConstruction.lean` | 229.81 G | 0.40% | | 8 | `NavierStokes/ActivationCone.lean` | 200.30 G | 0.35% | | 9 | `NavierStokes/PulseCone.lean` | 199.81 G | 0.35% | | 10 | `NavierStokes/ShapedWaitBounds.lean` | 187.93 G | 0.33% | The ten are 6.4% of the whole and the hundred costliest 21.9%: the profile is flat, as Lean Pool found on its copy. A speed-up of one file is a small part of the build. ## How it is counted Each file is elaborated alone, on one thread, with synchronous elaboration (`lean -j1 -DElab.async=false` and the lakefile's options) against the compiled tree, under `perf stat -e instructions:u`. The count is instructions retired in user space. Two runs of it on 665 unchanged files, an hour apart on a machine doing other work, differed by 0.01% at the median and by 0.42% at most, so two trees can be compared without an idle machine. It is not a time, and it leaves out what `lake` itself does. What this page does not show: the wall-clock time of a build on your machine, or which files hold up a parallel build (that depends on the import graph).