{"repo":"gobench-io/gobench","free":true,"listed":false,"github":"https://github.com/gobench-io/gobench","clone":"git clone https://github.com/gobench-io/gobench.git","description":"A benchmark framework based on Golang","language":"HTML","stars":80,"topics":["mqtt","nats","http","distributed","metrics","histograms","gauge","counter","benchmark","gobench"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"A benchmark framework with Golang. Note: Gobench is under heavy development. Targets: 1. Supporting more than HTTP. We are having MQTT, NATs. Websocket, graphQL will be added. 2. Having complicated benchmarking scenario in Golang. Yo no DSL, and Golang is easy to pickup. 3. (WIP) To support more than one million connection concurrently. Usage Install from source Requirements: - golang to compile your scenario - gcc to build sqlite3 embedded database Install the command line tool first For Go 1.17+ For Go 1.16 and below This mechanism will install a build of master at $GOPATH/bin. To test your installation: After that, open http://localhost:8080 to see the dashboard. Run from docker After that, open http://localhost:8080 to see the dashboard. To setup admin password, add --admin-password to argument. To save the results to the host machine, mount /root/.gobench (the default --dir ) to a host path. For example, save the result data to /tmp/abc and set admin password to supertest with the following command: Quick start Start the Gobench server, go to http://localhost:8080 dashboard, create new application. Input scenario as the following go code. gomod and gosum are used to control specific version of dependency packages. We will leave them empty now. From the dashboard, you will see the live result: You also see the status of the host running Gobench: Load average, CPU utilization, RAM usage, network in/out. How to write scenario Scenario is a go file that must have a func expo","default_branch":null,"files":null,"tree":[],"storefront":"/r/gobench-io","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gobench-io/gobench/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}