You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+47Lines changed: 47 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -178,3 +178,50 @@ Use `-Drobaho.net.httpserver.http2OverNonSSL=true` to enable Http2 on Non-SSL co
178
178
See the additional Http2 options in `ServerConfig.java`
179
179
180
180
The http2 implementation passes all specification tests in [h2spec](https://github.com/summerwind/h2spec)
181
+
182
+
## Http2 performance
183
+
184
+
Http2 performance has not yet been optimized, but an unscientific test shows the http2 implementation to have greater than 50% better throughput than the Javalin/Jetty 11 version.
185
+
186
+
The Javalin/Jetty project is available [here](https://github.com/robaho/javalin-http2-example)
187
+
188
+
TODO: outbound headers are only minimally compressed/indexed.
189
+
190
+
<details>
191
+
<summary>performance details</summary>
192
+
193
+
All tests were run on the same hardware with the same JDK23 version.
194
+
195
+
Jetty 11
196
+
```
197
+
starting benchmark...
198
+
spawning thread #0: 16 total client(s). 1000000 total requests
0 commit comments