A tool for post-processing and analyzing preCICE profiling data.
Project description
preCICE profiling tools
Workflow
- Optional Enable
<profiling mode="all"/>in the preCICE configuration of your case to get the profiling information. - Run the preCICE simulation.
- Run
precice-profiling-mergeto combine all emitted profiling files of the simulation into a singleprofiling.dbfile. - Analyze the solvers:
- Use
precice-profiling-analyzeto get a breakdown of an individual solver. - Use
precice-profiling-traceto visualize the data. - Use
precice-profiling-exportto export the data as CSV to import in other software.
- Use
Tools
merge
Merges profiling files emitted by each rank of each participant into a single easily portable file.
Creates a profiling.db by default.
export
Transforms all events to a tabular format and exports the result as a CSV format.
The columns Participant, and Rank can be used to filter the dataset to extract individual participants or specific ranks.
Reads profiling.db and creates profiling.csv by default.
trace
Transforms all events to the Google Trace Format which can be visualized by tools such as about::tracing in Chromium based browsers or perfetto.dev.
Reads profiling.db and creates trace.json by default.
analyze
Analyzes a given solver and returns a table of all timings including some statistics based on their duration.
Reads profiling.db by default.
HPC users
HPC users or users of locked down clusters without easy access to pip can download the merge command as a standalone file and run it without installing additional dependencies.
wget -O precice-profiling-merge https://raw.githubusercontent.com/precice/profiling/refs/heads/main/preciceprofiling/merge.py
chmod +x precice-profiling-merge
Licensing
This repository contains modified part of the the precice-profiling script, which is part of the preCICE library (precice/precice tools/profiling/precice-profiling) and licensed under the LGPv3 license.
The two copyright holders David Schneider (@davidscn david.schneider@ipvs.uni-stuttgart.de) and Frédéric Simonis (@fsimonis frederic.simonis@ipvs.uni-stuttgart.de) decided on 23. June 2025 15:00 CET to rerelease the content of the precice-profiling script in this repository under 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 precice_profiling-2.1.0.tar.gz.
File metadata
- Download URL: precice_profiling-2.1.0.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98274a9f7d60264ca54368f0eb6147a6ba522be4c03e12ba16f1abe9c5f2d2d2
|
|
| MD5 |
7871cb13d640f104016a3eacc7365006
|
|
| BLAKE2b-256 |
0a7be9c4d35d43f59aa79400271111ce21d7f29d1b41a909eb1bd60d6a578d2d
|
Provenance
The following attestation bundles were made for precice_profiling-2.1.0.tar.gz:
Publisher:
release.yml on precice/profiling
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
precice_profiling-2.1.0.tar.gz -
Subject digest:
98274a9f7d60264ca54368f0eb6147a6ba522be4c03e12ba16f1abe9c5f2d2d2 - Sigstore transparency entry: 753250566
- Sigstore integration time:
-
Permalink:
precice/profiling@678be8328cdec8cd3087db2946b0cd9c9ea9eea6 -
Branch / Tag:
refs/tags/v2.1.0 - Owner: https://github.com/precice
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@678be8328cdec8cd3087db2946b0cd9c9ea9eea6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file precice_profiling-2.1.0-py3-none-any.whl.
File metadata
- Download URL: precice_profiling-2.1.0-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca25ba8d7312e087f85ba590dc33882736b9a873900a33f29139e23ddda4cc98
|
|
| MD5 |
c4544415b2f7077b17288468eac109a4
|
|
| BLAKE2b-256 |
8d4930a0861e35ae46b7275af9688c706bb13a582a3fee276d26a966e584a855
|
Provenance
The following attestation bundles were made for precice_profiling-2.1.0-py3-none-any.whl:
Publisher:
release.yml on precice/profiling
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
precice_profiling-2.1.0-py3-none-any.whl -
Subject digest:
ca25ba8d7312e087f85ba590dc33882736b9a873900a33f29139e23ddda4cc98 - Sigstore transparency entry: 753250569
- Sigstore integration time:
-
Permalink:
precice/profiling@678be8328cdec8cd3087db2946b0cd9c9ea9eea6 -
Branch / Tag:
refs/tags/v2.1.0 - Owner: https://github.com/precice
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@678be8328cdec8cd3087db2946b0cd9c9ea9eea6 -
Trigger Event:
push
-
Statement type: