File: README.rst

package info (click to toggle)
python-parsl 2025.12.01%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,112 kB
  • sloc: python: 24,369; makefile: 352; sh: 252; ansic: 45
file content (17 lines) | stat: -rw-r--r-- 458 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Profiling How-To
----------------

There's a heavy performance penalty when using conda vs standard python
distributions. So, these tests are preferably done with python installations
that come with the system.


To dump the profiling information
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> python3 -m cProfile -s cumtime -o <profiling.log> <test_1.py> -c 1000

To view the performance data :
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> pyprof2calltree -k -i <profiling.log>