@@ -88,9 +88,11 @@ npx autocannon http://localhost:8000/test -c 500 -p 10 -d 30
8888
8989- ** OS** : macOS 26.5
9090- ** Machine** : Apple M3 Pro, 18 GB RAM
91+ - ** Framework** : Deserve (0.12.2)
92+ - ** Runtime** : Deno 2.8.2 (V8 14.9.207.2, TypeScript 6.0.3)
9193- ** Config** : 500 connections, pipelining 10, duration 30s
9294
93- ## Results — Deno 2.8.2 (Latest)
95+ ## Results — Deno 2.8.2
9496
95972 runs each, non-worker server, same machine and config.
9698
@@ -112,34 +114,6 @@ Takeaway: `/test-cpu` blocks the event loop on the main thread, see [worker mode
112114| ` /test-view-include ` | 103,633 | 106,489 | 105,061 | 47.09 ms | 3.15M |
113115| ` /test-view-expr ` | 79,089 | 79,556 | 79,322 | 62.49 ms | 2.38M |
114116
115- ## Results — Deno 2.7.7
116-
117- ### JSON + CPU (Non-worker)
118-
119- | Route | Test 1 | Test 2 | Test 3 | Req/Sec (avg) | Latency (avg) | Total (avg) |
120- | ----------- | ------- | ------- | ------- | ------------- | ------------- | ----------- |
121- | ` /test ` | 175,343 | 170,567 | 164,515 | 170,142 | 29 ms | 5,109k |
122- | ` /test-cpu ` | 25,009 | 24,949 | 24,927 | 24,962 | 199 ms | 754k |
123-
124- ### JSON + CPU (Worker-enabled)
125-
126- | Route | Test 1 | Test 2 | Test 3 | Req/Sec (avg) | Latency (avg) | Total (avg) |
127- | -------------- | ------- | ------- | ------- | ------------- | ------------- | ----------- |
128- | ` /test ` | 174,259 | 178,487 | 170,834 | 174,527 | 28 ms | 5.24M |
129- | ` /test-cpu ` | 25,133 | 24,833 | 24,773 | 24,912 | 199 ms | 752k |
130- | ` /test-worker ` | 69,265 | 69,063 | 68,810 | 69,046 | 72 ms | 2076k |
131-
132- Takeaway: ` /test-cpu ` blocks the event loop, while ` /test-worker ` moves the same work off-thread.
133-
134- ### Views (DVE Rendering Baseline)
135-
136- | Route | Test 1 | Test 2 | Test 3 | Req/Sec (avg) | Latency (avg) | Total (avg) |
137- | ---------------------- | ------- | ------- | ------- | ------------- | ------------- | ----------- |
138- | ` /test-view ` | 129,063 | 124,978 | 120,516 | 124,852 | 39.77 ms | 3.75M |
139- | ` /test-view-each-meta ` | 10,406 | 10,381 | 10,073 | 10,287 | 482.13 ms | 313k |
140- | ` /test-view-include ` | 112,115 | 109,558 | 101,886 | 107,853 | 46.02 ms | 3.24M |
141- | ` /test-view-expr ` | 96,328 | 94,207 | 82,094 | 90,876 | 54.84 ms | 2.73M |
142-
143117## Observability Cost (Logging On vs Off)
144118
145119Deserve emits lifecycle events (route, view, worker, request, session, csrf, process).
0 commit comments