Debian Codegraph @

scripts/checks-and-tests/collider-perf/README

raw
1 This example tests performance of InsertionSortCollider (with and without stride) and
2 SpatialQuickSortCollider and was basis for https://yade-dem.org/wiki/Colliders_performace
3 which features now-removed PersistentSAPCollider as well.
4
5 To run the test, say:
6
7 yade-trunk-multi perf.table perf.py
8
9 It will take time to finish. To collet results and get graphs from the generated log files, say
10
11 python mkGraph.py *.log
12
13 To see other results, log files are named like perf.64k.q.log (64k spheres with
14 SpatialQuickSortCollider), perf.32k.i.log (32k spheres, InsertionSortCollider),
15 perf.40k.is.log (InsertionSortCollider with stride) etc.
16
17 1. File with nSpheres spheres (loose packing) is generated first, it if doesn't exist yet.
18 This can take a few minutes, but is done only the first time for the particular sphere
19 number.
20
21 2. First iteration on the scene (TriaxialTest and the selected collider) with timings is
22 done and timing.stats() printed (appears in the log file).
23
24 3. Another 100 iterations are measured with timing.stats(), after which the test exits.
25
26 (Note: InsertionSortCollider with stride is currently commented out in the table,
27 as striding is not effective until later during the simulation.)
28