A simpe package to rapidly postprocessing the output of plumed benchmarks
Project description
Plumed-Bench-PP
A small toolset for postprocess plumed benchmark and the plumed time report at the end of the simulations
as now it can extract a dict from a file like:
BENCH: Kernel: this
BENCH: Input: plumed.dat
BENCH: Comparative: 1.000 +- 0.000
BENCH: Cycles Total Average Minimum Maximum
BENCH: A Initialization 1 0.214297 0.214297 0.214297 0.214297
BENCH: B0 First step 1 0.062736 0.062736 0.062736 0.062736
BENCH: B1 Warm-up 199 12.618833 0.063411 0.055884 0.076860
BENCH: B2 Calculation part 1 400 25.567659 0.063919 0.054110 0.113234
BENCH: B3 Calculation part 2 400 25.594014 0.063985 0.059516 0.102646
PLUMED: Cycles Total Average Minimum Maximum
PLUMED: 1 64.054325 64.054325 64.054325 64.054325
PLUMED: 1 Prepare dependencies 1000 0.003443 0.000003 0.000001 0.000013
PLUMED: 2 Sharing data 1000 0.305915 0.000306 0.000015 0.037867
PLUMED: 3 Waiting for data 1000 0.003051 0.000003 0.000002 0.000013
PLUMED: 4 Calculating (forward loop) 1000 63.459357 0.063459 0.054012 0.091577
PLUMED: 5 Applying (backward loop) 1000 0.008520 0.000009 0.000005 0.000044
PLUMED: 6 Update 1000 0.043188 0.000043 0.000031 0.000080
BENCH:
BENCH: Kernel: ../../src/lib/install/libplumedKernel.so
BENCH: Input: plumed.dat
BENCH: Comparative: 0.941 +- 0.002
BENCH: Cycles Total Average Minimum Maximum
BENCH: A Initialization 1 0.216190 0.216190 0.216190 0.216190
BENCH: B0 First step 1 0.058967 0.058967 0.058967 0.058967
BENCH: B1 Warm-up 199 11.983512 0.060219 0.056412 0.102643
BENCH: B2 Calculation part 1 400 24.035510 0.060089 0.056539 0.113900
BENCH: B3 Calculation part 2 400 24.084369 0.060211 0.056866 0.097184
PLUMED: Cycles Total Average Minimum Maximum
PLUMED: 1 60.373083 60.373083 60.373083 60.373083
PLUMED: 1 Prepare dependencies 1000 0.003351 0.000003 0.000001 0.000014
PLUMED: 2 Sharing data 1000 0.329323 0.000329 0.000015 0.032672
PLUMED: 3 Waiting for data 1000 0.003078 0.000003 0.000001 0.000013
PLUMED: 4 Calculating (forward loop) 1000 59.752459 0.059752 0.056310 0.083841
PLUMED: 5 Applying (backward loop) 1000 0.008900 0.000009 0.000006 0.000034
PLUMED: 6 Update 1000 0.043015 0.000043 0.000032 0.000239
or
PLUMED: Cycles Total Average Minimum Maximum
PLUMED: 1 60.373083 60.373083 60.373083 60.373083
PLUMED: 1 Prepare dependencies 1000 0.003351 0.000003 0.000001 0.000014
PLUMED: 2 Sharing data 1000 0.329323 0.000329 0.000015 0.032672
PLUMED: 3 Waiting for data 1000 0.003078 0.000003 0.000001 0.000013
PLUMED: 4 Calculating (forward loop) 1000 59.752459 0.059752 0.056310 0.083841
PLUMED: 5 Applying (backward loop) 1000 0.008900 0.000009 0.000006 0.000034
PLUMED: 6 Update 1000 0.043015 0.000043 0.000032 0.000239
One way of extracting the timing from the ouput of the benchmark is:
awk '/BENCH: Kernel: /,EOF' benchmark.out > times_benchmark.out
Table of Contents
Installation
pip install plumed-bench-pp
License
plumed-bench-pp is distributed under the terms of the MIT license.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plumed_bench_pp-0.0.7.tar.gz.
File metadata
- Download URL: plumed_bench_pp-0.0.7.tar.gz
- Upload date:
- Size: 27.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04e97226b253785acd981248b26ad03c3d70fb75ebd98e9a9bb937115159f37f
|
|
| MD5 |
137f0b5dc8bc3ae72565bfb4e6e2e957
|
|
| BLAKE2b-256 |
87731c1ed29d58defc4f62ac5b117a0656c73583ce627c3963055d692fd34d18
|
Provenance
The following attestation bundles were made for plumed_bench_pp-0.0.7.tar.gz:
Publisher:
publish.yaml on Iximiel/plumed-bench-pp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
plumed_bench_pp-0.0.7.tar.gz -
Subject digest:
04e97226b253785acd981248b26ad03c3d70fb75ebd98e9a9bb937115159f37f - Sigstore transparency entry: 348548467
- Sigstore integration time:
-
Permalink:
Iximiel/plumed-bench-pp@8c1aa6b044af9c99018eb09ac81193b713f2869e -
Branch / Tag:
refs/tags/v0.0.7 - Owner: https://github.com/Iximiel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@8c1aa6b044af9c99018eb09ac81193b713f2869e -
Trigger Event:
release
-
Statement type:
File details
Details for the file plumed_bench_pp-0.0.7-py3-none-any.whl.
File metadata
- Download URL: plumed_bench_pp-0.0.7-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8bde7278df548e31eb410e2873f44a3b44d4bcdd659bb9c6a863c637e33a98f
|
|
| MD5 |
faf5278412158b6c8ef8cf51a32f02d5
|
|
| BLAKE2b-256 |
85c4d9f355a2258219fca3cdd141348c217ea6d82460652f8a2e43b4cbcc82a8
|
Provenance
The following attestation bundles were made for plumed_bench_pp-0.0.7-py3-none-any.whl:
Publisher:
publish.yaml on Iximiel/plumed-bench-pp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
plumed_bench_pp-0.0.7-py3-none-any.whl -
Subject digest:
c8bde7278df548e31eb410e2873f44a3b44d4bcdd659bb9c6a863c637e33a98f - Sigstore transparency entry: 348548484
- Sigstore integration time:
-
Permalink:
Iximiel/plumed-bench-pp@8c1aa6b044af9c99018eb09ac81193b713f2869e -
Branch / Tag:
refs/tags/v0.0.7 - Owner: https://github.com/Iximiel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@8c1aa6b044af9c99018eb09ac81193b713f2869e -
Trigger Event:
release
-
Statement type: