From bc7ac9312384b4e4c4e7916a463852adf2c37cc2 Mon Sep 17 00:00:00 2001 From: n0vad3v Date: Fri, 6 Mar 2020 17:58:11 +0800 Subject: [PATCH] Update README --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index 32e5f00..de22d31 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,26 @@ But the binary will work instantly on your platform and arch** - [x] Custom exhaust path. - [ ] Multiple listen address. +## Benchmark on convert + +## 8 core + +| file_size_range | file_num | src_size | dist_size | total | user | system | cpu | core | +| :-------------: | :------: | :------: | :-------: | :-----: | :------: | :----: | :--: | :--: | +| (10KB,500KB) | 4600 | 1.3G | 310M | 1:44.49 | 905.41s | 9.55s | 875% | 8 | +| (500KB,1MB) | 3500 | 2.4G | 361M | 2:04.81 | 1092.50s | 7.98s | 881% | 8 | +| (1MB,4MB) | 2000 | 3.8G | 342M | 2:32.64 | 1345.73s | 10.84s | 888% | 8 | +| (4MB,32MB) | 500 | 3.6G | 246M | 1:44.53 | 916.91s | 12.03s | 888% | 8 | + +## 1,2,4,8 core + +| file_size_range | file_num | src_size | dist_size | 8 | 4 | 2 | 1 | +| :-------------: | :------: | :------: | :-------: | :-----: | :-----: | :-----: | :-----: | +| (10KB,500KB) | 4600 | 1.3G | 310M | 1:44.49 | 2:18.49 | 3:36.05 | 5:20.88 | +| (500KB,1MB) | 3500 | 2.4G | 361M | 2:04.81 | 2:49.46 | 4:16.41 | 6:28.97 | +| (1MB,4MB) | 2000 | 3.8G | 342M | 2:32.64 | 3:26.18 | 5:22.15 | 7:53.45 | +| (4MB,32MB) | 500 | 3.6G | 246M | 1:44.53 | 2:21.22 | 3:39.16 | 5:28.65 | + ## Related Articles(In chronological order) * [让站点图片加载速度更快——引入 WebP Server 无缝转换图片为 WebP](https://nova.moe/re-introduce-webp-server/) @@ -159,6 +179,7 @@ But the binary will work instantly on your platform and arch** * [WebP Server in Rust](https://await.moe/2020/02/webp-server-in-rust/) * [个人网站无缝切换图片到 webp](https://www.bennythink.com/flying-webp.html) * [优雅的让 Halo 支持 webp 图片输出](https://halo.run/archives/halo-and-webp) +* [让图片飞起来 oh-my-webp.sh !](https://blog.502.li/oh-my-webpsh.html) ## License