{"id":3567111,"name":"github.com/ssgreg/bottleneck","ecosystem":"go","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:","homepage":"https://github.com/ssgreg/bottleneck","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/ssgreg/bottleneck","keywords_array":[],"namespace":"github.com/ssgreg","versions_count":2,"first_release_published_at":"2017-09-30T12:09:56.000Z","latest_release_published_at":"2017-09-30T12:20:42.000Z","latest_release_number":"v0.1.1","last_synced_at":"2026-07-19T20:02:04.860Z","created_at":"2022-04-11T02:34:39.454Z","updated_at":"2026-09-09T05:43:25.709Z","registry_url":"https://pkg.go.dev/github.com/ssgreg/bottleneck","install_command":"go get github.com/ssgreg/bottleneck","documentation_url":"https://pkg.go.dev/github.com/ssgreg/bottleneck#section-documentation","metadata":{},"repo_metadata":{"id":144202372,"uuid":"104747088","full_name":"ssgreg/bottleneck","owner":"ssgreg","description":"Bottleneck calculator written on Go.","archived":false,"fork":false,"pushed_at":"2017-09-30T12:21:15.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T22:18:39.858Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ssgreg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-09-25T12:28:55.000Z","updated_at":"2024-09-20T07:50:10.000Z","dependencies_parsed_at":"2023-06-18T18:45:38.096Z","dependency_job_id":null,"html_url":"https://github.com/ssgreg/bottleneck","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ssgreg/bottleneck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssgreg%2Fbottleneck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssgreg%2Fbottleneck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssgreg%2Fbottleneck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssgreg%2Fbottleneck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssgreg","download_url":"https://codeload.github.com/ssgreg/bottleneck/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssgreg%2Fbottleneck/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37174549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-09T02:00:06.536Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"ssgreg","name":"Grigory Zubankov","uuid":"1574981","kind":"user","description":"Unit Manager @Acronis\r\nGo, C++, C","email":"","website":"http://ssgreg.com","location":"Moscow","twitter":null,"company":"https://acronis.com","icon_url":"https://avatars.githubusercontent.com/u/1574981?u=a5afff1d2f056a0ac05be2f5464afa5bc6d33631\u0026v=4","repositories_count":30,"last_synced_at":"2023-03-30T15:20:58.929Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/ssgreg","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-04T06:59:23.472Z","updated_at":"2023-03-30T15:20:59.045Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssgreg","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssgreg/repositories"},"tags":[{"name":"v0.1.1","sha":"0e56b1c60e3857782a27bf4e4422011c96d4874f","kind":"commit","published_at":"2017-09-30T12:20:42.000Z","download_url":"https://codeload.github.com/ssgreg/bottleneck/tar.gz/v0.1.1","html_url":"https://github.com/ssgreg/bottleneck/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ssgreg/bottleneck@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssgreg%2Fbottleneck/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssgreg%2Fbottleneck/tags/v0.1.1/manifests"},{"name":"v0.1.0","sha":"6019d2b1a5a4d158e96a3158e5eee1e0dca1320d","kind":"commit","published_at":"2017-09-30T12:09:56.000Z","download_url":"https://codeload.github.com/ssgreg/bottleneck/tar.gz/v0.1.0","html_url":"https://github.com/ssgreg/bottleneck/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ssgreg/bottleneck@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssgreg%2Fbottleneck/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssgreg%2Fbottleneck/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2026-09-09T05:43:25.709Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":9.345852080216646,"dependent_packages_count":6.999148183520997,"stargazers_count":null,"forks_count":null,"average":8.172500131868823},"purl":"pkg:golang/github.com/ssgreg/bottleneck","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/ssgreg/bottleneck","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/ssgreg/bottleneck","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/ssgreg/bottleneck/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fssgreg%2Fbottleneck/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fssgreg%2Fbottleneck/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fssgreg%2Fbottleneck/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fssgreg%2Fbottleneck/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fssgreg%2Fbottleneck/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fssgreg%2Fbottleneck/codemeta","maintainers":[]}