Subject: [FFC-dev] Benchmarks for FFC 0.2.4

From: Anders Logg <[email-masked]>
Date: Tue, 6 Dec 2005 15:50:22 -0600

Here are some new results, benchmarking the computation of the
reference tensor for a set of standard forms.

The speedups are pretty good. Note that I have only measured the time
to compute the reference tensor (generating the code not included).

/Anders

Mass-matrix 2D

q | FFC 0.2.2  FFC 0.2.4  speedup
--------------------------------------------
1 | 3.4e-03    1.9e-03    1.8
2 | 8.1e-03    3.2e-03    2.5
3 | 2.0e-02    5.2e-03    3.9
4 | 4.2e-02    7.7e-03    5.5
5 | 8.1e-02    1.1e-02    7.4
6 | 1.4e-01    1.5e-02    9.5
7 | 2.4e-01    2.0e-02    11.8
8 | 3.8e-01    2.7e-02    14.2

Mass-matrix 3D

q | FFC 0.2.2  FFC 0.2.4  speedup
--------------------------------------------
1 | 4.4e-03    2.8e-03    1.6
2 | 2.1e-02    6.5e-03    3.3
3 | 7.9e-02    1.4e-02    5.8
4 | 2.5e-01    2.6e-02    9.6
5 | 6.9e-01    5.0e-02    13.8
6 | 1.8e+00    1.0e-01    17.6
7 | 4.1e+00    2.1e-01    19.1
8 | 9.3e+00    9.9e-01    9.4

Poisson 2D

q | FFC 0.2.2  FFC 0.2.4  speedup
--------------------------------------------
1 | 7.8e-03    2.4e-03    3.2
2 | 2.7e-02    4.0e-03    6.8
3 | 7.2e-02    6.6e-03    11.0
4 | 1.6e-01    1.0e-02    15.6
5 | 3.1e-01    1.5e-02    20.3
6 | 5.6e-01    2.2e-02    25.4
7 | 9.3e-01    3.1e-02    30.1
8 | 1.5e+00    4.4e-02    34.1

Poisson 3D

q | FFC 0.2.2  FFC 0.2.4  speedup
--------------------------------------------
1 | 2.7e-02    3.8e-03    7.1
2 | 1.6e-01    8.6e-03    18.1
3 | 6.3e-01    2.0e-02    30.7
4 | 2.1e+00    5.1e-02    40.3
5 | 5.6e+00    2.3e-01    24.2
6 | 1.4e+01    8.5e-01    16.4
7 | 3.3e+01    2.7e+00    12.3
8 | 7.2e+01    7.4e+00    9.7

Navier-Stokes 2D

q | FFC 0.2.2  FFC 0.2.4  speedup
--------------------------------------------
1 | 3.6e-01    5.7e-03    62.2
2 | 2.9e+00    1.3e-02    224.9
3 | 1.4e+01    1.1e-01    127.5

Navier-Stokes 3D

q | FFC 0.2.2  FFC 0.2.4  speedup
--------------------------------------------
1 | 9.4e+00    2.6e-02    368.3
2 | 1.5e+02    1.2e+00    131.9
3 | 1.4e+03    4.0e+01    34.7

Elasticity 2D

q | FFC 0.2.2  FFC 0.2.4  speedup
--------------------------------------------
1 | 1.5e-01    7.8e-03    19.2
2 | 5.8e-01    1.4e-02    40.9
3 | 1.7e+00    2.7e-02    62.0

Elasticity 3D

q | FFC 0.2.2  FFC 0.2.4  speedup
--------------------------------------------
1 | 2.6e+00    1.9e-02    132.4
2 | 1.6e+01    9.8e-02    165.4
3 | 6.8e+01    8.9e-01    76.5