diff --git a/README.md b/README.md index e91829d..9b29680 100644 --- a/README.md +++ b/README.md @@ -89,38 +89,38 @@ Solves a 2D Laplace problem using Finite Differences methods. The code is adapte Runs a molecular dynamics simulation. The code is adapted from examples written by [J. Burkardt](https://people.sc.fsu.edu/~jburkardt/py_src/py_src.html) ## Development branch results -### Performance Comparison (as of Mon Jul 15 11:15:31 UTC 2024) +### Performance Comparison (as of Wed Jul 17 15:26:21 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.27 | 1.23 | 1.34 | 1.31 -Bellman Ford | - | 3.39 | 3.60 | 1.07 | 3.62 | 3.85 | 3.76 | 4.42 -Dijkstra | - | 2.48 | 2.72 | 1.61 | 3.71 | 3.98 | 3.90 | 4.44 -Euler | - | 2.81 | 3.09 | 2.08 | 3.61 | 3.93 | 3.74 | 4.40 -Midpoint Explicit | - | 3.06 | 3.46 | 3.03 | 3.91 | 4.23 | 4.00 | 4.64 -Midpoint Fixed | - | 3.48 | 3.89 | 3.18 | 3.91 | 4.28 | 4.03 | 4.64 -RK4 | - | 3.92 | 4.16 | 3.93 | 4.47 | 4.79 | 4.57 | 5.26 -FD - L Convection | - | 2.48 | 2.86 | 0.89 | 3.67 | 3.95 | 3.78 | 4.41 -FD - NL Convection | - | 3.38 | 3.62 | 0.88 | 3.57 | 3.91 | 3.75 | 4.32 -FD - Poisson | - | 3.36 | 3.71 | 1.32 | 3.66 | 3.96 | 4.89 | 4.41 -FD - Laplace | - | 6.50 | 8.71 | 3.07 | 3.99 | 4.33 | 4.24 | 4.81 -M-D | - | 6.54 | 7.79 | 4.14 | 4.41 | 4.61 | 4.57 | 5.25 +Ackermann | - | 2.40 | 2.16 | 0.34 | 1.32 | 1.26 | 1.39 | 1.34 +Bellman Ford | - | 3.51 | 3.76 | 1.12 | 3.68 | 3.96 | 3.79 | 4.43 +Dijkstra | - | 2.42 | 2.71 | 1.61 | 3.72 | 3.96 | 3.90 | 4.45 +Euler | - | 2.74 | 3.06 | 2.06 | 3.62 | 3.94 | 3.76 | 4.42 +Midpoint Explicit | - | 3.10 | 3.51 | 3.09 | 3.87 | 4.18 | 3.99 | 4.61 +Midpoint Fixed | - | 3.52 | 3.92 | 3.29 | 3.91 | 4.29 | 4.10 | 4.71 +RK4 | - | 3.84 | 4.21 | 3.80 | 4.34 | 4.62 | 4.40 | 5.06 +FD - L Convection | - | 2.36 | 2.74 | 0.88 | 3.61 | 3.91 | 3.78 | 4.43 +FD - NL Convection | - | 3.36 | 3.63 | 0.90 | 3.63 | 3.95 | 3.77 | 4.40 +FD - Poisson | - | 3.50 | 3.80 | 1.35 | 3.74 | 4.04 | 5.01 | 4.51 +FD - Laplace | - | 6.82 | 9.05 | 3.14 | 4.06 | 4.37 | 4.30 | 4.89 +M-D | - | 6.60 | 7.89 | 4.11 | 4.41 | 4.50 | 4.61 | 5.35 ## Execution time Algorithm | python | pythran_gnu | pythran_intel | numba | pyccel_fortran_gnu | pyccel_c_gnu | pyccel_fortran_intel | pyccel_c_intel ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- -Ackermann (ms) | 295.00 | 2.87 | 3.03 | 9.59 | 1.55 | 1.50 | 8.39 | 3.93 -Bellman Ford (ms) | 1800.00 | 5.23 | 3.19 | 3.89 | 2.95 | 6.04 | 4.37 | 18.10 -Dijkstra (ms) | 4930.00 | 25.70 | 16.20 | 19.80 | 18.10 | 31.40 | 23.60 | 23.00 -Euler (ms) | 3930.00 | 25.20 | 25.60 | 37.20 | 15.60 | 141.00 | 13.70 | 127.00 -Midpoint Explicit (ms) | 7980.00 | 52.70 | 50.80 | 77.20 | 23.70 | 280.00 | 15.70 | 250.00 -Midpoint Fixed (ms) | 40900.00 | 251.00 | 92.00 | 371.00 | 75.90 | 1410.00 | 57.80 | 1220.00 -RK4 (ms) | 20100.00 | 159.00 | 34.80 | 140.00 | 33.70 | 486.00 | 37.30 | 404.00 -FD - L Convection (ms) | 2250.00 | 1.62 | 1.51 | 2.76 | 1.48 | 1.85 | 1.50 | 4.40 -FD - NL Convection (ms) | 2770.00 | 1.77 | 1.69 | 2.77 | 1.65 | 1.99 | 1.38 | 4.19 -FD - Poisson (ms) | 6410.00 | 2.96 | 5.55 | 7.15 | 2.81 | 3.80 | 2.60 | 5.68 -FD - Laplace (ms) | 573.00 | 63.90 | 148.00 | 246.00 | 58.00 | 280.00 | 62.60 | 318.00 -M-D (ms) | 14900.00 | 15.20 | 52.60 | 58.90 | 53.90 | 59.50 | 80.70 | 61.30 +Ackermann (ms) | 294.00 | 3.21 | 3.03 | 9.59 | 1.50 | 1.50 | 7.38 | 3.92 +Bellman Ford (ms) | 1850.00 | 5.22 | 3.25 | 3.77 | 2.99 | 5.98 | 4.02 | 18.60 +Dijkstra (ms) | 4940.00 | 25.00 | 17.10 | 19.80 | 19.00 | 30.90 | 24.40 | 22.80 +Euler (ms) | 3980.00 | 25.80 | 24.80 | 37.10 | 14.60 | 143.00 | 13.70 | 127.00 +Midpoint Explicit (ms) | 8130.00 | 53.10 | 52.00 | 77.90 | 23.70 | 286.00 | 15.70 | 254.00 +Midpoint Fixed (ms) | 41600.00 | 252.00 | 91.60 | 369.00 | 74.60 | 1390.00 | 63.50 | 1230.00 +RK4 (ms) | 20200.00 | 159.00 | 34.90 | 138.00 | 34.00 | 486.00 | 37.60 | 403.00 +FD - L Convection (ms) | 2220.00 | 1.62 | 1.49 | 2.72 | 1.44 | 1.84 | 1.30 | 4.44 +FD - NL Convection (ms) | 2830.00 | 1.86 | 1.77 | 2.83 | 1.80 | 1.99 | 1.40 | 4.14 +FD - Poisson (ms) | 6630.00 | 2.89 | 5.56 | 7.20 | 2.78 | 3.86 | 2.66 | 5.69 +FD - Laplace (ms) | 592.00 | 68.80 | 151.00 | 248.00 | 62.90 | 309.00 | 59.60 | 320.00 +M-D (ms) | 15000.00 | 15.20 | 52.80 | 59.00 | 53.90 | 59.40 | 79.90 | 60.70 ![Development compilation results](./version_specific_results/devel_performance_310_compilation.svg) ![Development execution results](./version_specific_results/devel_performance_310_execution.svg)