File tree Expand file tree Collapse file tree 5 files changed +13
-4
lines changed Expand file tree Collapse file tree 5 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -118,9 +118,11 @@ Utils
118118 local_split
119119
120120
121- .. currentmodule :: pylops_mpi.utils.dottest
121+ .. currentmodule :: pylops_mpi.utils
122122
123123.. autosummary ::
124124 :toctree: generated/
125125
126- dottest
126+ dottest
127+ benchmark
128+ mark
Original file line number Diff line number Diff line change 11.. _benchmarkutility :
22
3- Benchmark Utility in PyLops-MPI
4- ===============================
3+ Benchmarking
4+ ============
5+
56PyLops-MPI users can convenienly benchmark the performance of their code with a simple decorator.
67:py:func: `pylops_mpi.utils.benchmark ` and :py:func: `pylops_mpi.utils.mark ` support various
78function calling patterns that may arise when benchmarking distributed code.
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ class and implementing the ``_matvec`` and ``_rmatvec``.
7676 self
7777 installation.rst
7878 gpu.rst
79+ benchmarking.rst
7980
8081.. toctree ::
8182 :maxdepth: 2
Original file line number Diff line number Diff line change 11# isort: skip_file
22
3+ from .benchmark import *
34from .dottest import *
45from .deps import *
Original file line number Diff line number Diff line change 1+ __all__ = ["benchmark" ,
2+ "mark" ,
3+ ]
4+
15import functools
26import logging
37import os
You can’t perform that action at this time.
0 commit comments