Migrated repository
Go to file
John Guo 83eb8be064
Merge pull request #609 from kirileec/master
add Raw* method in ClientResponse to get request and response string
2020-04-23 22:58:04 +08:00
.example add performance testing result 2020-04-23 17:14:11 +08:00
.gitee issue template updates 2019-03-02 00:02:05 +08:00
.github update ci/readme/donator 2019-09-23 23:08:58 +08:00
container add function Walk for package garray; improve comment for package garray 2020-04-18 13:30:49 +08:00
crypto improve unit testing cases 2020-03-19 22:56:12 +08:00
database improve package gdb/gstr/gvalid 2020-04-20 22:36:28 +08:00
debug/gdebug fix issue in stack trace for package gdebug; improve package gsmtp 2020-04-18 10:17:54 +08:00
encoding add function Walk for package garray; improve comment for package garray 2020-04-18 13:30:49 +08:00
errors/gerror improve package gins/gfile/intlog 2020-03-28 00:37:23 +08:00
frame add MapMerge/MapMargeCopy functions for package gutil; improve template view feature for indefinite parameters 2020-04-14 21:11:12 +08:00
i18n/gi18n improve unit testing cases by changing creating testdata path using gdebug.TestdataPath function 2020-03-21 23:47:33 +08:00
internal improve package gset 2020-04-13 23:44:43 +08:00
net Merge branch 'master' into master 2020-04-23 22:57:23 +08:00
os improve SetConfigWithMap function for package ghttp/glog/gview; reveal some logger functions for default logger of package glog 2020-04-15 11:04:39 +08:00
test/gtest add unit testing case for auto time and soft deleting features for package gdb 2020-04-09 22:48:21 +08:00
text improve package gdb/gstr/gvalid 2020-04-20 22:36:28 +08:00
util improve package gdb/gstr/gvalid 2020-04-20 22:36:28 +08:00
.gitattributes dev 2017-07-04 18:31:39 +08:00
.gitignore add AllowDomain option for ghttp.CORS; add IsSubDomain function for gstr; improve grand.Intn 2019-09-23 19:25:03 +08:00
.travis.yml downgrade the required golang version from v1.13 to v1.11 2020-04-23 20:25:59 +08:00
DONATOR.MD donator updates 2020-04-15 11:41:44 +08:00
go.mod downgrade the required golang version from v1.13 to v1.11 2020-04-23 20:25:59 +08:00
LICENSE remove reuseport in ghttp 2019-02-14 15:43:31 +08:00
README_ZH.MD readme update 2020-04-23 21:06:42 +08:00
README.MD readme update 2020-04-23 21:06:42 +08:00
RELEASE.1.MD improve gfile.MainPkgPath; update RELEASE.MD 2019-09-14 00:17:49 +08:00
RELEASE.2.MD version/readme update 2020-03-30 23:56:26 +08:00
TODO.Deprecated.MD README updates 2020-03-29 20:23:10 +08:00
version.go version update 2020-04-18 13:42:06 +08:00

GoFrame

Go Doc Build Status Go Report Code Coverage Production Ready License

English | 简体中文

GF(GoFrame) is a modular, high-performance and production-ready application development framework of golang. Providing a series of core components and dozens of practical modules, such as: cache, logging, containers, timer, resource, validator, database orm, etc. Supporting web server integrated with router, cookie, session, middleware, logger, configure, template, https, hooks, rewrites and many more features.

Installation

go get -u -v github.com/gogf/gf

suggested using go.mod:

require github.com/gogf/gf latest

Limitation

golang version >= 1.11

Architecture

Performance

Here's the most popular Golang frameworks and libraries performance testing result in WEB Server. Performance testing cases source codes are hosted at: https://github.com/gogf/gf-performance

Environment

OS   : Ubuntu 18.04 amd64
CPU  : AMD A8-6600K x 4
MEM  : 32GB
GO   : v1.13.4

Testing Tool

ab: Apache HTTP server benchmarking tool.

Command:

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

The concurrency starts from 100 to 10000.

Run 5 times for each case of each project and pick up the best testing result.

1. Hello World

Throughputs Mean Latency P99 Latency

2. Json Response

Throughputs Mean Latency P99 Latency

Documentation

Discussion

It's recommended learning GoFrame through its awesome source codes and API reference.

License

GF is licensed under the MIT License, 100% free and open-source, forever.

Contributors

This project exists thanks to all the people who contribute. [Contributors].

Donators

We currently accept donation by Alipay/WechatPay, please note your github/gitee account in your payment bill. If you like GF, why not buy developer a cup of coffee?

Sponsors

We appreciate any kind of sponsorship for GF development. If you've got some interesting, please contact WeChat 389961817 / Email john@goframe.org.

Thanks

JetBrains