Registry / observability / elastic-go-perf

elastic-go-perf

JSON →
library0.0.0-20191212140718-9c656876f595gogounverified

Package perf provides access to the Linux perf API for measuring performance events.

go get github.com/elastic/go-perf
INSTALL
IMPORT
SIG · ELASTIC-GO-PERF
E
elastic-go-perf
observabilitygov0.0.0-20191212140718-9c656876f595
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

perf
✓ github.com/elastic/go-perf

Create a perf attribute for CPU cycles

package main import ( "fmt" "github.com/elastic/go-perf" ) func main() { attr := &perf.Attr{ Type: perf.HardwareEvent, Config: perf.CPUCycles, } fmt.Println(attr) }
Debug
Known issues
breakingPackage is experimental and does not offer compatibility guarantees.
fix
Pin to a specific version and test thoroughly before upgrading.
affects: all
Upgrade
Version history
0.0.0-20191212140718-9c656876f595latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
20
OpenAI (training)
2
Amazon
1
Resources
elastic-go-perf — go get elastic-go-perf · libregistry