Command line tools to generate performance reports using the TALP module of DLB
Project description
{height=250px}
Talp Pages
TALP Pages is a collection of Python scripts to postprocess the json
outputs of DLB TALP and Gitlab pipeline snippets that can be included in your project.
This makes it easy to integrate TALP into your CI/CD setup and run Continous Benchmarking without having to code up your own solution.
We provide:
- talp_pages: Command line tool to generate static html pages
- Artifact management: A easy way to use Gitlab Artifacts to generate time series data plots.
- Reusable Jobs that easily integrate into a existing Gitlab CI enviroment
Use python package
Talp-Pages is written in Python (3.9+). We rely on poetry for packaging. To use, simply install via:
pip install talp-pages
From there you should have the following command-line tools available:
talp_report
talp_add_to_db
talp_badge
talp_report_ts
talp_pages
talp_download_artifacts
Use Gitlab Jobs
This section currently is not completly done, but we provide examples on how to use the jobs below:
talp-performance-run:
stage: performance
image: python:3.12-bullseye
script:
- python generate_talp_json.py
artifacts:
paths:
- talp.json
include:
- remote: https://pm.bsc.es/gitlab/dlb/talp-pages/-/raw/main/templates/add-to-db/template.yml
inputs:
stage: deploy
generating_job: talp-performance-run
talp_output: ./talp.json
enviroment: production
gitlab_url: https://gitlab.com
project_name: valentin.seitz1/sample-application
dlb_home: ./dlb_talp
job_name: talp-create-artifacts
- remote: https://pm.bsc.es/gitlab/dlb/talp-pages/-/raw/main/templates/generate-html/template.yml
inputs:
stage: deploy
generating_job: talp-create-artifacts
enviroment: production
dlb_home: ./dlb_talp
job_name: talp-gen-html
License
Talp-Pages is available under the General Public License v3.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file talp_pages-3.4.0a1.tar.gz
.
File metadata
- Download URL: talp_pages-3.4.0a1.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/6.8.4-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd0e2805fdaada445881b57a92bc19c05f82dd837ce190f33d441907952ef57e |
|
MD5 | 74927e146e26263b9a37b2932c7279fd |
|
BLAKE2b-256 | 58b608975195d98f964529fbe64180ab03a5bb0beea54967bd5d2f3964d62b08 |
File details
Details for the file talp_pages-3.4.0a1-py3-none-any.whl
.
File metadata
- Download URL: talp_pages-3.4.0a1-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/6.8.4-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8187d69319464dab579877c8e1d8ee2b6a946cb98b6548aafb761973331812f7 |
|
MD5 | 18414ddfcd9c3c30de398a2d5b43e186 |
|
BLAKE2b-256 | aadaa3d51567052aa21d6008848c8d1632368016fc029d297a132d2260f7c2fa |