diff --git a/README.MD b/README.MD index bb32ecaa8..90e92ead5 100644 --- a/README.MD +++ b/README.MD @@ -30,19 +30,6 @@ require github.com/gogf/gf latest golang version >= 1.13 ``` -# Documentation - -* 中文官网: https://goframe.org -* GoDoc API: https://godoc.org/github.com/gogf/gf - - -# Discussion -- QQ Group:[116707870](//shang.qq.com/wpa/qunwpa?idkey=195f91eceeb5d7fa76009b7cd5a4641f70bf4897b7f5a520635eb26ff17adfe7) -- WX Group:Add friend`389961817` in WeChat, commenting `GF` -- Issues:https://github.com/gogf/gf/issues - -> It's recommended learning `GoFrame` through its awesome source codes and API reference. - # Architecture
@@ -101,6 +88,19 @@ The concurrency starts from `100` to `10000`. +# Documentation + +* 中文官网: https://goframe.org +* GoDoc API: https://godoc.org/github.com/gogf/gf + + +# Discussion +- QQ Group:[116707870](//shang.qq.com/wpa/qunwpa?idkey=195f91eceeb5d7fa76009b7cd5a4641f70bf4897b7f5a520635eb26ff17adfe7) +- WX Group:Add friend`389961817` in WeChat, commenting `GF` +- Issues:https://github.com/gogf/gf/issues + +> It's recommended learning `GoFrame` through its awesome source codes and API reference. + # License `GF` is licensed under the [MIT License](LICENSE), 100% free and open-source, forever. diff --git a/README_ZH.MD b/README_ZH.MD index 2ca02be7d..b9251c375 100644 --- a/README_ZH.MD +++ b/README_ZH.MD @@ -49,6 +49,58 @@ golang版本 >= 1.13
+# 性能 + +性能测试用例源代码仓库: https://github.com/gogf/gf-performance + +## 环境: + + OS : Ubuntu 18.04 amd64 + CPU : AMD A8-6600K x 4 + MEM : 32GB + GO : v1.13.4 + +## 工具 + +`ab`: Apache HTTP server benchmarking tool. + +测试命令: +``` +ab -t 10 -c 100 http://127.0.0.1:3000/hello +ab -t 10 -c 100 http://127.0.0.1:3000/query?id=10000 +ab -t 10 -c 100 http://127.0.0.1:3000/json +``` +并发客户端数量从 `100` 递增到 `10000`。 + +> 每个项目的每个用例均运行`5`次,取最优的结果展示。 + +## 1. Hello World + + + + + + + + + + + +
ThroughputsMean LatencyP99 Latency
+ +## 2. Json Response. + + + + + + + + + + + +
ThroughputsMean LatencyP99 Latency
# 文档