From 04bf2231bc56102e68274dc6e19fd1015e7aa639 Mon Sep 17 00:00:00 2001 From: Paramtamtam <7326800+tarampampam@users.noreply.github.com> Date: Fri, 28 Jan 2022 23:58:04 +0500 Subject: [PATCH] Readme file updated --- README.md | 40 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5a0711d..126c213 100644 --- a/README.md +++ b/README.md @@ -38,9 +38,9 @@ Download the latest binary file for your os/arch from the [releases page][releas [![image stats](https://dockeri.co/image/tarampampam/error-pages)][docker-hub-tags] -| Registry | Image | -|----------------------------------------|-----------------------------------| -| [Docker Hub][docker-hub] | `tarampampam/error-pages` | +| Registry | Image | +|-----------------------------------|-----------------------------------| +| [Docker Hub][docker-hub] | `tarampampam/error-pages` | | [GitHub Container Registry][ghcr] | `ghcr.io/tarampampam/error-pages` | > Using the `latest` tag for the docker image is highly discouraged because of possible backward-incompatible changes during **major** upgrades. Please, use tags in `X.Y.Z` format @@ -66,6 +66,40 @@ Please, take a look at [our Wiki][wiki] for the common usage stories: [wiki-traefik-docker-compose]:https://github.com/tarampampam/error-pages/wiki/Traefik-(docker-compose) [wiki-k8s-ingress-nginx]:https://github.com/tarampampam/error-pages/wiki/Kubernetes-&-ingress-nginx +## 🦾 Performance + +Used hardware: + +- Intel® Core™ i7-10510U CPU @ 1.80GHz × 8 +- 16 GiB RAM + +```shell +$ ulimit -aH | grep file +-f: file size (blocks) unlimited +-c: core file size (blocks) unlimited +-n: file descriptors 1048576 +-x: file locks unlimited + +$ wrk --version | head -n 1 +wrk 4.2.0 [epoll] Copyright (C) 2012 Will Glozer + +$ wrk -t12 -c400 -d30s http://127.0.0.1:8080/500.html +Running 30s test @ http://127.0.0.1:8080/500.html + 12 threads and 400 connections + Thread Stats Avg Stdev Max +/- Stdev + Latency 50.06ms 61.15ms 655.79ms 85.54% + Req/Sec 1.07k 363.14 2.40k 69.24% + 383014 requests in 30.08s, 2.14GB read +Requests/sec: 12731.07 +Transfer/sec: 72.79MB +``` + +FS & memory usage stats during the test: + +
+ +
+ ## 🪂 Templates | Name | Preview |