dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #02751
Benchmarks for new mesh library
Here are some results from a simple benchmark of the new mesh library:
Test | Old mesh New Mesh
--------------------------------------------------------------
Reading and initializing 1000 times | 0.90 s 0.21 s
Refining mesh uniformly 8 times | 27.2 s 2.14 s
Iterating over connectivity 100 times | 18.2 s 1.86 s
Memory usage | 281 MB 43 MB
Initial mesh: 8 vertices and 2 cells
Final mesh: 263169 vertices and 524288 cells
The speedup is around a factor 10. :-)
The memory usage has also been reduced. It's now at a minimum (give or
take a few bytes).
/Anders