{"id":16726338,"url":"https://github.com/brunobonacci/hdr-plot","last_synced_at":"2025-08-18T19:07:30.498Z","repository":{"id":57436952,"uuid":"132513814","full_name":"BrunoBonacci/hdr-plot","owner":"BrunoBonacci","description":"A simple standalone script to plot HdrHistograms directly from the output of wrk load testing tool","archived":false,"fork":false,"pushed_at":"2023-04-11T12:38:33.000Z","size":283,"stargazers_count":20,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-04T07:49:15.423Z","etag":null,"topics":["hdr","hdrhistogram","latency","percentile","plot","wrk"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BrunoBonacci.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2018-05-07T20:37:03.000Z","updated_at":"2024-10-10T17:08:00.000Z","dependencies_parsed_at":"2024-10-28T11:34:33.190Z","dependency_job_id":"950307e1-2362-4e64-ae43-972b86873578","html_url":"https://github.com/BrunoBonacci/hdr-plot","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"5c941a054fb0a3b27cbe65f3ba7c6ecfecda4f4e"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/BrunoBonacci/hdr-plot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoBonacci%2Fhdr-plot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoBonacci%2Fhdr-plot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoBonacci%2Fhdr-plot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoBonacci%2Fhdr-plot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrunoBonacci","download_url":"https://codeload.github.com/BrunoBonacci/hdr-plot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoBonacci%2Fhdr-plot/sbom","scorecard":{"id":24822,"data":{"date":"2025-08-11","repo":{"name":"github.com/BrunoBonacci/hdr-plot","commit":"0c5b506b39e13a6087feda987c01ede053e2ca3e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Code-Review","score":2,"reason":"Found 3/15 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-14T17:38:10.549Z","repository_id":57436952,"created_at":"2025-08-14T17:38:10.549Z","updated_at":"2025-08-14T17:38:10.549Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271043683,"owners_count":24689803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"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"}},"keywords":["hdr","hdrhistogram","latency","percentile","plot","wrk"],"created_at":"2024-10-12T22:52:54.934Z","updated_at":"2025-08-18T19:07:30.429Z","avatar_url":"https://github.com/BrunoBonacci.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hdr-plot for HdrHistogram\n\nA standalone plotting script for https://github.com/giltene/wrk2 and\nhttps://github.com/HdrHistogram/HdrHistogram.\n\nThis is just a quick and unsophisticated script to quickly plot the\nHdrHistograms directly from the output of `wkr2` benchmarks.\n\nFor example:\n\n![myplot.png](myplot.png)\n\n## how to run\n\ninstallation:\n\n    pip3 install --upgrade --user hdr-plot\n\nusage:\n\n```\nusage: hdr_plot.py [-h] [--output OUTPUT] [--title TITLE] [--nosummary]\n                   [--noversion] [--units UNITS]\n                   [--percentiles-range-max PERCENTILES_RANGE_MAX]\n                   [--summary-fields SUMMARY_FIELDS]\n                   files [files ...]\n\nPlot HDRHistogram latencies.\n\npositional arguments:\n  files                 List HDR files to plot\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --output OUTPUT       Output file name (default: latency.png)\n  --title TITLE         The plot title\n  --nosummary           Do not plot the summary box\n  --noversion           Does not plot the version of hdr-plot\n  --units UNITS         The latency units (ns, us, ms)\n  --percentiles-range-max PERCENTILES_RANGE_MAX\n                        The maximum value of the percentiles range, e.g.\n                        99.9999 (i.e. how many nines to display)\n  --summary-fields SUMMARY_FIELDS\n                        List of fields to show in the summary box. A comma-\n                        separated list of: min, max, mean, median, p50, p90,\n                        p99, p999, p9999, ..., p999999. Default:\n                        median,p999,p9999,max\n```\n\nThen run `wrk` with the `-L` option and store the output into a file, like:\n\n    wrk -t2 -c100 -d30s -R2000 -L http://127.0.0.1:8080/index.html \u0026\u003e result.out\n\nFinally plot the percentile distribution:\n\n    hdr-plot --output myplot.png --title \"My plot\" ./result.out [...]\n\nYou can provide more files to be plotted on the same graph:\n\n    hdr-plot --output myplot.png --title \"My plot\" ./sample/file1.out ./sample/file2.out ./sample/file3.out\n\nPlease note that the name of the file is used as label for the plot legend.\n\n## Acknowledgements\n\nA special thank to [@Manuelbernhardt](https://github.com/manuelbernhardt) for providing PRs for a lot of improvements!\n\n## License\n\nCopyright © 2018-2023 Bruno Bonacci - Distributed under the [Apache License v 2.0](http://www.apache.org/licenses/LICENSE-2.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunobonacci%2Fhdr-plot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrunobonacci%2Fhdr-plot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunobonacci%2Fhdr-plot/lists"}