mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-08-06 20:49:46 +00:00
79035ea972
- Add measure_all to PeerMap and CidrSet impl blocks (hotpath::measure_all) - Add [profile.hotpath] for samply-compatible builds (strip=false, debug=line-tables-only) - Add cpu_hotspot_ring example: 2-node ring tunnel with data-plane flooding (~234K pps) - Add plans/006-send-chain-cpu-optimization.md based on hotpath+samply 423M sample analysis Key findings: dashmap redundancy (14.9%), metrics overhead (8.3%), mpsc (14.1%) Target: reduce send_msg_internal from 3.26us to ~2us per packet
36 lines
703 B
TOML
36 lines
703 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"easytier",
|
|
"easytier-gui/src-tauri",
|
|
"easytier-web",
|
|
"easytier-contrib/easytier-ffi",
|
|
"easytier-contrib/easytier-uptime",
|
|
"easytier-contrib/easytier-android-jni",
|
|
]
|
|
default-members = ["easytier", "easytier-web"]
|
|
exclude = [
|
|
"easytier-contrib/easytier-ohrs", # it needs ohrs sdk
|
|
]
|
|
|
|
[workspace.package]
|
|
edition = "2024"
|
|
rust-version = "1.95"
|
|
|
|
[profile.dev]
|
|
panic = "unwind"
|
|
debug = 2
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
lto = true
|
|
codegen-units = 1
|
|
opt-level = 3
|
|
strip = true
|
|
|
|
# For hotpath CPU profiling: samply needs debug symbols and unstripped binaries.
|
|
[profile.hotpath]
|
|
inherits = "release"
|
|
strip = false
|
|
debug = "line-tables-only"
|