third_party_rust_quote/benches
2022-08-31 00:29:08 -07:00
..
Cargo.toml Sort package entries in Cargo.toml 2022-07-31 19:19:04 -07:00
lib.rs Include a non-default span in proc macro benchmark 2021-12-26 13:48:05 -08:00
main.rs Include a non-default span in proc macro benchmark 2021-12-26 13:48:05 -08:00
README.md Add an example output in benchmark readme 2021-12-26 14:14:55 -08:00
timer.rs Ignore using destructuring assignment to wildcard pattern 2022-08-31 00:29:08 -07:00

Example output:

$ cargo run && cargo run --release

   Compiling quote v1.0.10
   Compiling quote-benchmark v0.0.0
macro in debug mode: 1655 micros
    Finished dev [unoptimized + debuginfo] target(s) in 4.39s
     Running `/git/quote/target/debug/quote-benchmark`
non-macro in debug mode: 1205 micros
   Compiling quote v1.0.10
   Compiling quote-benchmark v0.0.0
macro in release mode: 1635 micros
    Finished release [optimized] target(s) in 4.00s
     Running `/git/quote/target/release/quote-benchmark`
non-macro in release mode: 105 micros