Zulip Chat Archive

Stream: lean4

Topic: Speeding up compilation


Leni Aniva (Apr 15 2025 at 21:59):

I have a Lean library and some of the files take a long time to compile. These files don't contain many tactics and are metaprogramming heavy. Is there a way to speed up compilation? Is there a way to check which part of the code takes so long to compile.

Henrik Böving (Apr 15 2025 at 22:31):

You can use set_option trace.profiler true to get a first picture


Last updated: May 02 2025 at 03:31 UTC