From 09973e8b1b6ad0adc715cd302da41c39f0265752 Mon Sep 17 00:00:00 2001
From: Andy Pan
Date: Tue, 24 Sep 2019 13:35:42 +0800
Subject: [PATCH] Update READMEs
---
README.md | 16 ++++++++++++++--
README_ZH.md | 16 ++++++++++++++--
2 files changed, 28 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 8693f7c..b6f8e7f 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ A goroutine pool for Go
-[中文](README_ZH.md) | [Project Blog](https://taohuawu.club/high-performance-implementation-of-goroutine-pool)
+# [[中文](README_ZH.md)]
Library `ants` implements a goroutine pool with fixed capacity, managing and recycling a massive number of goroutines, allowing developers to limit the number of goroutines in your concurrent programs.
@@ -308,4 +308,16 @@ In above benchmark picture, the first and second benchmarks performed test cases
![](https://user-images.githubusercontent.com/7496278/63449727-3ae6d400-c473-11e9-81e3-8b3280d8288a.gif)
-**In conclusion, `ants` performs 2~6 times faster than goroutines without a pool and the memory consumption is reduced by 10 to 20 times.**
\ No newline at end of file
+**In conclusion, `ants` performs 2~6 times faster than goroutines without a pool and the memory consumption is reduced by 10 to 20 times.**
+
+# License
+
+Source code in `gnet` is available under the MIT [License](/LICENSE).
+
+# Relevant Articles
+
+- [Goroutine 并发调度模型深度解析之手撸一个高性能协程池](https://taohuawu.club/high-performance-implementation-of-goroutine-pool)
+
+# Users of ants (please feel free to add your projects here ~~)
+
+[![](https://raw.githubusercontent.com/panjf2000/gnet/master/logo.png)](https://github.com/panjf2000/gnet)
\ No newline at end of file
diff --git a/README_ZH.md b/README_ZH.md
index 8138b87..795578b 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -14,7 +14,7 @@ A goroutine pool for Go
-[英文](README.md) | [项目博客](https://taohuawu.club/high-performance-implementation-of-goroutine-pool)
+# [[英文](README.md)]
`ants`是一个高性能的协程池,实现了对大规模 goroutine 的调度管理、goroutine 复用,允许使用者在开发并发程序的时候限制协程数量,复用资源,达到更高效执行任务的效果。
@@ -308,4 +308,16 @@ pool.Release()
![](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
+**从该 demo 测试吞吐性能对比可以看出,使用`ants`的吞吐性能相较于原生 goroutine 可以保持在 2-6 倍的性能压制,而内存消耗则可以达到 10-20 倍的节省优势。**
+
+# 证书
+
+`gnet` 的源码允许用户在遵循 MIT [开源证书](/LICENSE) 规则的前提下使用。
+
+# 相关文章
+
+- [Goroutine 并发调度模型深度解析之手撸一个高性能协程池](https://taohuawu.club/high-performance-implementation-of-goroutine-pool)
+
+# 正在使用 ants 的库列表(欢迎补充 ~~)
+
+[![](https://raw.githubusercontent.com/panjf2000/gnet/master/logo.png)](https://github.com/panjf2000/gnet)
\ No newline at end of file