Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frameworks/hical/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Clone Hical(包含 HttpArena benchmark 文件在 docker/HttpArena/ 下)
# HICAL_REF pin 到固定 commit,确保构建可复现;更新跑分时改此值
ARG HICAL_REPO=https://github.com/Hical61/Hical.git
ARG HICAL_REF=3f97b6db29405d413a0645529fcc036a5d52ebc6
ARG HICAL_REF=a5abb27c59e604a5fe15dfde49c634de5a13efce

WORKDIR /src
RUN git init . && \
Expand Down
2 changes: 1 addition & 1 deletion frameworks/hical/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"engine": "hical",
"description": "Hical is a modern C++20/26 high-performance web framework built on Boost.Asio, featuring coroutine-based async I/O (boost::asio::awaitable<T>), three-tier PMR memory pools, zero-copy HTTP parsing via picohttpparser, and a self-developed WebSocket stack (RFC 6455 with permessage-deflate). SO_REUSEPORT multi-acceptor model on Linux. Dual-track C++26 reflection layer (P2996 / C++20 macro fallback).",
"repo": "https://github.com/Hical61/Hical",
"enabled": false,
"enabled": true,
"tests": [
"baseline", "latency-1m", "latency-10k",
"pipelined",
Expand Down
209 changes: 209 additions & 0 deletions site/data/results/hical.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
{
"framework": "hical",
"results": {
"baseline-4096": {
"framework": "hical",
"language": "C++",
"rps": 3316539,
"avg_latency": "1.23ms",
"p99_latency": "6.76ms",
"cpu": "6610.9%",
"memory": "131MiB",
"connections": 4096,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "467.98MB/s",
"input_bw": "256.19MB/s",
"reconnects": 0,
"status_2xx": 16582696,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
},
"echo-ws-16384": {
"framework": "hical",
"language": "C++",
"rps": 3351504,
"avg_latency": "4.86ms",
"p99_latency": "11.60ms",
"cpu": "6531.6%",
"memory": "509MiB",
"connections": 16384,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "22.76MB/s",
"reconnects": 0,
"status_2xx": 16757520,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
},
"echo-ws-4096": {
"framework": "hical",
"language": "C++",
"rps": 3678523,
"avg_latency": "1.11ms",
"p99_latency": "6.73ms",
"cpu": "6550.2%",
"memory": "157MiB",
"connections": 4096,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "24.56MB/s",
"reconnects": 0,
"status_2xx": 18392616,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
},
"echo-ws-512": {
"framework": "hical",
"language": "C++",
"rps": 3390647,
"avg_latency": "150us",
"p99_latency": "2.08ms",
"cpu": "6479.2%",
"memory": "46MiB",
"connections": 512,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "22.63MB/s",
"reconnects": 0,
"status_2xx": 16953235,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
},
"json-comp-16384": {
"framework": "hical",
"language": "C++",
"rps": 256005,
"avg_latency": "58.25ms",
"p99_latency": "931.70ms",
"cpu": "6227.8%",
"memory": "637MiB",
"connections": 16384,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "348.29MB/s",
"input_bw": "19.04MB/s",
"reconnects": 48240,
"status_2xx": 1280027,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
},
"json-comp-4096": {
"framework": "hical",
"language": "C++",
"rps": 260323,
"avg_latency": "15.65ms",
"p99_latency": "76.40ms",
"cpu": "6550.4%",
"memory": "226MiB",
"connections": 4096,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "354.16MB/s",
"input_bw": "19.36MB/s",
"reconnects": 50513,
"status_2xx": 1301616,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
},
"latency-10k-1024": {
"framework": "hical",
"language": "C++",
"rps": 9983,
"avg_latency": "71.2us",
"p99_latency": "114.0us",
"cpu": "27.7%",
"memory": "52MiB",
"connections": 1024,
"threads": 64,
"duration": "20s",
"pipeline": 1,
"bandwidth": "1.47MB/s",
"reconnects": 0,
"status_2xx": 199680,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0,
"cpu_usec": 5802283,
"cpu_per_req_us": 29.0579,
"target_rate": 10000,
"rate_ratio": 0.9983,
"p99_9_latency": "177.0us"
},
"latency-1m-1024": {
"framework": "hical",
"language": "C++",
"rps": 997737,
"avg_latency": "97.6us",
"p99_latency": "180.0us",
"cpu": "2735.3%",
"memory": "50MiB",
"connections": 1024,
"threads": 64,
"duration": "20s",
"pipeline": 1,
"bandwidth": "146.67MB/s",
"reconnects": 0,
"status_2xx": 19958016,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0,
"cpu_usec": 495768293,
"cpu_per_req_us": 24.8406,
"target_rate": 1000000,
"rate_ratio": 0.9977,
"p99_9_latency": "954.0us"
},
"limited-conn-4096": {
"framework": "hical",
"language": "C++",
"rps": 2405974,
"avg_latency": "1.68ms",
"p99_latency": "22.80ms",
"cpu": "6435.4%",
"memory": "132MiB",
"connections": 4096,
"threads": 64,
"duration": "5s",
"pipeline": 1,
"bandwidth": "339.46MB/s",
"input_bw": "185.86MB/s",
"reconnects": 1203021,
"status_2xx": 12029870,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
},
"pipelined-4096": {
"framework": "hical",
"language": "C++",
"rps": 4929317,
"avg_latency": "13.32ms",
"p99_latency": "35.30ms",
"cpu": "6308.7%",
"memory": "136MiB",
"connections": 4096,
"threads": 64,
"duration": "5s",
"pipeline": 16,
"bandwidth": "695.56MB/s",
"reconnects": 0,
"status_2xx": 24646589,
"status_3xx": 0,
"status_4xx": 0,
"status_5xx": 0
}
}
}
Loading