diff --git a/README.md b/README.md index 6ca2d7b1..e096c52c 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 Sep 4 10:37:46 UTC 2023) +### Performance Comparison (as of Wed Sep 6 14:45:23 UTC 2023) ## Compilation time Algorithm | python | pythran | numba | pyccel_fortran | pyccel_c ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- -Ackermann | - | 2.75 | 0.42 | 1.36 | 1.30 -Bellman Ford | - | 3.82 | 1.34 | 2.44 | 2.32 -Dijkstra | - | 2.95 | 1.47 | 2.47 | 2.38 -Euler | - | 3.28 | 1.96 | 2.35 | 2.42 -Midpoint Explicit | - | 3.79 | 2.71 | 2.67 | 2.68 -Midpoint Fixed | - | 4.27 | 2.82 | 2.70 | 2.79 -RK4 | - | 5.00 | 3.24 | 3.47 | 3.27 -FD - L Convection | - | 2.86 | 1.07 | 2.30 | 2.30 -FD - NL Convection | - | 3.61 | 1.14 | 2.29 | 2.33 -FD - Poisson | - | 3.83 | 1.59 | 2.43 | 2.49 -FD - Laplace | - | 7.85 | 3.07 | 2.92 | 2.94 -M-D | - | 7.83 | 3.52 | 3.40 | 3.09 +Ackermann | - | 2.64 | 0.37 | 1.23 | 1.28 +Bellman Ford | - | 3.36 | 1.27 | 2.15 | 2.14 +Dijkstra | - | 2.62 | 1.27 | 2.20 | 2.08 +Euler | - | 2.91 | 1.70 | 2.05 | 2.08 +Midpoint Explicit | - | 3.26 | 2.32 | 2.36 | 2.39 +Midpoint Fixed | - | 3.79 | 2.51 | 2.42 | 2.55 +RK4 | - | 4.50 | 2.88 | 3.06 | 2.97 +FD - L Convection | - | 2.52 | 0.92 | 2.01 | 2.02 +FD - NL Convection | - | 3.18 | 0.98 | 2.25 | 2.04 +FD - Poisson | - | 3.32 | 1.39 | 2.17 | 2.19 +FD - Laplace | - | 6.77 | 2.67 | 2.55 | 2.61 +M-D | - | 6.87 | 3.07 | 3.01 | 2.76 ## Execution time Algorithm | python | pythran | numba | pyccel_fortran | pyccel_c ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- | ------------------------- -Ackermann (ms) | 453.00 | 9.52 | 28.10 | 2.98 | 2.95 -Bellman Ford (ms) | 2890.00 | 7.71 | 6.37 | 3.85 | 6.44 -Dijkstra (ms) | 7320.00 | 48.70 | 44.30 | 38.60 | 52.20 -Euler (ms) | 4800.00 | 42.10 | 114.00 | 22.60 | 239.00 -Midpoint Explicit (ms) | 9980.00 | 101.00 | 208.00 | 34.50 | 472.00 -Midpoint Fixed (s) | 49.70 | 0.66 | 1.05 | 0.10 | 2.38 -RK4 (ms) | 24000.00 | 202.00 | 382.00 | 44.90 | 765.00 -FD - L Convection (ms) | 3070.00 | 2.89 | 3.34 | 1.74 | 2.50 -FD - NL Convection (ms) | 3940.00 | 3.39 | 3.39 | 1.76 | 2.86 -FD - Poisson (ms) | 9010.00 | 5.69 | 9.81 | 3.69 | 4.90 -FD - Laplace (ms) | 724.00 | 236.00 | 377.00 | 74.60 | 415.00 -M-D (ms) | 19100.00 | 52.90 | 73.30 | 106.00 | 110.00 +Ackermann (ms) | 453.00 | 9.52 | 28.50 | 2.79 | 2.60 +Bellman Ford (ms) | 2930.00 | 7.72 | 5.61 | 3.85 | 5.73 +Dijkstra (ms) | 6510.00 | 44.50 | 39.40 | 35.70 | 46.80 +Euler (ms) | 4510.00 | 38.80 | 99.30 | 18.80 | 213.00 +Midpoint Explicit (ms) | 9010.00 | 71.30 | 183.00 | 27.70 | 420.00 +Midpoint Fixed (s) | 45.30 | 0.58 | 1.05 | 0.09 | 2.08 +RK4 (ms) | 22000.00 | 178.00 | 350.00 | 42.40 | 675.00 +FD - L Convection (ms) | 2740.00 | 2.60 | 3.00 | 1.59 | 2.27 +FD - NL Convection (ms) | 3480.00 | 3.07 | 3.28 | 1.61 | 2.60 +FD - Poisson (ms) | 8030.00 | 5.16 | 8.59 | 3.36 | 4.44 +FD - Laplace (ms) | 691.00 | 213.00 | 332.00 | 68.50 | 378.00 +M-D (ms) | 17800.00 | 48.20 | 66.30 | 96.10 | 99.90 ![Development compilation results](./version_specific_results/devel_performance_310_compilation.svg) ![Development execution results](./version_specific_results/devel_performance_310_execution.svg)