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)
def get_blob(self, sddl):
return ndr_pack(self.get_desc(sddl))
- def test_00_00_do_nothing(self):
+ def test_00_00_do_nothing(self, cycles=10000):
# this gives us an idea of the overhead
- pass
+ for i in range(SCALE * cycles):
+ pass
def _test_pack(self, unpacked, cycles=10000):
pack = unpacked.__ndr_pack__