From e553824682c71a1b21d121da286ad21a7e882a90 Mon Sep 17 00:00:00 2001 From: Avril Date: Wed, 30 Dec 2020 12:49:51 +0000 Subject: [PATCH] opt --- .gitignore | 3 +++ Cargo.toml | 6 ++++++ 2 files changed, 9 insertions(+) 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"]