marmot
marmot copied to clipboard
Adding pprof flag to support better tracing & rewriting file watching
Turns out people were noticing high CPU usage due to fsnotify flooding Marmot with fsnotify.Chmod. This PR introduces pprof flag to run marmot with profiling and fixes the issue.
Hey @maxpert
How do you feel about merging this.
Will be useful for debugging.
thanks @maxpert for this. It will make it much easier to work on.
I will try out running Pocket base with a NATS Cluster and see if I can help with optimisation.