perftest:ndr_pack: spin in do_nothing for a while
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 3 Jan 2024 12:54:29 +0000 (01:54 +1300)
committerJule Anger <janger@samba.org>
Mon, 12 Feb 2024 10:53:13 +0000 (10:53 +0000)
commitfb49ce4760979194bddd644bfe8f497f34e7193d
tree794adbc697c1c17b7cb0b1ce101eddef62523f40
parent14edd0fd1ef8b05e51ce8f67c1208c8160cd59f0
perftest:ndr_pack: spin in do_nothing for a while

The idea was to get a less jittery idea of the underlying noise, but
ut is still almost instant. This I suppose is useful in indicating
that this much of the test has very little overhead.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15574
(cherry picked from commit 93e6ea4cff2cb6bd084db27139addeea06945ea5)
source4/dsdb/tests/python/ndr_pack_performance.py