github.com/kyleu/dbaudit@v0.0.2-0.20240321155047-ff2f2c940496/bin/util/view-mem-profile.bat (about)

     1  @ECHO OFF
     2  rem Content managed by Project Forge, see [projectforge.md] for details.
     3  
     4  rem Starts a pprof server using the (previously-recorded) heap dump at ./tmp/mem.pprof
     5  
     6  cd %~dp0\..\..
     7  
     8  echo "=== launching profiler for mem.pprof ==="
     9  @ECHO ON
    10  go tool pprof -http=":8000" build\debug\dbaudit tmp\mem.pprof