perftest: add a new medley test
commitc1e3937b3e47ae8e58b8dddba9ca67f3d7d709bf
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Tue, 21 Mar 2017 21:25:06 +0000 (22 10:25 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Fri, 23 Jun 2017 00:25:25 +0000 (23 02:25 +0200)
tree6486d87693ff5e5e840dde512cf2cc4c13e9bd56
parent03042b85c8140842633b36f3124e504b97b852a1
perftest: add a new medley test

This is something of a rewrite of ad_dc_performance.py with more
search tests and a rebalancing of others. For example, the users are
added in three lots of 2000 using varying methods rather than 5 of
1000 using ldap, reducing duplication thus clarifying the results.

Links are added in more realistic patterns with groups of varying
size.

To save time, the database is not cleaned up. Usually perftests are
run with TESTS= restriction to a single suite, but in case this is not
done, this suite is run last.

The ad_dc_performance suite is not replaced so that comparisons with
old test sequences are still possible.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
selftest/perf_tests.py
source4/dsdb/tests/python/ad_dc_medley_performance.py [new file with mode: 0644]