diff --git a/docs/source/benchmarking.rst b/docs/source/benchmarking.rst index f8a8b80b..7771fa93 100644 --- a/docs/source/benchmarking.rst +++ b/docs/source/benchmarking.rst @@ -9,10 +9,10 @@ This section provides information and results from performance benchmarking of g How to benchmark? ================= -The following simple models (found in the ``testing/benchmarking`` sub-package) can be used to benchmark gprMax on your own system. The models feature different domain sizes (from 100^3 to 800^3 cells) and contain a simple Hertzian dipole source in free space. The following shows an example of the 100^3 cell model: +The following simple models (found in the ``testing/benchmarking`` sub-package) can be used to benchmark gprMax on your own system. The models feature different domain sizes (from 100^3 to 800^3 cells) and contain a simple Hertzian dipole source in free space: -.. literalinclude:: ../../testing/benchmarking/bench_100x100x100.in - :language: none +.. literalinclude:: ../../testing/benchmarking/bench_simple.py + :language: python :linenos: The performance metric used to measure the throughput of the solver is: @@ -23,5 +23,5 @@ The performance metric used to measure the throughput of the solver is: where P is the throughput in millions of cells per second; NX, NY, and NZ are the number of cells in domain in the x, y, and z directions; NT is the number of time-steps in the simulation; and T is the runtime of the simulation in seconds. -.. figure:: ../../testing/benchmarking/results/NVIDIA.png +.. figure:: ../../images_shared/GPU_NVIDIA.png :width: 600px diff --git a/testing/benchmarking/results/CPU_AMD EPYC 7742.pdf b/images_shared/CPU_AMD EPYC 7742.pdf similarity index 100% rename from testing/benchmarking/results/CPU_AMD EPYC 7742.pdf rename to images_shared/CPU_AMD EPYC 7742.pdf diff --git a/testing/benchmarking/results/GPU_NVIDIA.png b/images_shared/GPU_NVIDIA.png similarity index 100% rename from testing/benchmarking/results/GPU_NVIDIA.png rename to images_shared/GPU_NVIDIA.png