diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-19 01:26:21 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-19 01:26:21 +0900 |
| commit | 4d60fa5632246d5e1c355573dc0fd0e85ca3dcd3 (patch) | |
| tree | 7cfd915a7fb6e568c6a0664843cba7f76eaa585f /cmd/mbf/main.go | |
| parent | 8807cbc7305e424725b2be8eed7ecd9234f7772e (diff) | |
internal/rosa: evaluate packages late
This also enables concurrent evaluation.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/mbf/main.go')
| -rw-r--r-- | cmd/mbf/main.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go index 1910a100..86a3aa1e 100644 --- a/cmd/mbf/main.go +++ b/cmd/mbf/main.go @@ -84,15 +84,15 @@ func main() { flagArch string flagCheck bool flagLTO bool - flagET bool + flagPT bool flagCrossOverride int addr net.UnixAddr ) c := command.New(os.Stderr, log.Printf, "mbf", func([]string) error { - if flagET { - log.Println("evaluated in", rosa.EvalTime()) + if flagPT { + log.Println("parsed in", rosa.ParseTime()) } msg.SwapVerbose(!flagQuiet) @@ -189,9 +189,9 @@ func main() { "socket", command.StringFlag("$MBF_DAEMON_SOCKET"), "Pathname of socket to bind to", ).Flag( - &flagET, - "eval-time", command.BoolFlag(false), - "Print duration of the initial azalea evaluation", + &flagPT, + "parse-time", command.BoolFlag(false), + "Print duration of the initial azalea parse", ) c.NewCommand( |
