summaryrefslogtreecommitdiff
path: root/selftest/perf_tests.py
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2017-02-16 16:41:00 +1300
committerAndrew Bartlett <abartlet@samba.org>2017-03-02 04:35:14 +0100
commit779ea4c1b5047d546ec7ab91305c97ed9f20cce7 (patch)
treef4f049f29959bb0718b1ee13a935dc3cdc7a53a8 /selftest/perf_tests.py
parentf1b2d356585d43f2bac24d5c32cbef4a90c43f36 (diff)
downloadsamba-779ea4c1b5047d546ec7ab91305c97ed9f20cce7.tar.gz
selftest: ndr_pack/unpack performance test
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>
Diffstat (limited to 'selftest/perf_tests.py')
-rw-r--r--selftest/perf_tests.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/selftest/perf_tests.py b/selftest/perf_tests.py
index 091349b6964..113170c22c3 100644
--- a/selftest/perf_tests.py
+++ b/selftest/perf_tests.py
@@ -25,6 +25,14 @@ plantestsuite_loadlist("samba4.ldap.ad_dc_performance.python(ad_dc_ntvfs)",
'--workgroup=$DOMAIN',
'$LOADLIST', '$LISTOPT'])
+plantestsuite_loadlist("samba4.ndr_pack_performance.python(ad_dc_ntvfs)",
+ "ad_dc_ntvfs",
+ [python, os.path.join(samba4srcdir,
+ "dsdb/tests/python/ndr_pack_performance.py"),
+ '$SERVER', '-U"$USERNAME%$PASSWORD"',
+ '--workgroup=$DOMAIN',
+ '$LOADLIST', '$LISTOPT'])
+
plantestsuite_loadlist("samba4.ldap.ad_dc_multi_bind.ntlm.python(ad_dc_ntvfs)",
"ad_dc_ntvfs",
[python, os.path.join(samba4srcdir,