1. 26 Oct, 2018 2 commits
  2. 24 Oct, 2018 2 commits
  3. 18 Oct, 2018 1 commit
  4. 10 Oct, 2018 1 commit
    • Steven Allen's avatar
      gx: update go-buffer-pool · 8117a2bc
      Steven Allen authored
      Turns out that `pool.Put(buf)` had to *allocate* because we needed to turn
      `[]byte` into `interface{}`. Apparently, we've never done this correctly we just
      never noticed because we never really used buffer pools extensively.
      
      However, since migrating yamux to a buffer-pool backed buffer, this started
      showing up in allocation profiles.
      
      License: MIT
      Signed-off-by: default avatarSteven Allen <steven@stebalien.com>
      8117a2bc
  5. 09 Oct, 2018 1 commit
  6. 05 Oct, 2018 5 commits
  7. 04 Oct, 2018 1 commit
  8. 01 Oct, 2018 1 commit
  9. 26 Sep, 2018 1 commit
    • Jakub Sztandera's avatar
      pprof: create HTTP endpoint for setting MutexProfileFraction · 50fffa29
      Jakub Sztandera authored
      Allows to dynamically change the MutexProfileFraction to enable and
      disable mutex profiling. It should be very useful for detecting
      deadlocks, lock contention and general concurrency problems.
      
      How to use:
      To enable run: curl -X POST -v 'localhost:5001/debug/pprof-mutex/?fraction=10
      To disable: curl -X POST -v 'localhost:5001/debug/pprof-mutex/?fraction=0'
      
      Fraction defines which fraction of events will be profiled. Higher it is
      the lower performance impact but less reliable the result.
      
      To fetch the result use:
      go tool pprof $PATH_TO_IPFS_BIN http://localhost:5001/debug/pprof/mutex
      
      License: MIT
      Signed-off-by: default avatarJakub Sztandera <kubuxu@protonmail.ch>
      50fffa29
  10. 24 Sep, 2018 3 commits
  11. 21 Sep, 2018 2 commits
  12. 19 Sep, 2018 5 commits
  13. 11 Sep, 2018 1 commit
  14. 08 Sep, 2018 2 commits
  15. 06 Sep, 2018 2 commits
  16. 04 Sep, 2018 2 commits
  17. 31 Aug, 2018 1 commit
  18. 29 Aug, 2018 1 commit
  19. 23 Aug, 2018 3 commits
  20. 22 Aug, 2018 1 commit
  21. 15 Aug, 2018 1 commit
  22. 11 Aug, 2018 1 commit