diff --git a/vlib/benchmark/benchmark.v b/vlib/benchmark/benchmark.v index b0f4b4d036..5fdf1ee46e 100644 --- a/vlib/benchmark/benchmark.v +++ b/vlib/benchmark/benchmark.v @@ -188,7 +188,7 @@ pub fn (b &Benchmark) step_message_with_label_and_duration(label string, msg str } } if opts.preparation > 0 { - return '${label:-5s} [${sprogress}] C: ${f64(opts.preparation.microseconds()) / 1_000.0:6.1F} ms, R: ${timed_line}' + return '${label:-5s} [${sprogress}] C: ${f64(opts.preparation.microseconds()) / 1_000.0:7.1F} ms, R: ${timed_line}' } return '${label:-5s} [${sprogress}] ${timed_line}' } diff --git a/vlib/v/gen/c/coutput_test.v b/vlib/v/gen/c/coutput_test.v index 26d2c55eaf..66edd689c9 100644 --- a/vlib/v/gen/c/coutput_test.v +++ b/vlib/v/gen/c/coutput_test.v @@ -76,7 +76,7 @@ fn test_out_files() { n_expected := normalize_panic_message(expected, vroot) if found.contains('================ V panic ================') { if n_found.starts_with(n_expected) { - println('${term.green('OK (panic)')} C:${compile_ms:5}ms, R:${run_ms:2}ms ${label}') + println('${term.green('OK (panic)')} C:${compile_ms:6}ms, R:${run_ms:2}ms ${label}') continue } else { // Both have panics, but there was a difference... @@ -88,7 +88,7 @@ fn test_out_files() { } } if expected != found { - println('${term.red('FAIL')} C:${compile_ms:5}ms, R:${run_ms:2}ms ${label}') + println('${term.red('FAIL')} C:${compile_ms:6}ms, R:${run_ms:2}ms ${label}') println(term.header('expected:', '-')) println(expected) println(term.header('found:', '-')) @@ -101,7 +101,7 @@ fn test_out_files() { } total_errors++ } else { - println('${term.green('OK ')} C:${compile_ms:5}ms, R:${run_ms:2}ms ${label}') + println('${term.green('OK ')} C:${compile_ms:6}ms, R:${run_ms:2}ms ${label}') } } assert total_errors == 0