Skip to content

Commit 1053204

Browse files
committed
bold times
1 parent a8ca44f commit 1053204

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/execution.jl

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -584,9 +584,12 @@ macro btime(args...)
584584
local $trialmin = $BenchmarkTools.minimum($trial)
585585
local $trialmean = $BenchmarkTools.mean($trial)
586586
local $trialallocs = $BenchmarkTools.allocs($trialmin)
587-
$print(" min ", $BenchmarkTools.prettytime($BenchmarkTools.time($trialmin)),
588-
", mean ", $BenchmarkTools.prettytime($BenchmarkTools.time($trialmean)),
589-
" (", $trialallocs , " allocation", $trialallocs == 1 ? "" : "s")
587+
$print(" min ")
588+
$printstyled($BenchmarkTools.prettytime($BenchmarkTools.time($trialmin)); bold=true)
589+
$print(", ")
590+
$print("mean ")
591+
$printstyled($BenchmarkTools.prettytime($BenchmarkTools.time($trialmean)); bold=true)
592+
$print(" (", $trialallocs , " allocation", $trialallocs == 1 ? "" : "s")
590593
if $trialallocs != 0
591594
$print(", ", $prettymemory($memory($trialmin)))
592595
end

0 commit comments

Comments
 (0)