aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/http/README.md
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-26 17:39:03 +0100
committereunhhu <[email protected]>2026-09-26 17:39:03 +0100
commit62f4c51920129216ea779118c341379b5e9f4d7c (patch)
tree4ab29324b457d5afeb27bf72a0d503dd7844b561 /benchmarks/http/README.md
parent93aeb3b1e73d096bd22813955bdbe3b4c8ddaf80 (diff)
downloadpure-62f4c51920129216ea779118c341379b5e9f4d7c.tar.gz
pure-62f4c51920129216ea779118c341379b5e9f4d7c.zip
Record the app service against axum and drogon (077)
The scoreboard, 22 lines of aup served by its views and inputs, against the same service written by hand in axum and drogon on the Pi: durable posts about 76 times as many, reads level with drogon and ahead of axum with the least CPU and memory. The note keeps what the profile showed on the way (the kernel's share of a single thread, integers through printf, an owner that saved too early) and what comes next. run.py gains pure-serve-2 and waits for a server that prints its port before it listens.
Diffstat (limited to 'benchmarks/http/README.md')
-rw-r--r--benchmarks/http/README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/benchmarks/http/README.md b/benchmarks/http/README.md
index b253dad..94b228b 100644
--- a/benchmarks/http/README.md
+++ b/benchmarks/http/README.md
@@ -22,3 +22,12 @@ python3 run.py --module editor.pmod --directory /var/tmp # 저장소를 둘 �
python3 run.py --module editor.pmod --workloads put --rounds 5 --seconds 3 \
--only pure-serve,pure-serve-3,axum-durable,axum-atomic
```
+
+앱 벤치마크([077](../../docs/research/077-apps-as-http-services.md))는 aup로 쓴 점수판(`scores.aup`)을 pure-serve가 보기와
+입력으로 내놓는 것과, 같은 점수판을 axum·drogon으로 손수 쓴 것을 비교한다.
+
+```sh
+aup build scores.aup -o scores.pmod
+python3 run.py --module scores.pmod --suite app --rounds 3 --seconds 4 \
+ --only pure-serve,pure-serve-2,axum-memory,axum-durable,drogon-memory,drogon-durable
+```