An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/ssgreg/bottleneck

Package bottleneck allows do detect bottlenecks in your code. Package uses atomic to minimize impact on performance. Bottleneck info returning by `Stats` function is eventually consistent. Which operation takes more time? The example below proves that creating and filling an array with random numbers takes less time than sorting. The output is: The example below starts two goroutines. The first one is imitating a worker with two complex jobs. The second one monitors worker's executions. It shows percentage, number of calls and total execution time per each job. A fragment of output:

Ecosystem
proxy.golang.org
Latest Release
v0.1.1
over 8 years ago
Versions
2
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/ssgreg/bottleneck
spec
License MIT
Namespace github.com/ssgreg
First Release over 8 years ago
Last Synced about 1 month ago
Repository
Stars 3 on GitHub
Forks 0 on GitHub
Rankings on proxy.golang.org
Overall Top 8.2%