{"id":17978480,"url":"https://github.com/mloskot/pycelerograph","last_synced_at":"2025-07-06T02:39:20.849Z","repository":{"id":66812302,"uuid":"92439118","full_name":"mloskot/pycelerograph","owner":"mloskot","description":"Python utility to generate pretty Bokeh graphs for Celero benchmark results","archived":false,"fork":false,"pushed_at":"2019-06-24T20:17:29.000Z","size":121,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T14:40:14.914Z","etag":null,"topics":["benchmark","bokeh","celero","charts","graphs","html","pycelerograph","python","python3","statistics","utility"],"latest_commit_sha":null,"homepage":"https://mloskot.github.io/pycelerograph/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mloskot.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":"2017-05-25T19:53:18.000Z","updated_at":"2021-11-18T09:02:30.000Z","dependencies_parsed_at":"2023-04-08T19:16:09.614Z","dependency_job_id":null,"html_url":"https://github.com/mloskot/pycelerograph","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloskot%2Fpycelerograph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloskot%2Fpycelerograph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloskot%2Fpycelerograph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloskot%2Fpycelerograph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mloskot","download_url":"https://codeload.github.com/mloskot/pycelerograph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245510699,"owners_count":20627243,"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","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":["benchmark","bokeh","celero","charts","graphs","html","pycelerograph","python","python3","statistics","utility"],"created_at":"2024-10-29T17:33:58.443Z","updated_at":"2025-03-25T17:31:31.794Z","avatar_url":"https://github.com/mloskot.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pycelerograph 1.0\n\nPython utility to convert [Celero](https://github.com/DigitalInBlue/Celero) benchmark\nresults to pretty [Bokeh](http://bokeh.pydata.org/) graphs.\n\n## Prerequisites\n\nBokeh 1.2.0 or later.\n\nSee [requirements.txt](requirements.txt) for details.\n\n## Quickstart\n\n```\npip install -r requirements.txt\n```\n\nOnce you have built Celero runner for your benchmark, generate CSV report:\n\n```\nbenchmark_cpp_sort -t benchmark_cpp_sort.csv\n```\n\nThen, generate HTML files with graphs in the current directory:\n\n```\npython celerograph.py benchmark_cpp_sort.csv\n```\n\nSee the [example](https://mloskot.github.io/pycelerograph/example/) for sample HTML output.\n\n## Features\n\n* Reads [Celero report in CSV](https://github.com/DigitalInBlue/Celero/blob/master/README.md) format into dictionary in memory.\n* Processes single CSV file or all CSV files in directory.\n* Can also process single concatenated CSV file with multiple benchmark groups.\n* Plots six graphs for the Celero measurements: *Baseline*, *us/Iteration*, *Iterations/sec*, *Min (us)*, *Max (us)*, *Mean (us)*.\n* Plots the graphs in 2x3 grid layout.\n* Plots bar charts only.\n* Adds single [Bokeh toolbar](http://bokeh.pydata.org/en/latest/docs/user_guide/tools.html) at the top of HTML page.\n* Generates single HTML report per benchmark group (outputs HTML files in the current directory).\n* Generates [index.html](https://mloskot.github.io/string_benchmark/results/index.html) file with linking all generated individual reports.\n* Is dead simple to modify, customise and extend.\n\n### Features Plan\n\n* Add tests. It is Python. It is shame to not to have any!\n* Optimise format of the in-memory dictionary  to avoid re-aggregating of the measurements.\n* Output the dictionary to JSON - currently, `class Column(Enum)` is not serializable with JSON encoder.\n\n## License\n\nThis is free and unencumbered software released into the public domain.\n\nhttp://unlicense.org\n\n## Credits\n\n* [John Farrier](https://github.com/DigitalInBlue/) for the Celero benchmarking library.\n* [Bryan Van de Ven](https://github.com/bryevdv) for Bokeh discovery.\n* [lexicalunit](https://github.com/lexicalunit) for [linking](https://github.com/lexicalunit/nanodbc/pull/258) me with Bryan.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmloskot%2Fpycelerograph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmloskot%2Fpycelerograph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmloskot%2Fpycelerograph/lists"}