From 42f4a9d7330228ab780fb2af9d5257b50b1d3bfa Mon Sep 17 00:00:00 2001 From: Ugaitz Urien Date: Tue, 20 Jun 2023 10:52:58 +0200 Subject: [PATCH 1/3] Reduce request per iteration in IAST benchmarks --- benchmark/sirun/appsec-iast/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/sirun/appsec-iast/common.js b/benchmark/sirun/appsec-iast/common.js index 1631e10bff7..3d9b9c93c4e 100644 --- a/benchmark/sirun/appsec-iast/common.js +++ b/benchmark/sirun/appsec-iast/common.js @@ -2,5 +2,5 @@ module.exports = { port: 3331 + parseInt(process.env.CPU_AFFINITY || '0'), - reqs: 350 + reqs: 200 } From fe0ca87d82d01255038702e8071ac07455191514 Mon Sep 17 00:00:00 2001 From: Ugaitz Urien Date: Tue, 20 Jun 2023 11:05:33 +0200 Subject: [PATCH 2/3] Reduce a bit more --- benchmark/sirun/appsec-iast/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/sirun/appsec-iast/common.js b/benchmark/sirun/appsec-iast/common.js index 3d9b9c93c4e..d8c75e0e663 100644 --- a/benchmark/sirun/appsec-iast/common.js +++ b/benchmark/sirun/appsec-iast/common.js @@ -2,5 +2,5 @@ module.exports = { port: 3331 + parseInt(process.env.CPU_AFFINITY || '0'), - reqs: 200 + reqs: 150 } From 6622977c60490659b4ff2c897fa3598af6af277c Mon Sep 17 00:00:00 2001 From: Ugaitz Urien Date: Tue, 20 Jun 2023 11:25:00 +0200 Subject: [PATCH 3/3] 30 iterations 200 requests --- benchmark/sirun/appsec-iast/common.js | 2 +- benchmark/sirun/appsec-iast/meta.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmark/sirun/appsec-iast/common.js b/benchmark/sirun/appsec-iast/common.js index d8c75e0e663..3d9b9c93c4e 100644 --- a/benchmark/sirun/appsec-iast/common.js +++ b/benchmark/sirun/appsec-iast/common.js @@ -2,5 +2,5 @@ module.exports = { port: 3331 + parseInt(process.env.CPU_AFFINITY || '0'), - reqs: 150 + reqs: 200 } diff --git a/benchmark/sirun/appsec-iast/meta.json b/benchmark/sirun/appsec-iast/meta.json index ed0717a5e00..8af3619c66d 100644 --- a/benchmark/sirun/appsec-iast/meta.json +++ b/benchmark/sirun/appsec-iast/meta.json @@ -2,7 +2,7 @@ "name": "appsec-iast", "cachegrind": false, "instructions": true, - "iterations": 40, + "iterations": 30, "variants": { "no-vulnerability-control": { "setup": "bash -c \"nohup node client.js >/dev/null 2>&1 &\"",