-
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
805e3ea
commit 287d25d
Showing
4 changed files
with
1,184 additions
and
1,182 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,32 @@ | ||
### Performance Comparison (as of Mon Jul 22 11:39:32 UTC 2024) | ||
### Performance Comparison (as of Mon Jul 22 12:17:37 UTC 2024) | ||
## Compilation time | ||
Algorithm | python | pythran_gnu | pythran_intel | numba | pyccel_fortran_gnu | pyccel_c_gnu | pyccel_fortran_intel | pyccel_c_intel | ||
------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ||
Ackermann | - | 2.30 | 2.04 | 0.33 | 1.31 | 1.20 | 1.39 | 1.33 | ||
Bellman Ford | - | 3.47 | 3.72 | 1.17 | 3.72 | 3.95 | 3.94 | 4.52 | ||
Dijkstra | - | 2.38 | 2.63 | 1.58 | 3.68 | 3.94 | 3.84 | 4.39 | ||
Euler | - | 2.72 | 3.06 | 2.11 | 3.66 | 3.94 | 3.70 | 4.30 | ||
Midpoint Explicit | - | 3.05 | 3.41 | 3.03 | 3.81 | 4.13 | 3.97 | 4.57 | ||
Midpoint Fixed | - | 3.59 | 3.95 | 3.30 | 3.95 | 4.32 | 4.13 | 4.90 | ||
RK4 | - | 4.02 | 4.43 | 4.00 | 4.46 | 4.73 | 4.55 | 5.14 | ||
FD - L Convection | - | 2.38 | 2.81 | 0.89 | 3.63 | 3.98 | 3.81 | 4.51 | ||
FD - NL Convection | - | 3.51 | 3.82 | 0.93 | 3.73 | 4.07 | 3.90 | 4.53 | ||
FD - Poisson | - | 3.60 | 3.93 | 1.41 | 3.85 | 4.12 | 5.18 | 4.66 | ||
FD - Laplace | - | 7.13 | 9.56 | 3.18 | 4.07 | 4.48 | 4.40 | 5.03 | ||
M-D | - | 6.94 | 8.30 | 4.29 | 4.51 | 4.62 | 4.74 | 5.48 | ||
Ackermann | - | 2.27 | 2.07 | 0.33 | 1.30 | 1.23 | 1.37 | 1.34 | ||
Bellman Ford | - | 3.43 | 3.66 | 1.09 | 3.64 | 3.91 | 3.77 | 4.37 | ||
Dijkstra | - | 2.41 | 2.68 | 1.60 | 3.69 | 3.90 | 3.86 | 4.42 | ||
Euler | - | 2.71 | 3.03 | 2.05 | 3.60 | 3.95 | 3.73 | 4.36 | ||
Midpoint Explicit | - | 3.07 | 3.43 | 3.04 | 3.84 | 4.15 | 3.95 | 4.55 | ||
Midpoint Fixed | - | 3.46 | 3.86 | 3.25 | 3.89 | 4.21 | 4.01 | 4.68 | ||
RK4 | - | 3.80 | 4.19 | 3.86 | 4.42 | 4.63 | 4.41 | 5.08 | ||
FD - L Convection | - | 2.45 | 2.72 | 0.88 | 3.57 | 3.90 | 3.79 | 4.68 | ||
FD - NL Convection | - | 3.36 | 3.84 | 0.90 | 3.61 | 3.93 | 3.79 | 4.66 | ||
FD - Poisson | - | 3.43 | 3.73 | 1.54 | 3.69 | 4.08 | 4.97 | 4.46 | ||
FD - Laplace | - | 6.68 | 8.85 | 3.06 | 4.00 | 4.32 | 4.26 | 4.85 | ||
M-D | - | 6.45 | 7.69 | 4.06 | 4.31 | 4.47 | 4.56 | 5.30 | ||
|
||
## Execution time | ||
Algorithm | python | pythran_gnu | pythran_intel | numba | pyccel_fortran_gnu | pyccel_c_gnu | pyccel_fortran_intel | pyccel_c_intel | ||
------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ||
Ackermann (ms) | 298.00 | 2.85 | 3.03 | 9.63 | 1.50 | 1.55 | 10.10 | 4.33 | ||
Bellman Ford (ms) | 1800.00 | 5.21 | 3.21 | 3.78 | 2.94 | 5.94 | 4.01 | 18.70 | ||
Dijkstra (ms) | 4910.00 | 24.50 | 15.70 | 19.60 | 18.70 | 29.60 | 22.50 | 22.30 | ||
Euler (ms) | 3860.00 | 25.70 | 25.10 | 37.60 | 14.70 | 143.00 | 14.30 | 126.00 | ||
Midpoint Explicit (ms) | 7820.00 | 52.30 | 51.00 | 77.20 | 22.50 | 279.00 | 16.50 | 253.00 | ||
Midpoint Fixed (ms) | 40000.00 | 252.00 | 91.60 | 367.00 | 76.70 | 1430.00 | 58.70 | 1250.00 | ||
RK4 (ms) | 20100.00 | 152.00 | 36.00 | 136.00 | 34.80 | 485.00 | 40.20 | 402.00 | ||
FD - L Convection (ms) | 2230.00 | 1.62 | 1.50 | 2.66 | 1.49 | 1.84 | 1.32 | 4.14 | ||
FD - NL Convection (ms) | 2770.00 | 1.78 | 1.71 | 2.82 | 1.81 | 2.04 | 1.40 | 4.17 | ||
FD - Poisson (ms) | 6390.00 | 3.03 | 5.64 | 7.13 | 2.72 | 3.74 | 2.60 | 5.66 | ||
FD - Laplace (ms) | 584.00 | 64.80 | 149.00 | 246.00 | 58.40 | 256.00 | 58.80 | 325.00 | ||
M-D (ms) | 15000.00 | 15.20 | 52.60 | 59.00 | 54.30 | 59.10 | 80.60 | 60.80 | ||
Ackermann (ms) | 296.00 | 2.89 | 3.04 | 9.84 | 1.50 | 1.50 | 8.96 | 3.93 | ||
Bellman Ford (ms) | 1820.00 | 5.21 | 3.28 | 3.86 | 2.97 | 5.96 | 4.40 | 18.80 | ||
Dijkstra (ms) | 4870.00 | 25.00 | 16.30 | 19.30 | 18.50 | 30.60 | 24.60 | 22.50 | ||
Euler (ms) | 3950.00 | 24.90 | 24.80 | 37.90 | 14.60 | 142.00 | 13.50 | 126.00 | ||
Midpoint Explicit (ms) | 8190.00 | 52.20 | 52.20 | 77.00 | 23.30 | 278.00 | 15.50 | 251.00 | ||
Midpoint Fixed (ms) | 41200.00 | 251.00 | 92.70 | 370.00 | 74.60 | 1380.00 | 62.80 | 1220.00 | ||
RK4 (ms) | 20400.00 | 159.00 | 35.70 | 138.00 | 34.80 | 485.00 | 37.30 | 401.00 | ||
FD - L Convection (ms) | 2220.00 | 1.62 | 1.50 | 2.66 | 1.45 | 1.84 | 1.31 | 4.06 | ||
FD - NL Convection (ms) | 2750.00 | 1.77 | 1.70 | 2.78 | 1.65 | 2.20 | 1.55 | 4.22 | ||
FD - Poisson (ms) | 6290.00 | 2.99 | 5.60 | 7.18 | 2.78 | 3.77 | 2.63 | 5.64 | ||
FD - Laplace (ms) | 576.00 | 64.50 | 149.00 | 244.00 | 58.20 | 305.00 | 59.80 | 324.00 | ||
M-D (ms) | 15400.00 | 15.20 | 53.00 | 59.00 | 53.60 | 59.00 | 80.20 | 61.60 |
Oops, something went wrong.