]> git.lizzy.rs Git - rust.git/commit
test: Display benchmark results with thousands separators
authorUlrik Sverdrup <root@localhost>
Sun, 7 Jun 2015 17:23:56 +0000 (19:23 +0200)
committerUlrik Sverdrup <root@localhost>
Tue, 9 Jun 2015 00:50:42 +0000 (02:50 +0200)
commit2b50c157d62f566fc367693cd15d55568fb5e33e
tree8228009d829bd4eefe3c1cb6473dd42787ac8e02
parent32037a5696272f1c34f3692dcdc59b4ada91bdc7
test: Display benchmark results with thousands separators

Example display:

```
running 9 tests
test a ... bench:           0 ns/iter (+/- 0)
test b ... bench:          52 ns/iter (+/- 0)
test c ... bench:          88 ns/iter (+/- 0)
test d ... bench:         618 ns/iter (+/- 111)
test e ... bench:       5,933 ns/iter (+/- 87)
test f ... bench:      59,280 ns/iter (+/- 1,052)
test g ... bench:     588,672 ns/iter (+/- 3,381)
test h ... bench:   5,894,227 ns/iter (+/- 303,489)
test i ... bench:  59,112,382 ns/iter (+/- 1,500,110)
```

Fixes #10953
Fixes #26109
src/libtest/lib.rs