A reproduction of High CPU utilization with logrus and Coralogix Hook
During this test - make sure to run htop
command or similar to see the CPU utilization.
- run:
make build
- On one terminal, run:
make run
- On another terminal, run:
make profile
Observe the CPU.
- Uncomment line 63 in main.go, and repeat steps 1-3
Observe the CPU.