Skip to content

Commit

Permalink
try teardown
Browse files Browse the repository at this point in the history
  • Loading branch information
iunanua committed Oct 21, 2024
1 parent 2574621 commit 0b72300
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions benchmark/sirun/appsec-iast/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
"iterations": 1,
"variants": {
"startup-time-control": {
"run": "node --cpu-prof --require ../../../init.js insecure-bank.js",
"run": "node --cpu-prof --cpu-prof-name control.cpuprofile --require ../../../init.js insecure-bank.js",
"run_with_affinity": "bash -c \"taskset -c $CPU_AFFINITY node --require ../../../init.js insecure-bank.js\"",
"teardown": "cat *cpuprofile && cp *cpuprofile /go/src/github.com/DataDog/apm-reliability/dd-trace-js/platform/artifacts/",
"teardown": "cp ./control.cpuprofile /go/src/github.com/DataDog/apm-reliability/dd-trace-js/platform/artifacts/",
"env": {
"DD_IAST_ENABLED": "0"
}
},
"startup-time-iast-enabled": {
"run": "node --cpu-prof --require ../../../init.js insecure-bank.js && cat *cpuprofile && cp *cpuprofile /go/src/github.com/DataDog/apm-reliability/dd-trace-js/platform/artifacts/",
"run": "node --cpu-prof --cpu-prof-name iast.cpuprofile --require ../../../init.js insecure-bank.js && cat *cpuprofile && cp *cpuprofile /go/src/github.com/DataDog/apm-reliability/dd-trace-js/platform/artifacts/",
"run_with_affinity": "bash -c \"taskset -c $CPU_AFFINITY node --require ../../../init.js insecure-bank.js\"",
"baseline": "startup-time-control",
"teardown": "cat *cpuprofile && cp *cpuprofile /go/src/github.com/DataDog/apm-reliability/dd-trace-js/platform/artifacts/",
"teardown": "cp ./iast.cpuprofile /go/src/github.com/DataDog/apm-reliability/dd-trace-js/platform/artifacts/",
"env": {
"DD_IAST_ENABLED": "1"
}
Expand Down

0 comments on commit 0b72300

Please sign in to comment.