-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c43286
commit 9f98b07
Showing
3 changed files
with
1,115 additions
and
2,193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,14 @@ | ||
### Performance Comparison (as of 1.9.1) | ||
## Compilation time | ||
Algorithm | python | pythran | numba | pyccel_fortran | pyccel_c | ||
------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ||
Ackermann | - | 2.43 | 0.35 | 1.24 | 1.19 | ||
Bellman Ford | - | 3.42 | 1.14 | 2.22 | 2.19 | ||
Dijkstra | - | 2.60 | 1.27 | 2.30 | 2.20 | ||
Euler | - | 2.99 | 1.71 | 2.17 | 2.21 | ||
Midpoint Explicit | - | 3.34 | 2.37 | 2.47 | 2.57 | ||
Midpoint Fixed | - | 3.86 | 2.51 | 2.53 | 2.59 | ||
RK4 | - | 4.30 | 2.79 | 3.03 | 3.05 | ||
FD - L Convection | - | 2.54 | 0.91 | 2.10 | 2.15 | ||
FD - NL Convection | - | 3.25 | 0.97 | 2.12 | 2.21 | ||
FD - Poisson | - | 3.42 | 1.40 | 2.28 | 2.30 | ||
FD - Laplace | - | 6.71 | 2.61 | 2.70 | 2.77 | ||
M-D | - | 7.05 | 3.20 | 3.17 | 2.95 | ||
Algorithm | python | pythran_gnu | pythran_intel | numba | pyccel_fortran_gnu | pyccel_c_gnu | pyccel_fortran_intel | pyccel_c_intel | ||
------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ||
Ackermann | - | 3.33 | 2.65 | 0.49 | 1.63 | 1.56 | - | - | ||
Bellman Ford | - | 4.52 | 4.52 | 1.47 | 2.72 | 2.64 | - | - | ||
Dijkstra | - | 3.58 | 3.58 | 1.70 | 2.88 | 2.90 | - | - | ||
|
||
## Execution time | ||
Algorithm | python | pythran | numba | pyccel_fortran | pyccel_c | ||
------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ||
Ackermann (ms) | 406.00 $\pm$ 4.00 | 9.89 $\pm$ 0.01 | 27.10 $\pm$ 0.20 | 3.14 $\pm$ 0.01 | 3.24 $\pm$ 0.00 | ||
Bellman Ford (ms) | 2620.00 $\pm$ 50.00 | 6.73 $\pm$ 0.01 | 6.34 $\pm$ 0.01 | 4.46 $\pm$ 0.00 | 6.59 $\pm$ 0.01 | ||
Dijkstra (ms) | 6430.00 $\pm$ 30.00 | 42.20 $\pm$ 0.50 | 35.20 $\pm$ 0.60 | 32.80 $\pm$ 0.40 | 49.80 $\pm$ 0.50 | ||
Euler (ms) | 4970.00 $\pm$ 20.00 | 39.90 $\pm$ 0.60 | 108.00 $\pm$ 0.00 | 20.40 $\pm$ 0.50 | 203.00 $\pm$ 3.00 | ||
Midpoint Explicit (ms) | 10100.00 $\pm$ 0.00 | 78.00 $\pm$ 4.20 | 215.00 $\pm$ 14.00 | 29.70 $\pm$ 0.90 | 401.00 $\pm$ 2.00 | ||
Midpoint Fixed (s) | 49.50 $\pm$ 0.20 | 0.61 $\pm$ 0.01 | 1.10 $\pm$ 0.03 | 0.10 $\pm$ 0.00 | 1.98 $\pm$ 0.02 | ||
RK4 (ms) | 25000.00 $\pm$ 100.00 | 223.00 $\pm$ 6.00 | 405.00 $\pm$ 6.00 | 41.90 $\pm$ 0.70 | 666.00 $\pm$ 4.00 | ||
FD - L Convection (ms) | 2670.00 $\pm$ 30.00 | 2.92 $\pm$ 0.06 | 3.25 $\pm$ 0.19 | 1.70 $\pm$ 0.01 | 2.62 $\pm$ 0.13 | ||
FD - NL Convection (ms) | 3260.00 $\pm$ 30.00 | 3.36 $\pm$ 0.08 | 3.40 $\pm$ 0.11 | 1.61 $\pm$ 0.01 | 2.64 $\pm$ 0.32 | ||
FD - Poisson (ms) | 8180.00 $\pm$ 130.00 | 5.78 $\pm$ 0.00 | 10.10 $\pm$ 0.10 | 4.20 $\pm$ 0.01 | 5.31 $\pm$ 0.00 | ||
FD - Laplace (ms) | 367.00 $\pm$ 2.00 | 251.00 $\pm$ 1.00 | 390.00 $\pm$ 3.00 | 77.10 $\pm$ 0.80 | 365.00 $\pm$ 0.00 | ||
M-D (ms) | 20000.00 $\pm$ 100.00 | 65.00 $\pm$ 0.00 | 78.30 $\pm$ 0.50 | 120.00 $\pm$ 0.00 | 122.00 $\pm$ 0.00 | ||
Algorithm | python | pythran_gnu | pythran_intel | numba | pyccel_fortran_gnu | pyccel_c_gnu | pyccel_fortran_intel | pyccel_c_intel | ||
------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ||
Ackermann (ms) | 508.00 $\pm$ 11.00 | 9.12 $\pm$ 0.45 | 9.35 $\pm$ 0.25 | 32.50 $\pm$ 0.80 | 2.46 $\pm$ 0.09 | 2.57 $\pm$ 0.05 | - | - | ||
Bellman Ford (ms) | 3370.00 $\pm$ 110.00 | 7.81 $\pm$ 0.24 | 7.73 $\pm$ 0.18 | 7.92 $\pm$ 0.41 | 5.12 $\pm$ 0.09 | 10.00 $\pm$ 0.30 | - | - | ||
Dijkstra (ms) | 8670.00 $\pm$ 400.00 | 55.00 $\pm$ 1.60 | 55.40 $\pm$ 3.60 | 53.40 $\pm$ 3.20 | 41.90 $\pm$ 1.60 | 67.20 $\pm$ 2.10 | - | - |
Oops, something went wrong.