diff --git a/README.md b/README.md index ceed947..e91829d 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 Wed Jul 10 13:52:50 UTC 2024) +### Performance Comparison (as of Mon Jul 15 11:15:31 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.38 | 2.18 | 0.34 | 1.31 | 1.24 | 1.39 | 1.33 -Bellman Ford | - | 3.56 | 3.64 | 1.09 | 3.62 | 3.90 | 3.81 | 4.40 -Dijkstra | - | 2.41 | 2.68 | 1.60 | 3.74 | 3.91 | 3.91 | 4.50 -Euler | - | 2.74 | 3.10 | 2.04 | 3.64 | 3.94 | 3.73 | 4.41 -Midpoint Explicit | - | 3.08 | 3.47 | 3.06 | 3.89 | 4.23 | 4.01 | 4.62 -Midpoint Fixed | - | 3.48 | 3.92 | 3.27 | 3.94 | 4.27 | 4.07 | 4.72 -RK4 | - | 3.83 | 4.28 | 3.88 | 4.38 | 4.70 | 4.51 | 5.21 -FD - L Convection | - | 2.45 | 2.79 | 0.90 | 3.64 | 3.94 | 3.79 | 4.47 -FD - NL Convection | - | 3.46 | 3.67 | 0.94 | 3.65 | 3.97 | 3.82 | 4.45 -FD - Poisson | - | 3.54 | 3.86 | 1.38 | 3.76 | 4.07 | 5.02 | 4.47 -FD - Laplace | - | 6.91 | 9.04 | 3.12 | 4.04 | 4.43 | 4.28 | 4.91 -M-D | - | 6.57 | 7.86 | 4.16 | 4.36 | 4.49 | 4.55 | 5.36 +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 ## 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.88 | 3.00 | 9.61 | 1.50 | 1.54 | 10.80 | 4.33 -Bellman Ford (ms) | 1790.00 | 5.22 | 3.13 | 3.78 | 2.97 | 6.11 | 4.42 | 18.70 -Dijkstra (ms) | 4850.00 | 25.40 | 16.20 | 18.70 | 18.60 | 30.50 | 24.00 | 22.80 -Euler (ms) | 3940.00 | 25.00 | 24.80 | 37.70 | 15.10 | 142.00 | 13.60 | 126.00 -Midpoint Explicit (ms) | 7980.00 | 52.30 | 52.10 | 78.00 | 22.80 | 282.00 | 15.70 | 253.00 -Midpoint Fixed (ms) | 40500.00 | 252.00 | 92.50 | 393.00 | 76.00 | 1380.00 | 57.90 | 1220.00 -RK4 (ms) | 20300.00 | 160.00 | 35.10 | 137.00 | 36.20 | 485.00 | 38.80 | 405.00 -FD - L Convection (ms) | 2220.00 | 1.63 | 1.55 | 2.67 | 1.47 | 1.87 | 1.29 | 4.15 -FD - NL Convection (ms) | 2760.00 | 1.76 | 1.68 | 2.83 | 1.67 | 2.02 | 1.53 | 4.11 -FD - Poisson (ms) | 6350.00 | 2.97 | 5.89 | 7.15 | 2.72 | 3.86 | 2.61 | 5.68 -FD - Laplace (ms) | 591.00 | 64.80 | 149.00 | 246.00 | 58.70 | 255.00 | 59.60 | 320.00 -M-D (ms) | 15000.00 | 15.20 | 52.80 | 59.10 | 54.00 | 59.20 | 79.20 | 61.90 +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 ![Development compilation results](./version_specific_results/devel_performance_310_compilation.svg) ![Development execution results](./version_specific_results/devel_performance_310_execution.svg)