Skip to content

Commit 717bf4c

Browse files
committed
bold times
1 parent 9641fc9 commit 717bf4c

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
@@ -588,9 +588,12 @@ macro btime(args...)
588588
local $trialmin = $BenchmarkTools.minimum($trial)
589589
local $trialmean = $BenchmarkTools.mean($trial)
590590
local $trialallocs = $BenchmarkTools.allocs($trialmin)
591-
$print(" min ", $BenchmarkTools.prettytime($BenchmarkTools.time($trialmin)),
592-
", mean ", $BenchmarkTools.prettytime($BenchmarkTools.time($trialmean)),
593-
" (", $trialallocs , " allocation", $trialallocs == 1 ? "" : "s")
591+
$print(" min ")
592+
$printstyled($BenchmarkTools.prettytime($BenchmarkTools.time($trialmin)); bold=true)
593+
$print(", ")
594+
$print("mean ")
595+
$printstyled($BenchmarkTools.prettytime($BenchmarkTools.time($trialmean)); bold=true)
596+
$print(" (", $trialallocs , " allocation", $trialallocs == 1 ? "" : "s")
594597
if $trialallocs != 0
595598
$print(", ", $prettymemory($memory($trialmin)))
596599
end

0 commit comments

Comments
 (0)