19 lines
379 B
Markdown
19 lines
379 B
Markdown
|
|
# Profiling Setup
|
||
|
|
This is a script that uses a docker-compose environment with custom NGINX
|
||
|
|
configuration to profile NGINX for CPU and Memory costly calls.
|
||
|
|
|
||
|
|
### Dependencies
|
||
|
|
The following must be installed and configured on your system.
|
||
|
|
- Valgrind
|
||
|
|
- Callgrind
|
||
|
|
- Docker
|
||
|
|
- Docker Compose
|
||
|
|
- Rsync
|
||
|
|
- Go
|
||
|
|
|
||
|
|
### Use
|
||
|
|
Call run.sh like so:
|
||
|
|
```
|
||
|
|
$ run.sh ./path/to/nginx/source/directory
|
||
|
|
```
|