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 |
Algorithm | python | pythran | numba | pyccel | pyccel_c |
---|---|---|---|---|---|
Ackermann (ms) | 528.00 |
18.10 |
34.60 |
3.65 |
4.15 |
Bellman Ford (ns) | 77200.00 |
470.00 |
639.00 |
282.00 |
603.00 |
Dijkstra (ns) | 40600.00 |
418.00 |
418.00 |
350.00 |
- |
Euler (ms) | 72.20 |
0.75 |
1.02 |
0.24 |
3.62 |
Midpoint Explicit (ms) | 147.00 |
1.66 |
2.69 |
0.31 |
6.54 |
Midpoint Fixed (ms) | 721.00 |
9.49 |
14.90 |
1.09 |
26.50 |
RK4 (ms) | 324.00 |
2.48 |
5.21 |
0.94 |
- |
FD - L Convection (ms) | 2560.00 |
2.09 |
11.60 |
2.35 |
2.25 |
FD - NL Convection (ms) | 3760.00 |
2.05 |
11.70 |
2.05 |
2.33 |
FD - Poisson (ms) | 5670.00 |
3.78 |
14.40 |
5.06 |
3.61 |
FD - Laplace (\textmu s) | 112.00 |
3.15 |
12.20 |
2.79 |
- |
M-D (ms) | 66800.00 |
77.80 |
280.00 |
69.50 |
82.40 |