Skip to content

Latest commit

 

History

History
32 lines (31 loc) · 4.64 KB

performance.md

File metadata and controls

32 lines (31 loc) · 4.64 KB

Performance Comparison (as of Tue Jun 14 13:19:45 UTC 2022)

Compilation time

Algorithm python pythran numba pyccel pyccel_c
Ackermann - 3.70 0.48 1.53 1.37
Bellman Ford - 5.05 1.00 2.21 2.16
Dijkstra - 6.25 1.30 2.34 -
Euler - 7.64 1.52 2.29 2.27
Midpoint Explicit - 8.69 2.21 2.79 2.69
Midpoint Fixed - 9.61 2.65 2.77 2.70
RK4 - 9.16 2.62 3.18 -
FD - L Convection - 3.95 0.43 2.04 2.03
FD - NL Convection - 4.15 0.44 2.11 2.34
FD - Poisson - 10.87 1.00 2.35 2.21
FD - Laplace - 18.45 2.12 2.90 -
M-D - 15.12 5.81 3.69 3.29

Execution time

Algorithm python pythran numba pyccel pyccel_c
Ackermann (ms) 528.00 $\pm$ 16.00 18.10 $\pm$ 1.20 34.60 $\pm$ 1.70 3.65 $\pm$ 0.12 4.15 $\pm$ 0.14
Bellman Ford (ns) 77200.00 $\pm$ 3900.00 470.00 $\pm$ 18.00 639.00 $\pm$ 22.00 282.00 $\pm$ 11.00 603.00 $\pm$ 53.00
Dijkstra (ns) 40600.00 $\pm$ 1200.00 418.00 $\pm$ 21.00 418.00 $\pm$ 27.00 350.00 $\pm$ 12.00 -
Euler (ms) 72.20 $\pm$ 5.10 0.75 $\pm$ 0.03 1.02 $\pm$ 0.04 0.24 $\pm$ 0.02 3.62 $\pm$ 0.13
Midpoint Explicit (ms) 147.00 $\pm$ 9.00 1.66 $\pm$ 0.05 2.69 $\pm$ 0.08 0.31 $\pm$ 0.01 6.54 $\pm$ 0.58
Midpoint Fixed (ms) 721.00 $\pm$ 45.00 9.49 $\pm$ 0.32 14.90 $\pm$ 0.60 1.09 $\pm$ 0.03 26.50 $\pm$ 0.90
RK4 (ms) 324.00 $\pm$ 17.00 2.48 $\pm$ 0.08 5.21 $\pm$ 0.21 0.94 $\pm$ 0.03 -
FD - L Convection (ms) 2560.00 $\pm$ 50.00 2.09 $\pm$ 0.04 11.60 $\pm$ 0.60 2.35 $\pm$ 0.09 2.25 $\pm$ 0.06
FD - NL Convection (ms) 3760.00 $\pm$ 130.00 2.05 $\pm$ 0.06 11.70 $\pm$ 0.60 2.05 $\pm$ 0.13 2.33 $\pm$ 0.07
FD - Poisson (ms) 5670.00 $\pm$ 180.00 3.78 $\pm$ 0.11 14.40 $\pm$ 0.80 5.06 $\pm$ 0.12 3.61 $\pm$ 0.12
FD - Laplace (\textmu s) 112.00 $\pm$ 8.00 3.15 $\pm$ 0.14 12.20 $\pm$ 0.30 2.79 $\pm$ 0.14 -
M-D (ms) 66800.00 $\pm$ 1700.00 77.80 $\pm$ 2.60 280.00 $\pm$ 16.00 69.50 $\pm$ 1.80 82.40 $\pm$ 4.50