forked from mirror/ants
🍻 Add a section of supported go versions
This commit is contained in:
parent
908553139c
commit
76537c33be
10
README.md
10
README.md
|
@ -22,6 +22,14 @@ Library `ants` implements a fixed capacity goroutine-pool for managing and recyc
|
||||||
- Handle panic gracefully to prevent programs from crash.
|
- Handle panic gracefully to prevent programs from crash.
|
||||||
- Efficient in memory usage and it even achieves higher performance than unlimited goroutines in golang.
|
- Efficient in memory usage and it even achieves higher performance than unlimited goroutines in golang.
|
||||||
|
|
||||||
|
## Tested in the following Golang versions:
|
||||||
|
|
||||||
|
- 1.8.x
|
||||||
|
- 1.9.x
|
||||||
|
- 1.10.x
|
||||||
|
- 1.11.x
|
||||||
|
- master
|
||||||
|
|
||||||
|
|
||||||
## How to install
|
## How to install
|
||||||
|
|
||||||
|
@ -198,7 +206,7 @@ OS : macOS High Sierra
|
||||||
Processor: 2.7 GHz Intel Core i5
|
Processor: 2.7 GHz Intel Core i5
|
||||||
Memory: 8 GB 1867 MHz DDR3
|
Memory: 8 GB 1867 MHz DDR3
|
||||||
|
|
||||||
Go1.9
|
Go Version: 1.9
|
||||||
```
|
```
|
||||||
|
|
||||||
<div align="center"><img src="https://user-images.githubusercontent.com/7496278/51515466-c7ce9e00-1e4e-11e9-89c4-bd3785b3c667.png"/></div>
|
<div align="center"><img src="https://user-images.githubusercontent.com/7496278/51515466-c7ce9e00-1e4e-11e9-89c4-bd3785b3c667.png"/></div>
|
||||||
|
|
12
README_ZH.md
12
README_ZH.md
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
`ants`是一个高性能的协程池,实现了对大规模goroutine的调度管理、goroutine复用,允许使用者在开发并发程序的时候限制协程数量,复用资源,达到更高效执行任务的效果。
|
`ants`是一个高性能的协程池,实现了对大规模goroutine的调度管理、goroutine复用,允许使用者在开发并发程序的时候限制协程数量,复用资源,达到更高效执行任务的效果。
|
||||||
|
|
||||||
## 功能:
|
## 功能:
|
||||||
|
|
||||||
- 实现了自动调度并发的goroutine,复用goroutine
|
- 实现了自动调度并发的goroutine,复用goroutine
|
||||||
- 定时清理过期的goroutine,进一步节省资源
|
- 定时清理过期的goroutine,进一步节省资源
|
||||||
|
@ -22,6 +22,14 @@
|
||||||
- 优雅处理panic,防止程序崩溃
|
- 优雅处理panic,防止程序崩溃
|
||||||
- 资源复用,极大节省内存使用量;在大规模批量并发任务场景下比原生goroutine并发具有更高的性能
|
- 资源复用,极大节省内存使用量;在大规模批量并发任务场景下比原生goroutine并发具有更高的性能
|
||||||
|
|
||||||
|
## 目前测试通过的Golang版本:
|
||||||
|
|
||||||
|
- 1.8.x
|
||||||
|
- 1.9.x
|
||||||
|
- 1.10.x
|
||||||
|
- 1.11.x
|
||||||
|
- master
|
||||||
|
|
||||||
|
|
||||||
## 安装
|
## 安装
|
||||||
|
|
||||||
|
@ -195,7 +203,7 @@ OS : macOS High Sierra
|
||||||
Processor: 2.7 GHz Intel Core i5
|
Processor: 2.7 GHz Intel Core i5
|
||||||
Memory: 8 GB 1867 MHz DDR3
|
Memory: 8 GB 1867 MHz DDR3
|
||||||
|
|
||||||
Go1.9
|
Go Version: 1.9
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue