Coz profiler Golang wrapper - Coz employs a novel technique we call causal profiling that measures optimization potential.
Go
145
11 commits
updated Jul 3, 2024
Coz profiler Golang wrapper.
This is a golang wrapper around the Coz profiler here: https://github.com/plasma-umass/coz
| Coz Call | Equivalent CozGo Call | Description |
|---|---|---|
| COZ_BEGIN("name") | cozgo.Begin("name") | Begin a latency profiling block identified by the name |
| COZ_END("name") | cozgo.End("name") | End a latency profiling block identified by the name |
| COZ_PROGRESS() | cozgo.Progress() | Specify a progress point within a block of work |
| COZ_PROGRESS() | cozgo.NamedProgress("name") | Specify a named progress point within a block of work |
Paper: http://www.sigops.org/s/conferences/sosp/2015/current/2015-Monterey/printable/090-curtsinger.pdf
Blog: https://morsmachine.dk/causalprof
cozgo: import "github.com/urjitbhatia/cozgo"Coz wrappers in your application
go binary with the flags: -ldflags=-compressdwarf=false -gcflags=all="-N -l" so that Coz can identify
the debug symbols properlycoz run --- yourGoBinaryprofile.coz1,892 followers · starred Oct 2020
3,291 followers · starred Oct 2020
1,505 followers · starred May 2021
260 followers · starred Apr 2020
Coz profiler Golang wrapper - Coz employs a novel technique we call causal profiling that measures optimization potential.
Go
145
11 commits
updated Jul 3, 2024
Coz profiler Golang wrapper.
This is a golang wrapper around the Coz profiler here: https://github.com/plasma-umass/coz
| Coz Call | Equivalent CozGo Call | Description |
|---|---|---|
| COZ_BEGIN("name") | cozgo.Begin("name") | Begin a latency profiling block identified by the name |
| COZ_END("name") | cozgo.End("name") | End a latency profiling block identified by the name |
| COZ_PROGRESS() | cozgo.Progress() | Specify a progress point within a block of work |
| COZ_PROGRESS() | cozgo.NamedProgress("name") | Specify a named progress point within a block of work |
Paper: http://www.sigops.org/s/conferences/sosp/2015/current/2015-Monterey/printable/090-curtsinger.pdf
Blog: https://morsmachine.dk/causalprof
cozgo: import "github.com/urjitbhatia/cozgo"Coz wrappers in your application
go binary with the flags: -ldflags=-compressdwarf=false -gcflags=all="-N -l" so that Coz can identify
the debug symbols properlycoz run --- yourGoBinaryprofile.coz1,892 followers · starred Oct 2020
3,291 followers · starred Oct 2020
1,505 followers · starred May 2021
260 followers · starred Apr 2020