{"id":28532340,"url":"https://github.com/predict-idlab/plotly-resampler-benchmarks","last_synced_at":"2025-07-07T14:30:33.540Z","repository":{"id":42059917,"uuid":"471295295","full_name":"predict-idlab/plotly-resampler-benchmarks","owner":"predict-idlab","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-19T16:58:40.000Z","size":7661,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-09T15:53:02.441Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/predict-idlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-18T08:48:05.000Z","updated_at":"2022-03-31T13:03:18.000Z","dependencies_parsed_at":"2022-08-12T03:40:46.340Z","dependency_job_id":null,"html_url":"https://github.com/predict-idlab/plotly-resampler-benchmarks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/predict-idlab/plotly-resampler-benchmarks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/predict-idlab%2Fplotly-resampler-benchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/predict-idlab%2Fplotly-resampler-benchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/predict-idlab%2Fplotly-resampler-benchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/predict-idlab%2Fplotly-resampler-benchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/predict-idlab","download_url":"https://codeload.github.com/predict-idlab/plotly-resampler-benchmarks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/predict-idlab%2Fplotly-resampler-benchmarks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264091811,"owners_count":23556191,"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":[],"created_at":"2025-06-09T15:38:12.398Z","updated_at":"2025-07-07T14:30:33.534Z","avatar_url":"https://github.com/predict-idlab.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Plotly-Resampler benchmarks\n\n## \u003cp align=\"center\"\u003e \u003ca href=\"https://predict-idlab.github.io/plotly-resampler/\"\u003e\u003cimg alt=\"Plotly-Resampler\" src=\"https://raw.githubusercontent.com/predict-idlab/plotly-resampler/main/mkdocs/static/logo.png\" height=\"100\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?color=black)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?)](http://makeapullrequest.com) \n\nThis repository withholds the [benchmark results](reports/benchmark_fig.png) and visualization code of the `plotly_resampler` paper and [toolkit](https://github.com/predict-idlab/plotly-resampler).\n\n![bencmark_result](reports/benchmark_fig.png)\n\n\n## Flow\n\nThe benchmark process follows these steps for each visualization-configuration:\n\n1. Each toolkit-visualization configuration script is called 10 times to average out the memory usage and runtime. Remark that by re-calling the script in separate runs, no caching or memory is shared among executions.\n2. Script execution:\n   1. Construct the synthetic visualization data\n   2. [VizTracer](https://github.com/gaogaotiantian/viztracer) starts logging\n   3. Construct the visualization according to the configuration\n   4. Wait till the graph is rendered in a selenium browser.\n   5. VizTracer stops logging\n   6. Write the VizTracer results to a JSON-file\n\nThe existing [benchmark JSONs](code/benchmark_jsons/) were collected on a desktop with an *AMD Ryzen 5 2600x @3.8Ghz* CPU and *48GB* RAM, with *Arch Linux* as operating system. Other running processes were limited to a minimum.\n\n\u003e more information about these outcomes can be found in the [**reports**](reports/README.md) readme.\n\n## Instructions\n\nTo install the required dependencies, just run:\n\n```bash\npoetry install\n```\n\nIf you want to **re-run the benchmarks**, use the [run_scripts](code/run_scripts.ipynb) notebook to generate new benchmark JSONs and then visualize them with the [benchmark visualization](code/benchmark_visualizations.ipynb) notebook.\n\n## Contributing\n\nWe are open to new-benchmark use-cases via **pull-requests**!\u003cbr\u003e\n\n\u003e Examples of other interesting benchmarks are\n\u003e  * other data properties\n\u003e  * other eligible tools\n\u003e  * benchmarking graph-interaction response time.\n\n\u003cbr\u003e\n\n---\n\u003cp align=\"center\"\u003e\n👤 \u003ci\u003eJonas Van Der Donckt\u003c/i\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpredict-idlab%2Fplotly-resampler-benchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpredict-idlab%2Fplotly-resampler-benchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpredict-idlab%2Fplotly-resampler-benchmarks/lists"}