@@ -624,7 +624,7 @@ final class TestRunner {
624
624
if justify == . right {
625
625
printSpaces ( pad)
626
626
}
627
- print ( s)
627
+ print ( s, terminator : " " )
628
628
if justify == . left {
629
629
printSpaces ( pad)
630
630
}
@@ -648,9 +648,11 @@ final class TestRunner {
648
648
649
649
func printText( index: Int , info: BenchmarkInfo , results: BenchResults ? ) {
650
650
printToWidth ( index. description, width: 4 , justify: . right)
651
+ printSpaces ( 1 )
651
652
printToWidth ( info. name, width: c. testNameLength)
652
653
653
654
if let results = results {
655
+ printToWidth ( String ( describing: results. samples. count) , width: 10 , justify: . right)
654
656
if results. samples. count > 0 {
655
657
let min = results. samples. sorted ( ) . first!
656
658
printDoubleToWidth ( min, width: 10 )
@@ -662,8 +664,10 @@ final class TestRunner {
662
664
663
665
func printTextHeading( ) {
664
666
printToWidth ( " # " , width: 4 , justify: . right)
665
- printToWidth ( " Name " , width: c. testNameLength, justify: . left)
666
- printToWidth ( " Minimum " , width: 10 , justify: . right)
667
+ printSpaces ( 1 )
668
+ printToWidth ( " TEST " , width: c. testNameLength, justify: . left)
669
+ printToWidth ( " SAMPLES " , width: 10 , justify: . right)
670
+ printToWidth ( " MIN " , width: 10 , justify: . right)
667
671
print ( )
668
672
}
669
673
0 commit comments