Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/george0st/qgate-graph
The graph visualization under quality gate solution
https://github.com/george0st/qgate-graph
graphs python quality-gate
Last synced: 5 days ago
JSON representation
The graph visualization under quality gate solution
- Host: GitHub
- URL: https://github.com/george0st/qgate-graph
- Owner: george0st
- License: apache-2.0
- Created: 2023-04-27T20:20:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-03T20:00:41.000Z (about 1 month ago)
- Last Synced: 2024-12-03T20:28:35.045Z (about 1 month ago)
- Topics: graphs, python, quality-gate
- Language: Python
- Homepage:
- Size: 3.07 MB
- Stars: 71
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![PyPI version fury.io](https://badge.fury.io/py/qgate-graph.svg)](https://pypi.python.org/pypi/qgate-graph/)
![coverage](https://github.com/george0st/qgate-graph/blob/main/coverage.svg?raw=true)
![GitHub commit activity](https://img.shields.io/github/commit-activity/w/george0st/qgate-graph)
![GitHub release](https://img.shields.io/github/v/release/george0st/qgate-graph)# QGate-Graph
The QGate graph generates graphical outputs based on performance tests (QGate Perf). Key benefits:
- provide graphs about Performance/Throughput and Response time (on typically client side)
- provide graphs about Executors in timeIt is a quick way, how you can identify real performance for your python solution.
NOTE: These graphs only visualize outputs from performance tests (QGate Perf), it is not replacement of
detail views from Grafana, Prometheus, etc. in detail of CPU, GPU, RAM, I/O etc. on
side of testing system.## Usage
```python
from qgate_graph.graph_performance_txt import GraphPerformanceTxt
from qgate_graph.graph_performance_csv import GraphPerformanceCsv
from qgate_graph.graph_performance import GraphPerformance
from qgate_graph.graph_executor import GraphExecutor
import logging# setup login level
logging.basicConfig()
logging.getLogger().setLevel(logging.INFO)# generate performance/throughput graphs
graph=GraphPerformance()
graph.generate_from_dir()# generate executors in time graphs
graph=GraphExecutor()
graph.generate_from_dir()# generate performance/throughput graphs in TXT form
graph=GraphPerformanceTxt()
graph.generate_from_dir()# generate performance/throughput graphs in CSV form
graph=GraphPerformanceCsv()
graph.generate_from_dir()
```## Sample of outputs
#### Performance/Throughput & Response time
![graph](https://github.com/george0st/qgate-graph/blob/main/assets/PRF-Calc-2023-05-06_18-22-19-bulk-1x10.png?raw=true)
![graph](https://github.com/george0st/qgate-graph/blob/main/assets/PRF-NoSQL_igz_nonprod-2023-04-23_14-41-18-bulk-100x50.png?raw=true)#### Executors in time
![graph](https://github.com/george0st/qgate-graph/blob/main/assets/EXE-Calc-2023-05-06_18-22-19-bulk-1x10-plan-128x4.png?raw=true)
![graph](https://github.com/george0st/qgate-graph/blob/main/assets/EXE-NoSQL-2023-05-04_19-33-30-bulk-1x50-plan-8x2.png?raw=true)#### Performance/Throughput & Response time in [TXT form](https://github.com/george0st/qgate-graph/blob/main/assets/TXT-cassandra-163551-W1-low-RAW-2024-10-11_14-36-07-bulk-200x10.txt?raw=true)
![Performance in TXT](https://github.com/george0st/qgate-graph/blob/main/assets/TXT-cassandra-163551-W1-low-RAW-2024-10-11_14-36-07-bulk-200x10.png?raw=true)#### Performance/Throughput & Response time in [CSV form](https://github.com/george0st/qgate-graph/blob/main/assets/CSV-cassandra-235115-W2-med-RAW-2024-10-11_22-14-47-bulk-200x20.csv?raw=true)
![Performance in CSV](https://github.com/george0st/qgate-graph/blob/main/assets/CSV-cassandra-235115-W2-med-RAW-2024-10-11_22-14-47-bulk-200x20.png?raw=true)