feat: Initial release
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
37d5c2b1f7
commit
d1e3da5189
13 changed files with 442 additions and 0 deletions
36
README.md
Normal file
36
README.md
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# benchito
|
||||
|
||||
Like [pgbench](https://www.postgresql.org/docs/current/pgbench.html) or [sysbench](https://github.com/akopytov/sysbench) but only for testing maximum number of connections. `benchito` will start multiple threads to issue very simple queries in order to avoid CPU or memory starvation.
|
||||
|
||||
## Requirements
|
||||
|
||||
* `make`
|
||||
* go 1.18
|
||||
|
||||
|
||||
## Setup
|
||||
|
||||
Compile the `benchito` binary:
|
||||
|
||||
```
|
||||
make
|
||||
```
|
||||
|
||||
Start a PostgreSQL instance:
|
||||
|
||||
```
|
||||
docker-compose pull
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
./bin/benchito -help
|
||||
```
|
||||
|
||||
## Cleanup
|
||||
|
||||
```
|
||||
docker-compose down -v
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue