-
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
7e3af76
commit 33110b2
Showing
4 changed files
with
1,182 additions
and
1,184 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 Tue Jul 23 11:47:53 UTC 2024) | ||
### Performance Comparison (as of Thu Jul 25 16:32:03 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.33 | 2.09 | 0.34 | 1.31 | 1.25 | 1.38 | 1.33 | ||
Bellman Ford | - | 3.44 | 3.66 | 1.09 | 3.63 | 3.91 | 3.75 | 4.38 | ||
Dijkstra | - | 2.41 | 2.73 | 1.60 | 3.69 | 3.95 | 3.88 | 4.47 | ||
Euler | - | 2.73 | 3.09 | 2.05 | 3.61 | 3.93 | 3.75 | 4.39 | ||
Midpoint Explicit | - | 3.11 | 3.56 | 3.09 | 3.83 | 4.17 | 4.00 | 4.56 | ||
Midpoint Fixed | - | 3.50 | 3.88 | 3.26 | 3.90 | 4.22 | 4.03 | 4.68 | ||
RK4 | - | 3.84 | 4.23 | 3.84 | 4.35 | 4.60 | 4.50 | 5.12 | ||
FD - L Convection | - | 2.34 | 2.76 | 0.88 | 3.58 | 3.87 | 3.76 | 4.39 | ||
FD - NL Convection | - | 3.39 | 3.67 | 0.91 | 3.66 | 3.95 | 3.80 | 4.40 | ||
FD - Poisson | - | 3.40 | 3.75 | 1.35 | 3.73 | 4.02 | 4.91 | 4.49 | ||
FD - Laplace | - | 6.70 | 9.10 | 3.09 | 4.06 | 4.35 | 4.26 | 4.85 | ||
M-D | - | 6.49 | 7.75 | 4.09 | 4.35 | 4.49 | 4.53 | 5.30 | ||
Ackermann | - | 2.47 | 2.15 | 0.35 | 1.36 | 1.28 | 1.45 | 1.38 | ||
Bellman Ford | - | 3.65 | 3.88 | 1.12 | 3.76 | 4.12 | 3.91 | 4.57 | ||
Dijkstra | - | 2.46 | 2.77 | 1.63 | 3.80 | 4.06 | 3.99 | 4.67 | ||
Euler | - | 2.89 | 3.22 | 2.15 | 3.79 | 4.09 | 3.84 | 4.53 | ||
Midpoint Explicit | - | 3.24 | 3.61 | 3.19 | 3.96 | 4.39 | 4.13 | 4.72 | ||
Midpoint Fixed | - | 3.63 | 4.01 | 3.34 | 4.00 | 4.34 | 4.20 | 4.92 | ||
RK4 | - | 3.88 | 4.28 | 3.91 | 4.46 | 4.76 | 4.57 | 5.19 | ||
FD - L Convection | - | 2.44 | 2.90 | 0.88 | 3.68 | 4.02 | 3.86 | 4.66 | ||
FD - NL Convection | - | 3.50 | 3.73 | 0.92 | 3.79 | 4.16 | 3.90 | 4.59 | ||
FD - Poisson | - | 3.58 | 3.95 | 1.39 | 3.81 | 4.10 | 5.08 | 4.57 | ||
FD - Laplace | - | 6.90 | 9.58 | 3.16 | 4.14 | 4.46 | 4.41 | 5.03 | ||
M-D | - | 6.78 | 8.18 | 4.18 | 4.47 | 4.65 | 4.77 | 5.61 | ||
|
||
## Execution time | ||
Algorithm | python | pythran_gnu | pythran_intel | numba | pyccel_fortran_gnu | pyccel_c_gnu | pyccel_fortran_intel | pyccel_c_intel | ||
------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ||
Ackermann (ms) | 292.00 | 2.87 | 3.03 | 9.73 | 1.55 | 1.50 | 9.34 | 3.93 | ||
Bellman Ford (ms) | 1810.00 | 5.22 | 3.13 | 3.79 | 2.93 | 6.08 | 4.02 | 18.40 | ||
Dijkstra (ms) | 5060.00 | 25.50 | 16.90 | 18.60 | 18.10 | 30.10 | 24.70 | 23.20 | ||
Euler (ms) | 3880.00 | 25.70 | 24.70 | 36.80 | 14.90 | 143.00 | 18.70 | 128.00 | ||
Midpoint Explicit (ms) | 7810.00 | 53.10 | 51.00 | 77.90 | 23.60 | 283.00 | 16.40 | 254.00 | ||
Midpoint Fixed (ms) | 40200.00 | 251.00 | 91.60 | 367.00 | 75.30 | 1400.00 | 59.50 | 1230.00 | ||
RK4 (ms) | 20300.00 | 157.00 | 35.00 | 137.00 | 36.80 | 485.00 | 36.70 | 405.00 | ||
FD - L Convection (ms) | 2240.00 | 1.63 | 1.55 | 2.69 | 1.49 | 1.61 | 1.52 | 4.17 | ||
FD - NL Convection (ms) | 2770.00 | 1.76 | 1.69 | 2.80 | 1.79 | 1.99 | 1.52 | 4.04 | ||
FD - Poisson (ms) | 6210.00 | 2.89 | 5.56 | 7.16 | 2.77 | 3.82 | 2.63 | 5.64 | ||
FD - Laplace (ms) | 580.00 | 65.10 | 150.00 | 246.00 | 58.20 | 306.00 | 59.30 | 331.00 | ||
M-D (ms) | 15200.00 | 15.20 | 52.80 | 59.00 | 54.20 | 59.20 | 80.60 | 61.30 | ||
Ackermann (ms) | 294.00 | 2.93 | 3.03 | 9.77 | 1.50 | 1.55 | 7.45 | 3.92 | ||
Bellman Ford (ms) | 1780.00 | 5.24 | 3.12 | 3.84 | 2.95 | 6.16 | 4.20 | 18.30 | ||
Dijkstra (ms) | 5030.00 | 25.40 | 17.30 | 19.80 | 18.00 | 30.50 | 24.20 | 22.60 | ||
Euler (ms) | 3900.00 | 26.10 | 25.80 | 37.00 | 15.20 | 143.00 | 13.80 | 127.00 | ||
Midpoint Explicit (ms) | 7950.00 | 52.50 | 51.30 | 77.40 | 23.10 | 281.00 | 15.80 | 253.00 | ||
Midpoint Fixed (ms) | 40300.00 | 252.00 | 92.80 | 371.00 | 75.20 | 1390.00 | 61.70 | 1220.00 | ||
RK4 (ms) | 20200.00 | 151.00 | 35.20 | 137.00 | 33.40 | 485.00 | 37.20 | 404.00 | ||
FD - L Convection (ms) | 2220.00 | 1.65 | 1.62 | 2.70 | 1.46 | 1.63 | 1.32 | 4.12 | ||
FD - NL Convection (ms) | 2760.00 | 1.78 | 1.71 | 2.84 | 1.67 | 1.99 | 1.38 | 4.12 | ||
FD - Poisson (ms) | 6160.00 | 2.88 | 5.60 | 7.12 | 2.82 | 3.87 | 2.63 | 5.70 | ||
FD - Laplace (ms) | 586.00 | 64.70 | 149.00 | 250.00 | 58.50 | 255.00 | 59.10 | 325.00 | ||
M-D (ms) | 14700.00 | 15.20 | 53.00 | 59.10 | 54.40 | 59.70 | 80.30 | 60.20 |
Oops, something went wrong.