pwperformance
pwperformance is a Scipion plugin with tests to measure performance and send benchmarks to a Codespeed server
Plugin installation
git clone https://github.com/scipion-em/scipion-em-pwperformance.git
scipion3 installp -p /path/to/scipion-em-pwperformance --devel
Environment variables
Define the following environment vars:
CODESPEED_URL = Codespeed server URL to send benchmarks to. Defaults to "http://localhost:8000"
CODESPEED_ENV = Environment name. Environment describes your testing PC configuration. Defaults to "unknown"
CODESPEED_PROJECT = This should be the plugin you want to test. Defaults to "pyworkflow"
CODESPEED_BRANCH = Git branch of your project. Defaults to "devel"
CODESPEED_COMMIT = Git commit id of your project. Defaults to "1"
Codespeed server installation
conda create -y -n codespeed python=3.6
conda activate codespeed
pip3 install pypandoc==1.7.5 setuptools==57.5.0 gunicorn
git clone https://github.com/tobami/codespeed
cd codespeed
pip3 install -e .
pip3 install “django<2.2,>=1.11”
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver 8000
- Go to http://localhost:8000/admin
create an environment (your CODESPEED_ENV)
create a Github-type project (name = CODESPEED_PROJECT) with a correct url (e.g. https://github.com/scipion-em/scipion-pyworkflow), branch (e.g. “devel” or your own CODESPEED_BRANCH) and tick “Track changes”
create a “devel” (or your own CODESPEED_BRANCH) branch
Example run
Run any of the following plugin tests to save the data on the codespeed server, e.g.:
scipion3 tests pwperformance.tests.test_profiling_load.TestProfilingLoadGUI
scipion3 tests pwperformance.tests.test_set_performance.TestSetPerformanceSteps
scipion3 tests pwperformance.tests.test_exportsteps.TestExportSteps
Metadata
Release files for scipion-em-pwperformance 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scipion-em-pwperformance-0.0.5.tar.gz | 24.7 kB | Without provenance | Details for scipion-em-pwperformance-0.0.5.tar.gz |
Release files / scipion-em-pwperformance-0.0.5.tar.gz
| Download URL | scipion-em-pwperformance-0.0.5.tar.gz |
|---|---|
| Size | 24.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0017fc7de392f832b88cdc4c0990e1483615c3a78a9285b0143feae198e36a1e
|
|
BLAKE2b-256 checksum How to use checksums |
314f487a0f5b964de4eb663c291ece71af9c71573d83119c88f869085fdfa030
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.16
|
Security for scipion-em-pwperformance 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.