Add benchmark chart

This commit is contained in:
David Tolnay 2016-06-25 14:35:57 -07:00
parent 92e5b742e9
commit f9a75c0c39
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
3 changed files with 5 additions and 0 deletions

View File

@ -6,3 +6,4 @@ license = "MIT/Apache-2.0"
description = "Fast functions for printing integer primitives to an io::Write" description = "Fast functions for printing integer primitives to an io::Write"
repository = "https://github.com/dtolnay/itoa" repository = "https://github.com/dtolnay/itoa"
documentation = "https://github.com/dtolnay/itoa" documentation = "https://github.com/dtolnay/itoa"
include = ["Cargo.toml", "src/**/*.rs"]

View File

@ -11,6 +11,10 @@ implementation comes straight from
but avoids the performance penalty of going through but avoids the performance penalty of going through
[`fmt::Formatter`](https://doc.rust-lang.org/std/fmt/struct.Formatter.html). [`fmt::Formatter`](https://doc.rust-lang.org/std/fmt/struct.Formatter.html).
## Performance
![performance](https://raw.githubusercontent.com/dtolnay/itoa/master/performance.png)
## Functions ## Functions
```rust ```rust

BIN
performance.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB