Skip to content

Commit 993f7df

Browse files
committed
perf(pipeline): use faster top-level detection
Agentless export computes top-level markers before obfuscation. The pinned libdatadog revision removes per-span service clones, reducing the 5,000 one-span top-level phase from 0.71-0.83 ms to 0.44-0.56 ms in release runs.
1 parent e9952db commit 993f7df

3 files changed

Lines changed: 25 additions & 25 deletions

File tree

Cargo.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/capabilities/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ http = "1"
1515
bytes = "1.4"
1616
futures-core = "0.3"
1717
anyhow = "1"
18-
libdd-capabilities = { git = "https://github.com/DataDog/libdatadog.git", rev = "da0463bb928795bf21a0f45e177169c144d17424" }
18+
libdd-capabilities = { git = "https://github.com/DataDog/libdatadog.git", rev = "c866d41e304625b32b1da1c065c506f2f073795e" }
1919

2020
[dev-dependencies]
2121
wasm-bindgen-test = "0.3"

crates/pipeline/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ js-sys = "0.3"
1414
serde = { version = "1.0", features = ["derive"] }
1515
serde_json = "1"
1616
libdatadog-nodejs-capabilities = { path = "../capabilities" }
17-
libdd-capabilities = { git = "https://github.com/DataDog/libdatadog.git", rev = "da0463bb928795bf21a0f45e177169c144d17424" }
18-
libdd-common = { git = "https://github.com/DataDog/libdatadog.git", rev = "da0463bb928795bf21a0f45e177169c144d17424", default-features = false }
19-
libdd-data-pipeline = { git = "https://github.com/DataDog/libdatadog.git", rev = "da0463bb928795bf21a0f45e177169c144d17424", default-features = false, features = ["agentless", "telemetry"] }
20-
libdd-trace-utils = { git = "https://github.com/DataDog/libdatadog.git", rev = "da0463bb928795bf21a0f45e177169c144d17424", default-features = false, features = ["change-buffer"] }
21-
libdd-trace-stats = { git = "https://github.com/DataDog/libdatadog.git", rev = "da0463bb928795bf21a0f45e177169c144d17424", default-features = false }
22-
libdd-trace-protobuf = { git = "https://github.com/DataDog/libdatadog.git", rev = "da0463bb928795bf21a0f45e177169c144d17424", default-features = false }
23-
libdd-shared-runtime = { git = "https://github.com/DataDog/libdatadog.git", rev = "da0463bb928795bf21a0f45e177169c144d17424", default-features = false }
17+
libdd-capabilities = { git = "https://github.com/DataDog/libdatadog.git", rev = "c866d41e304625b32b1da1c065c506f2f073795e" }
18+
libdd-common = { git = "https://github.com/DataDog/libdatadog.git", rev = "c866d41e304625b32b1da1c065c506f2f073795e", default-features = false }
19+
libdd-data-pipeline = { git = "https://github.com/DataDog/libdatadog.git", rev = "c866d41e304625b32b1da1c065c506f2f073795e", default-features = false, features = ["agentless", "telemetry"] }
20+
libdd-trace-utils = { git = "https://github.com/DataDog/libdatadog.git", rev = "c866d41e304625b32b1da1c065c506f2f073795e", default-features = false, features = ["change-buffer"] }
21+
libdd-trace-stats = { git = "https://github.com/DataDog/libdatadog.git", rev = "c866d41e304625b32b1da1c065c506f2f073795e", default-features = false }
22+
libdd-trace-protobuf = { git = "https://github.com/DataDog/libdatadog.git", rev = "c866d41e304625b32b1da1c065c506f2f073795e", default-features = false }
23+
libdd-shared-runtime = { git = "https://github.com/DataDog/libdatadog.git", rev = "c866d41e304625b32b1da1c065c506f2f073795e", default-features = false }
2424
rmp-serde = "1"
2525
bytes = "1"
2626
http = "1"

0 commit comments

Comments
 (0)