update readme

This commit is contained in:
Andy Pan 2018-05-20 23:34:34 +08:00
parent e8c5451c92
commit 4c2aa0fa8d
1 changed files with 5 additions and 1 deletions

View File

@ -2,7 +2,9 @@
<div align="center"><img src="https://github.com/panjf2000/ants/blob/master/ants_logo.png"/></div>
<center>A goroutine pool for Go</center>
```
<p align="center">A goroutine pool for Go</p>
```
[![godoc for panjf2000/ants][1]][2]
@ -89,6 +91,8 @@ All the tasks submitted to ants pool will not be guaranteed to be processed in o
<div align="center"><img src="https://github.com/panjf2000/ants/blob/master/ants_benchmarks.png"/></div>
Benchmarks with 1000w tasks, both unlimited goroutines and ants pool, and the capacity of this ants goroutine-pool was limited to 5w.
- BenchmarkGoroutine-4 represent the benchmarks with unlimited goroutines in golang
- BenchmarkPoolGroutine-4 represent the benchmarks with a ants pool