diff --git a/.gitignore b/.gitignore index 2014045..9a75e6a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ /target /test *~ + +flamegraph.svg +perf* diff --git a/Cargo.toml b/Cargo.toml index dc938ca..8f3742c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,6 +7,12 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[profile.release] +opt-level = 3 +lto = "fat" +codegen-units = 1 +panic = "unwind" + [features] default = ["threads"]