From 8b6b551111913773f4fb35c6d45bcfc3cc35f670 Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Tue, 19 Feb 2019 11:58:05 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=AF=20Add=20performance=20diagram?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- README_ZH.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8201b50..5172dba 100644 --- a/README.md +++ b/README.md @@ -248,7 +248,7 @@ In above benchmark picture, the first and second benchmarks performed test cases ### Performance Summary -![](https://user-images.githubusercontent.com/7496278/52987864-ed43cd00-3437-11e9-95c8-c4e10b772820.gif) +![](https://user-images.githubusercontent.com/7496278/52989187-4104e500-343d-11e9-880f-9641eec436ca.gif) **In conclusion, `ants` can up to 2x~6x faster than goroutines without a pool and the memory consumption is reduced by 10 to 20 times.** diff --git a/README_ZH.md b/README_ZH.md index 86f8833..ef86ac5 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -245,7 +245,7 @@ Go Version: 1.9 ### 性能小结 -![](https://user-images.githubusercontent.com/7496278/52987864-ed43cd00-3437-11e9-95c8-c4e10b772820.gif) +![](https://user-images.githubusercontent.com/7496278/52989187-4104e500-343d-11e9-880f-9641eec436ca.gif) **从该demo测试吞吐性能对比可以看出,使用`ants`的吞吐性能相较于原生goroutine可以保持在2-6倍的性能压制,而内存消耗则可以达到10-20倍的节省优势。**