-
-
Notifications
You must be signed in to change notification settings - Fork 111
Closed
Labels
Description
Just a random, single data point: I've compared req/s to https://github.com/weihanglo/sfz with a specific setup:
- Request ~ 3k files via
curl --http2 --parallel - Total downloaded size is ~ 6 GB
Req/s or GB/s with sfz is roughly 3x better than with static-web-server.
Using HTTP/2 doesn't make a difference.
Version: static-web-server 2.11.0
curl output of a single download:
sfz:
...
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< server: sfz/0.7.1
< cache-control: public, max-age=0
< last-modified: Sun, 21 Aug 2022 15:09:17 GMT
< etag: "1661094557-12909"
< accept-ranges: bytes
< content-type: application/x-bzip2
< transfer-encoding: chunked
< date: Sun, 25 Sep 2022 19:58:36 GMT
static-web-server:
...
< HTTP/1.1 200 OK
< content-length: 12909
< content-type: application/x-bzip2
< accept-ranges: bytes
< last-modified: Sun, 21 Aug 2022 15:09:17 GMT
< cache-control: public, max-age=31536000
< date: Sun, 25 Sep 2022 20:02:44 GMT