dd-trace-js icon indicating copy to clipboard operation
dd-trace-js copied to clipboard

[Do not merge!] Add benchmark scenario

Open jbertran opened this issue 2 years ago • 3 comments

jbertran avatar Oct 04 '23 12:10 jbertran

Overall package size

Self size: 5.4 MB Deduped: 58.46 MB No deduping: 58.63 MB

Dependency sizes

name version self size total size
@datadog/native-iast-taint-tracking 1.6.1 14.96 MB 14.97 MB
@datadog/native-appsec 4.0.0 14.83 MB 14.83 MB
@datadog/pprof 4.0.0 8.25 MB 9.1 MB
protobufjs 7.2.4 2.74 MB 6.52 MB
@datadog/native-iast-rewriter 2.1.3 2.23 MB 2.32 MB
@opentelemetry/core 1.14.0 872.87 kB 1.47 MB
@datadog/native-metrics 2.0.0 898.77 kB 1.3 MB
@opentelemetry/api 1.4.1 780.32 kB 780.32 kB
import-in-the-middle 1.4.2 41.4 kB 704.79 kB
msgpack-lite 0.1.26 201.16 kB 281.59 kB
opentracing 0.14.7 194.81 kB 194.81 kB
semver 7.5.4 93.4 kB 123.8 kB
@datadog/sketches-js 2.1.0 109.9 kB 109.9 kB
lodash.sortby 4.7.0 75.76 kB 75.76 kB
lru-cache 7.14.0 74.95 kB 74.95 kB
ipaddr.js 2.1.0 60.23 kB 60.23 kB
ignore 5.2.4 51.22 kB 51.22 kB
int64-buffer 0.1.10 49.18 kB 49.18 kB
istanbul-lib-coverage 3.2.0 29.34 kB 29.34 kB
lodash.uniq 4.5.0 25.01 kB 25.01 kB
limiter 1.1.5 23.17 kB 23.17 kB
retry 0.13.1 18.85 kB 18.85 kB
lodash.kebabcase 4.1.1 17.75 kB 17.75 kB
node-abort-controller 3.1.1 16.89 kB 16.89 kB
lodash.pick 4.4.0 16.33 kB 16.33 kB
jest-docblock 29.7.0 8.99 kB 12.76 kB
crypto-randomuuid 1.0.0 11.18 kB 11.18 kB
diagnostics_channel 1.1.0 7.07 kB 7.07 kB
path-to-regexp 0.1.7 6.78 kB 6.78 kB
koalas 1.0.2 6.47 kB 6.47 kB
methods 1.1.2 5.29 kB 5.29 kB
module-details-from-path 1.0.3 4.47 kB 4.47 kB

🤖 This report was automatically generated by heaviest-objects-in-the-universe

github-actions[bot] avatar Oct 04 '23 12:10 github-actions[bot]

Codecov Report

Attention: Patch coverage is 15.00000% with 68 lines in your changes missing coverage. Please review.

Project coverage is 84.28%. Comparing base (ce0e77d) to head (0c7cef7). Report is 626 commits behind head on master.

Files with missing lines Patch % Lines
packages/dd-trace/src/payload-tagging/tagger.js 10.86% 41 Missing :warning:
packages/dd-trace/src/payload-tagging/filter.js 6.89% 27 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3680      +/-   ##
==========================================
- Coverage   85.23%   84.28%   -0.95%     
==========================================
  Files         225      225              
  Lines        9215     9143      -72     
  Branches       33       33              
==========================================
- Hits         7854     7706     -148     
- Misses       1361     1437      +76     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Oct 04 '23 12:10 codecov[bot]

Benchmarks

Benchmark execution time: 2023-10-10 14:53:10

Comparing candidate commit 0c7cef787c863e52dd2198dc41b9ef6f94005d6f in PR branch jbertran/http-payloads with baseline commit ce0e77d15e3885ae3cad78d771e290a9a5539017 in branch master.

Found 2 performance improvements and 2 performance regressions! Performance is the same for 418 metrics, 10 unstable metrics.

scenario:appsec-iast-no-vulnerability-control-16

  • 🟥 execution_time [+50.962ms; +75.636ms] or [+8.097%; +12.017%]
  • 🟩 cpu_usage_percentage [-8.337%; -5.501%]

scenario:appsec-iast-no-vulnerability-control-18

  • 🟥 execution_time [+48.892ms; +78.534ms] or [+8.358%; +13.426%]
  • 🟩 cpu_usage_percentage [-9.917%; -5.957%]

pr-commenter[bot] avatar Oct 04 '23 12:10 pr-commenter[bot]