maxpert / marmot

A distributed SQLite replicator built on top of NATS
https://maxpert.github.io/marmot/
MIT License
1.7k stars 42 forks source link

Adding pprof flag to support better tracing & rewriting file watching #97

Open maxpert opened 6 months ago

maxpert commented 6 months ago

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.

gedw99 commented 1 week ago

Hey @maxpert

How do you feel about merging this.

Will be useful for debugging.