diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-13 15:45:32 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-13 15:45:32 +0200 |
| commit | fc9b20ba1dbf8ab3547ece455f35be095f2885e0 (patch) | |
| tree | a96b43ca47c2e7852d22616ff3b649d719382c53 /Cargo.toml | |
| parent | tests(basic): Extend to cover repeated sync (diff) | |
| download | atuin-fc9b20ba1dbf8ab3547ece455f35be095f2885e0.zip | |
perf: Add basic profiling framework
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -8,6 +8,7 @@ members = [ resolver = "2" exclude = ["crates/atuin-nucleo/matcher/fuzz"] + [workspace.package] version = "18.16.1" authors = ["Ellie Huxtable <ellie@atuin.sh>"] @@ -21,6 +22,16 @@ readme = "README.md" atuin-nucleo = { path = "crates/atuin-nucleo", version = "0.6.0" } atuin-nucleo-matcher = { path = "crates/atuin-nucleo/matcher", version = "0.3.1" } +[profile.profiling] +inherits = "release" +debug = true + +[profile.release] +lto = true +codegen-units = 1 +panic = "abort" +split-debuginfo = "off" + [workspace.lints.rust] # rustc lint groups https://doc.rust-lang.org/rustc/lints/groups.html warnings = "warn" |
