你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-06 20:46:52 +08:00
Updated benchmarking test.
这个提交包含在:
@@ -47,12 +47,15 @@ iMac15,1
|
||||
|
||||
Execution time and speed-up factor plots for Python/Cython-based gprMax and previous (v.2) C-based code.
|
||||
|
||||
The results demonstrate that the Python/Cython-based code is faster, in these two benchmarks, than the previous version which was written in C. It also shows that the performance scaling with multiple OpenMP threads is better with the C-based code. Results from the C-based code show that when it is compiled serially the performance is approximately the same as when it is compiled with OpenMP and run with a single thread. With the Python/Cython-based code this is not the case. The overhead in setting up and tearing down the OpenMP threads means that for a single thread the performance is worse than the serially-compiled version.
|
||||
|
||||
.. note::
|
||||
|
||||
Zero threads indicates that the code was compiled serially, i.e. without using OpenMP.
|
||||
|
||||
The results demonstrate that the Python/Cython-based code is faster, in these two benchmarks, than the previous version which was written in C. It also shows that the performance scaling with multiple OpenMP threads is better with the C-based code. Results from the C-based code show that when it is compiled serially the performance is approximately the same as when it is compiled with OpenMP and run with a single thread. With the Python/Cython-based code this is not the case. The overhead in setting up and tearing down the OpenMP threads means that for a single thread the performance is worse than the serially-compiled version.
|
||||
|
||||
iMac15,1
|
||||
^^^^^^^^
|
||||
|
||||
.. figure:: ../../tests/benchmarking/results/MacOSX/iMac15,1/Apple_iMac15,1.png
|
||||
:width: 600px
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户