mirror of
https://github.com/BurntSushi/jiff.git
synced 2025-12-23 08:47:45 +00:00
I wasn't sure how I wanted to organize benchmarks when I first started writing them, so I kind just put them all in one file in a very ad hoc way. This commit adds new benchmarks and systematizes things a bit. Namely, benchmarks are now split into modules according to which data type is being operated upon. Moreover, we define some half-assed conversion traits to make `chrono` and `time` values from `jiff` values. We don't include those conversions in benchmarks, but I found it made benchmarks a little nicer to write. Namely, we can just define all of our inputs using Jiff types and then convert them to what we need for measuring other crates. This also ensures we get the conversions correct. |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| Cargo.toml | ||