mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v2: support -stats for _test.v files
This commit is contained in:
@@ -197,7 +197,7 @@ pub fn (b &Benchmark) total_duration() i64 {
|
||||
fn (b &Benchmark) tdiff_in_ms(s string, sticks i64, eticks i64) string {
|
||||
if b.verbose {
|
||||
tdiff := (eticks - sticks)
|
||||
return '${tdiff:6lld} ms $s'
|
||||
return '${tdiff:6d} ms $s'
|
||||
}
|
||||
return s
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user