-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
46 lines (42 loc) · 1.19 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "app-benchmark"
authors = ["yarenty <yarenty@gmail.com>"]
version = "0.3.1"
edition = "2021"
repository = "https://github.com/yarenty/app_benchmark"
homepage = "https://github.com/yarenty/app_benchmark"
license = "MIT OR Apache-2.0"
readme = "README.md"
description = "Benchmarking for one-shot applicaitions - running on top of GNU Time app. (Use app-tracer for long running processes like servers, streaming)."
categories = ["command-line-utilities"]
keywords = [
"benchmark",
"monitor",
"trace",
"tracing",
"observability"
]
[dependencies]
tokio = { version = "1", features = ["full"] }
humantime = "2"
clap = { version = "3.2", features = ["derive", "color"]}
poloto = "15.2"
tagger ="4"
chrono ="0.4"
log = "0.4"
env_logger = "0.9"
thiserror = "1"
csv = "1"
serde = "1"
serde_derive = "1"
itertools = "0.10"
color-eyre = "0.6"
[[bin]]
name = "benchmark"
path = "src/benchmark.rs"
[profile.release]
panic = "abort" # Strip expensive panic clean-up logic
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
lto = true # Enables link to optimizations
opt-level = "s" # Optimize for binary size - try "z"
strip = true # remove if using bloat