forked from mirror/ants
Renew the "Performance Summary" chart
This commit is contained in:
parent
201ac20358
commit
2c15b60572
|
@ -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.**
|
|
@ -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 倍的节省优势。**
|
Loading…
Reference in New Issue