File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -584,9 +584,12 @@ macro btime(args...)
584
584
local $ trialmin = $ BenchmarkTools. minimum ($ trial)
585
585
local $ trialmean = $ BenchmarkTools. mean ($ trial)
586
586
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" )
590
593
if $ trialallocs != 0
591
594
$ print (" , " , $ prettymemory ($ memory ($ trialmin)))
592
595
end
You can’t perform that action at this time.
0 commit comments