Skip to content

Commit

Permalink
adapt benchmark topic
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopold Talirz committed Dec 23, 2022
1 parent 2d37e78 commit 26398d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/source/topics/performance.rst
Expand Up @@ -52,10 +52,11 @@ Benchmarks

The :download:`benchmark script <../howto/include/scripts/performance_benchmark_base.py>` :fa:`download` provides a basic way of assessing performance of the workflow engine that involves all components (CPU, file system, postgresql, rabbitmq).

It launches 100 ``ArithmeticAddCalculation`` jobs on the localhost and measures the time until completion.
It launches 10 ``ArithmeticAddCalculation`` jobs on the localhost and measures the time until completion.
Since the workload of the ``ArithmeticAddCalculation`` (summing two numbers) completes instantly, the time per process is a reasonable measure of the overhead incurred from the workflow engine.

The numbers reported in the :ref:`howto section<how-to:installation:performance>` were obtained using a single daemon worker and can be reduced by increasing the number of daemon workers:
The numbers reported in the :ref:`howto section<how-to:installation:performance>` were obtained by running the processes through the Python interpreter.
The ``--daemon`` option can be used to run the calculations through the AiiDA daemon instead, and to look at parallelizing over multiple daemon workers:

.. table::
:widths: auto
Expand Down

0 comments on commit 26398d8

Please sign in to comment.