diff --git a/README.md b/README.md index 97808a1..826ba46 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,13 @@

A goroutine pool for Go

-[![Build Status][1]][2] -[![codecov][3]][4] -[![goreportcard for panjf2000/ants][5]][6] -[![godoc for panjf2000/ants][7]][8] -[![MIT Licence][9]][10] + + + + +
+ + [中文](README_ZH.md) | [Project Blog](https://taohuawu.club/high-performance-implementation-of-goroutine-pool) @@ -249,14 +251,3 @@ In above benchmark picture, the first and second benchmarks performed test cases ![](https://user-images.githubusercontent.com/7496278/52989641-51b65a80-343f-11e9-86c0-e855d97343ea.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.** - -[1]: https://travis-ci.com/panjf2000/ants.svg?branch=master -[2]: https://travis-ci.com/panjf2000/ants -[3]: https://codecov.io/gh/panjf2000/ants/branch/master/graph/badge.svg -[4]: https://codecov.io/gh/panjf2000/ants -[5]: https://goreportcard.com/badge/github.com/panjf2000/ants -[6]: https://goreportcard.com/report/github.com/panjf2000/ants -[7]: https://godoc.org/github.com/panjf2000/ants?status.svg -[8]: https://godoc.org/github.com/panjf2000/ants -[9]: https://badges.frapsoft.com/os/mit/mit.svg?v=103 -[10]: https://opensource.org/licenses/mit-license.php diff --git a/README_ZH.md b/README_ZH.md index c72e0bf..5b5578b 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -3,11 +3,13 @@

A goroutine pool for Go

-[![Build Status][1]][2] -[![codecov][3]][4] -[![goreportcard for panjf2000/ants][5]][6] -[![godoc for panjf2000/ants][7]][8] -[![MIT Licence][9]][10] + + + + +
+ +] [英文](README.md) | [项目博客](https://taohuawu.club/high-performance-implementation-of-goroutine-pool) @@ -246,14 +248,3 @@ Go Version: 1.9 ![](https://user-images.githubusercontent.com/7496278/52989641-51b65a80-343f-11e9-86c0-e855d97343ea.gif) **从该demo测试吞吐性能对比可以看出,使用`ants`的吞吐性能相较于原生goroutine可以保持在2-6倍的性能压制,而内存消耗则可以达到10-20倍的节省优势。** - -[1]: https://travis-ci.com/panjf2000/ants.svg?branch=master -[2]: https://travis-ci.com/panjf2000/ants -[3]: https://codecov.io/gh/panjf2000/ants/branch/master/graph/badge.svg -[4]: https://codecov.io/gh/panjf2000/ants -[5]: https://goreportcard.com/badge/github.com/panjf2000/ants -[6]: https://goreportcard.com/report/github.com/panjf2000/ants -[7]: https://godoc.org/github.com/panjf2000/ants?status.svg -[8]: https://godoc.org/github.com/panjf2000/ants -[9]: https://badges.frapsoft.com/os/mit/mit.svg?v=103 -[10]: https://opensource.org/licenses/mit-license.php