|
1 | 1 | {
|
2 | 2 | "name": "plugin-http",
|
3 |
| - "cachegrind": true, |
4 |
| - "iterations": 10, |
| 3 | + "cachegrind": false, |
| 4 | + "iterations": 20, |
5 | 5 | "variants": {
|
6 | 6 | "client-control": {
|
7 | 7 | "setup": "bash -c \"nohup node server.js >/dev/null 2>&1 &\"",
|
| 8 | + "setup_with_affinity": "bash -c \"nohup taskset -c $CPU_AFFINITY node server.js >/dev/null 2>&1 &\"", |
8 | 9 | "run": "node client.js",
|
| 10 | + "run_with_affinity": "bash -c \"taskset -c $CPU_AFFINITY node client.js\"", |
9 | 11 | "env": {
|
10 | 12 | "CLIENT_USE_TRACER": "0"
|
11 | 13 | }
|
12 | 14 | },
|
13 | 15 | "client-with-tracer": {
|
14 | 16 | "setup": "bash -c \"nohup node server.js >/dev/null 2>&1 &\"",
|
| 17 | + "setup_with_affinity": "bash -c \"nohup taskset -c $CPU_AFFINITY node server.js >/dev/null 2>&1 &\"", |
15 | 18 | "run": "node client.js",
|
| 19 | + "run_with_affinity": "bash -c \"taskset -c $CPU_AFFINITY node client.js\"", |
16 | 20 | "baseline": "client-control",
|
17 | 21 | "env": {
|
18 | 22 | "CLIENT_USE_TRACER": "1"
|
19 | 23 | }
|
20 | 24 | },
|
21 | 25 | "server-control": {
|
22 |
| - "setup": "bash -c \"nohup node client.js >/dev/null 2>&1 &\"", |
23 |
| - "run": "node server.js", |
| 26 | + "setup": "bash -c \"nohup node server.js >/dev/null 2>&1 &\"", |
| 27 | + "setup_with_affinity": "bash -c \"nohup taskset -c $CPU_AFFINITY node server.js >/dev/null 2>&1 &\"", |
| 28 | + "run": "node client.js", |
| 29 | + "run_with_affinity": "bash -c \"taskset -c $CPU_AFFINITY node client.js\"", |
24 | 30 | "env": {
|
25 | 31 | "SERVER_USE_TRACER": "0"
|
26 | 32 | }
|
27 | 33 | },
|
28 | 34 | "server-with-tracer": {
|
29 |
| - "setup": "bash -c \"nohup node client.js >/dev/null 2>&1 &\"", |
30 |
| - "run": "node server.js", |
| 35 | + "setup": "bash -c \"nohup node server.js >/dev/null 2>&1 &\"", |
| 36 | + "setup_with_affinity": "bash -c \"nohup taskset -c $CPU_AFFINITY node server.js >/dev/null 2>&1 &\"", |
| 37 | + "run": "node client.js", |
| 38 | + "run_with_affinity": "bash -c \"taskset -c $CPU_AFFINITY node client.js\"", |
31 | 39 | "baseline": "server-control",
|
32 | 40 | "env": {
|
33 | 41 | "SERVER_USE_TRACER": "1"
|
34 | 42 | }
|
35 | 43 | },
|
36 | 44 | "server-querystring-obfuscation": {
|
37 |
| - "setup": "bash -c \"nohup node client.js >/dev/null 2>&1 &\"", |
38 |
| - "run": "node server.js", |
| 45 | + "setup": "bash -c \"nohup node server.js >/dev/null 2>&1 &\"", |
| 46 | + "setup_with_affinity": "bash -c \"nohup taskset -c $CPU_AFFINITY node server.js >/dev/null 2>&1 &\"", |
| 47 | + "run": "node client.js", |
| 48 | + "run_with_affinity": "bash -c \"taskset -c $CPU_AFFINITY node client.js\"", |
39 | 49 | "baseline": "server-with-tracer",
|
40 | 50 | "env": {
|
41 | 51 | "SERVER_USE_TRACER": "1",
|
|
0 commit comments