{"@context":"https://w3id.org/codemeta/3.0","@type":"SoftwareSourceCode","identifier":"pkg:golang/github.com/ssgreg/bottleneck","name":"github.com/ssgreg/bottleneck","description":"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.\n\nWhich operation takes more time?\n\nThe example below proves that creating and filling an array with random numbers takes less time than sorting.\n\nThe output is:\n\nThe 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.\n\nA fragment of output:","version":"v0.1.1","softwareVersion":"v0.1.1","license":"https://spdx.org/licenses/MIT","codeRepository":"https://github.com/ssgreg/bottleneck","issueTracker":"https://github.com/ssgreg/bottleneck/issues","url":"https://github.com/ssgreg/bottleneck","programmingLanguage":{"@type":"ComputerLanguage","name":"Go"},"dateCreated":"2017-09-30","dateModified":"2017-09-30","datePublished":"2017-09-30","copyrightYear":2017,"downloadUrl":"https://proxy.golang.org/cached-only/github.com/ssgreg/bottleneck/@v/v0.1.1.zip","softwareHelp":{"@type":"WebSite","url":"https://pkg.go.dev/github.com/ssgreg/bottleneck#section-documentation"},"applicationCategory":"go","runtimePlatform":"go","developmentStatus":"active","sameAs":["https://pkg.go.dev/github.com/ssgreg/bottleneck"],"https://www.w3.org/ns/activitystreams#likes":3}