Zulip Chat Archive

Stream: mathlib4

Topic: time a single test file


Rob Lewis (Dec 22 2023 at 16:23):

This is probably a silly question, but I haven't had to do it in the Lean4 era yet and can't find the right incantation. I'm trying to profile a single file in the test directory. What's the proper way to measure the build time? (Equivalently, how do I tell lake to build one file in test?)

Mario Carneiro (Dec 22 2023 at 16:25):

lake env lean Test.lean

Mario Carneiro (Dec 22 2023 at 16:25):

lake env time lean Test.lean


Last updated: May 02 2025 at 03:31 UTC