Skip to content

Commit deca1e3

Browse files
authored
Merge pull request #245 from MDA2AV/test/mixed-update
Update mixed to include static and async-db, add results too
2 parents e9a58e1 + 79efe04 commit deca1e3

31 files changed

Lines changed: 13365 additions & 20572 deletions

frameworks/workerman/meta.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"noisy",
1313
"json",
1414
"compression",
15-
"limited-conn",
16-
"mixed"
15+
"limited-conn"
1716
]
1817
}

requests/async-db-get.raw

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
GET /async-db?min=10&max=50 HTTP/1.1
2+
Host: localhost:8080
3+

scripts/benchmark.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ for profile in "${profiles_to_run[@]}"; do
523523
-c "$CONNS" -t "$THREADS" -d "$DURATION" -p "$pipeline")
524524
elif [ "$endpoint" = "mixed" ]; then
525525
gc_args=("http://localhost:$PORT"
526-
--raw "$REQUESTS_DIR/get.raw,$REQUESTS_DIR/get.raw,$REQUESTS_DIR/get.raw,$REQUESTS_DIR/post_cl.raw,$REQUESTS_DIR/post_cl.raw,$REQUESTS_DIR/json-get.raw,$REQUESTS_DIR/db-get.raw,$REQUESTS_DIR/upload-small.raw,$REQUESTS_DIR/json-gzip.raw,$REQUESTS_DIR/json-gzip.raw"
526+
--raw "$REQUESTS_DIR/get.raw,$REQUESTS_DIR/get.raw,$REQUESTS_DIR/get.raw,$REQUESTS_DIR/post_cl.raw,$REQUESTS_DIR/post_cl.raw,$REQUESTS_DIR/json-get.raw,$REQUESTS_DIR/db-get.raw,$REQUESTS_DIR/upload-small.raw,$REQUESTS_DIR/json-gzip.raw,$REQUESTS_DIR/json-gzip.raw,$REQUESTS_DIR/static-reset.css.raw,$REQUESTS_DIR/static-app.js.raw,$REQUESTS_DIR/async-db-get.raw,$REQUESTS_DIR/async-db-get.raw"
527527
-c "$CONNS" -t "$THREADS" -d 15s -p "$pipeline")
528528
elif [ "$endpoint" = "async-db" ]; then
529529
gc_args=("http://localhost:$PORT/async-db?min=10&max=50"
@@ -687,19 +687,23 @@ else: print(f'{bps}B/s')
687687
if [ "$USE_H2LOAD" = "false" ] && [ "$USE_OHA" = "false" ]; then
688688
tpl_line=$(echo "$best_output" | grep -oP 'Per-template-ok: \K.*' || echo "")
689689
if [ -n "$tpl_line" ] && [ "$endpoint" = "mixed" ]; then
690-
# Mixed templates: get×3, post_cl×2, json-get×1, db-get×1, upload-small×1, json-gzip×2
690+
# Mixed templates: get×3, post_cl×2, json-get×1, db-get×1, upload-small×1, json-gzip×2, static×2, async-db×2
691691
IFS=',' read -ra tpl_counts <<< "$tpl_line"
692692
t_baseline=$(( ${tpl_counts[0]:-0} + ${tpl_counts[1]:-0} + ${tpl_counts[2]:-0} + ${tpl_counts[3]:-0} + ${tpl_counts[4]:-0} ))
693693
t_json=${tpl_counts[5]:-0}
694694
t_db=${tpl_counts[6]:-0}
695695
t_upload=${tpl_counts[7]:-0}
696696
t_compression=$(( ${tpl_counts[8]:-0} + ${tpl_counts[9]:-0} ))
697+
t_static=$(( ${tpl_counts[10]:-0} + ${tpl_counts[11]:-0} ))
698+
t_async_db=$(( ${tpl_counts[12]:-0} + ${tpl_counts[13]:-0} ))
697699
tpl_json=",
698700
\"tpl_baseline\": $t_baseline,
699701
\"tpl_json\": $t_json,
700702
\"tpl_db\": $t_db,
701703
\"tpl_upload\": $t_upload,
702-
\"tpl_compression\": $t_compression"
704+
\"tpl_compression\": $t_compression,
705+
\"tpl_static\": $t_static,
706+
\"tpl_async_db\": $t_async_db"
703707
fi
704708
fi
705709

site/data/current.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"date": "2026-03-28",
2+
"date": "2026-03-29",
33
"cpu": "AMD Ryzen Threadripper PRO 3995WX 64-Cores",
44
"cores": "64",
55
"threads": "128",
66
"ram": "251Gi",
77
"os": "Ubuntu 24.04.4 LTS",
88
"kernel": "6.17.0-19-generic",
99
"docker": "29.3.0",
10-
"commit": "aaf3311",
10+
"commit": "4d7100d",
1111
"governor": "performance",
1212
"docker_runtime": "runc",
1313
"threads_per_core": "2",

0 commit comments

Comments
 (0)