summaryrefslogtreecommitdiff
path: root/pidl
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2019-02-21 16:47:55 +1300
committerAndrew Bartlett <abartlet@samba.org>2019-03-04 21:41:18 +0000
commitc942614eaed392736f4037cb3663ea9e38c7d36c (patch)
tree1a8e5e4f466f1e4799b8121810503b0274f972d9 /pidl
parente4ac7fb9dce9761c3bf5db6089f95d23cb8ecf39 (diff)
downloadsamba-c942614eaed392736f4037cb3663ea9e38c7d36c.tar.gz
dsdb pytsts: reduce scale of subtree rename speed test
The speed test, when it was introduced a few patches ago, was deliberately slow so that we could see how much better the changes were. It used 500 users, 50 groups, and 27 computers. Before the changes, it took this long: rename ou took 64.373s rename group took 0.160s rename user took 0.004s rename computer took 0.123s After using the sorted links, it took this long: rename ou took 12.984s rename group took 0.161s rename user took 0.004s rename computer took 0.122s And with the final patch to stop the linear search early on success: rename ou took 11.680s rename group took 0.089s rename user took 0.004s rename computer took 0.128s "rename ou" is the one we were aiming at. Now that we have done that, we reduce the size of the test so as not to slow down everyone's autobuilds. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'pidl')
0 files changed, 0 insertions, 0 deletions