{"id":20057745,"url":"https://github.com/raiden-network/performance-analysis-tool","last_synced_at":"2026-03-19T13:20:45.825Z","repository":{"id":40963142,"uuid":"212037114","full_name":"raiden-network/performance-analysis-tool","owner":"raiden-network","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-08T05:23:34.000Z","size":29350,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-02T09:45:13.609Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/raiden-network.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2019-10-01T07:30:24.000Z","updated_at":"2022-04-07T14:01:39.000Z","dependencies_parsed_at":"2023-01-24T12:15:46.109Z","dependency_job_id":null,"html_url":"https://github.com/raiden-network/performance-analysis-tool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raiden-network/performance-analysis-tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiden-network%2Fperformance-analysis-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiden-network%2Fperformance-analysis-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiden-network%2Fperformance-analysis-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiden-network%2Fperformance-analysis-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raiden-network","download_url":"https://codeload.github.com/raiden-network/performance-analysis-tool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raiden-network%2Fperformance-analysis-tool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29851808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"online","status_checked_at":"2026-02-26T02:00:06.774Z","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":[],"created_at":"2024-11-13T13:00:09.445Z","updated_at":"2026-02-26T07:47:26.780Z","avatar_url":"https://github.com/raiden-network.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"Scenario Player Analysis\n========================\nThis is an analysis tool to show performance metrics using the logs of a scenario player run.\n\nPrerequisites\n^^^^^^^^^^^^^\n- Python 3.7\n\nWe strongly recommend using a virtual python env like `pyenv \u003chttps://github.com/pyenv/pyenv\u003e`_\n(in addition to that you can use `virtualenvwrapper \u003chttps://github.com/virajkanwade/venvwrapper\u003e`_)\n\n- Scenario-player\n\nThe `Scenario-player \u003chttps://github.com/raiden-network/scenario-player\u003e`_  and scenario-player logs \nare a prerequisite to using this tool.\n\nInstallation\n^^^^^^^^^^^^\n\n.. code-block:: bash\n\n    pyenv shell 3.7.0\n    mkvenv raiden-analysis\n    pip install -r requirements.txt\n\nHow To Use\n^^^^^^^^^^\nEither start the analysis directly or print out the help:\n\n.. code-block:: bash\n\n    python analysis.py $PATH_TO_SCENARIO_LOG_FILE\n\n    python analysis.py -h\n\n\nSee an example result below.\n\nExamples\n^^^^^^^^\nTwo different scenarios are currently available as examples and each have three generated files:\n\n- A gantt plot is rendered in an HTML file - it contains a legend and a summary\n- A CSV file is created which contains the duration of the tasks\n- A HTML file with a statistic summary and histogram on the basis of each task type is getting calculated\n\nSimple-Scenario\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\n\n- Gantt: `\u003cexample/simple-scenario/gantt-overview.html\u003e`_\n- CSV: `\u003cexample/simple-scenario/durations.csv\u003e`_\n- Statistics: `\u003cexample/simple-scenario/statistics.html\u003e`_\n\nMediated-Transfers-Scenario\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\n\n- Gantt: `\u003cexample/mediated-transfers-scenario/gantt-overview.html\u003e`_\n- CSV: `\u003cexample/mediated-transfers-scenario/durations.csv\u003e`_\n- Statistics: `\u003cexample/mediated-transfers-scenario/statistics.html\u003e`_\n\n\nLimitations/Caveats\n^^^^^^^^^^^^^^^^^^^\n- the duration of a task is calculated by looking at the next event in the list of events (sorted by time)\n- tasks processed in parallel may not be visualized correctly\n- the number of ticks on the y-axis can be too high when too many tasks have been emitted in the log. In that case uncomment the ``showticklabels`` line within the ``draw_gantt()`` method.\n- log messages are grouped by task-id, resulting in request/response calls being grouped\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraiden-network%2Fperformance-analysis-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraiden-network%2Fperformance-analysis-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraiden-network%2Fperformance-analysis-tool/lists"}