From 2c15b60572162201b9b766bbe4bfb78ce7f68936 Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Thu, 22 Aug 2019 00:26:33 +0800 Subject: [PATCH] Renew the "Performance Summary" chart --- README.md | 4 ++-- README_ZH.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b7e6580..db59cb9 100644 --- a/README.md +++ b/README.md @@ -314,6 +314,6 @@ In above benchmark picture, the first and second benchmarks performed test cases ### Performance Summary -![](https://user-images.githubusercontent.com/7496278/52989641-51b65a80-343f-11e9-86c0-e855d97343ea.gif) +![](https://user-images.githubusercontent.com/7496278/63449727-3ae6d400-c473-11e9-81e3-8b3280d8288a.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.** +**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.** \ No newline at end of file diff --git a/README_ZH.md b/README_ZH.md index ac1911e..aaf3473 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -316,6 +316,6 @@ Go Version: 1.9 ### 性能小结 -![](https://user-images.githubusercontent.com/7496278/52989641-51b65a80-343f-11e9-86c0-e855d97343ea.gif) +![](https://user-images.githubusercontent.com/7496278/63449727-3ae6d400-c473-11e9-81e3-8b3280d8288a.gif) **从该 demo 测试吞吐性能对比可以看出,使用`ants`的吞吐性能相较于原生 goroutine 可以保持在 2-6 倍的性能压制,而内存消耗则可以达到 10-20 倍的节省优势。** \ No newline at end of file