summaryrefslogtreecommitdiff
path: root/selftest/perf_tests.py
Commit message (Collapse)AuthorAgeFilesLines
* perf_tests: Implicit string concatenationGarming Sam2021-06-171-1/+1
| | | | | | | | Discovered by Semmle code analysis: https://lgtm.com/projects/g/samba-team/samba Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
* perf-tests: rename paged search test for regex disambiguationDouglas Bagnall2019-04-051-1/+1
| | | | | | | | We like to use "TESTS=medley" for the old ad_dc_medley. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* paged_search: perf testing paged searchAaron Haslett2019-03-291-0/+17
| | | | | | | | | | Adding medley performance run with paged search module. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13836 Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* selftest/perftests: avoid import *Douglas Bagnall2018-10-251-1/+2
| | | | | Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <npower@samba.org>
* add provision performance testsDouglas Bagnall2017-06-231-0/+8
| | | | | | | Because making provision faster makes autobuild faster. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* perftest: add a new medley testDouglas Bagnall2017-06-231-0/+12
| | | | | | | | | | | | | | | | | | | | 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: add search performance testsDouglas Bagnall2017-03-021-0/+9
| | | | | Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* selftest: ndr_pack/unpack performance testDouglas Bagnall2017-03-021-0/+8
| | | | | | | This just does a lot of packing and unpacking of various structures. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* perf: Add simple tests for the open/close a database caseAndrew Bartlett2016-12-011-0/+23
| | | | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Dec 1 09:40:20 CET 2016 on sn-devel-144
* make perftest: for performance testingDouglas Bagnall2016-08-311-0/+26
This runs a selection of subunit tests and reduces the output to only the time it takes to run each test. The tests are listed in selftest/perf_tests.py. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz>