diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-10-19 00:59:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:21:27 -0500 |
commit | cd2bc5854ca4f5aefb80e3599c1639c2badc7da9 (patch) | |
tree | ec6ce2a390bd1a95f240823064dd04314fa5edf0 /source4/kdc/pac-glue.h | |
parent | d6db8e6cb8e60e82328deda1bb5d940859deb0b7 (diff) | |
download | samba-cd2bc5854ca4f5aefb80e3599c1639c2badc7da9.tar.gz samba-cd2bc5854ca4f5aefb80e3599c1639c2badc7da9.tar.bz2 samba-cd2bc5854ca4f5aefb80e3599c1639c2badc7da9.zip |
r19405: the talloc speed test suite was not giving an accurate picture of the
cost of talloc versus malloc. The size parameter in the test suite was
constantly increasing, leading to a worst case for malloc. It is far
more common to have talloc calls of 100 bytes or lower, so change the
benchmark to reflect this.
This makes talloc look much worse - on my laptop I now get:
talloc: 5615164 ops/sec
malloc: 14337130 ops/sec
I'm working on improving that.
(This used to be commit db273ef4dd6ab58da57bb4b59fb1fd5568585ed8)
Diffstat (limited to 'source4/kdc/pac-glue.h')
0 files changed, 0 insertions, 0 deletions