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

Top 8.2% on proxy.golang.org

proxy.golang.org : 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:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/ssgreg/bottleneck
License: MIT
Latest release: over 7 years ago
First release: over 7 years ago
Namespace: github.com/ssgreg
Last synced: 14 days ago

    Loading...
    Readme
    Loading...