[#1] mclock: Fix bench format
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
62d5c81455
commit
b21ebb5d00
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ func BenchmarkMClock(b *testing.B) {
|
|||
b.SetParallelism(parallelism)
|
||||
|
||||
noopMClock := &noopMClockScheduler{}
|
||||
b.Run(fmt.Sprintf("noop, %d parallelism", parallelism), func(b *testing.B) {
|
||||
b.Run(fmt.Sprintf("impl=noop/parallelism=%d", parallelism), func(b *testing.B) {
|
||||
b.ResetTimer()
|
||||
b.ReportAllocs()
|
||||
b.RunParallel(func(pb *testing.PB) {
|
||||
|
@ -66,7 +66,7 @@ func BenchmarkMClock(b *testing.B) {
|
|||
if limit != nil {
|
||||
limitStr = strconv.FormatFloat(*limit, 'f', 1, 64)
|
||||
}
|
||||
b.Run(fmt.Sprintf("mclock, %s limit, %s reservation, %d parallelism, %d tags", limitStr, resStr, parallelism, tags), func(b *testing.B) {
|
||||
b.Run(fmt.Sprintf("impl=mclock/limit=%s/reservation=%s/parallelism=%d/tags=%d", limitStr, resStr, parallelism, tags), func(b *testing.B) {
|
||||
b.ResetTimer()
|
||||
b.ReportAllocs()
|
||||
b.RunParallel(func(pb *testing.PB) {
|
||||
|
|
Loading…
Add table
Reference in a new issue