pkg/profiling
Markus Thömmes 8c62412074 Optimize locking behavior of the profiling handler. (#980)
The profiling handler is in the path of our most performance critical components (especially the activator). Taking a write-lock on each request is probably a bad idea.

Replaced the mutex with an atomic flag. Lost reads are not critical in this code path and that should be the quickest solution in terms of avoiding contention.
2020-01-08 12:35:53 -08:00
..
server.go Optimize locking behavior of the profiling handler. (#980) 2020-01-08 12:35:53 -08:00
server_test.go Optimize locking behavior of the profiling handler. (#980) 2020-01-08 12:35:53 -08:00