[RFC] new benchmark use cases
John Arbash Meinel
john at arbash-meinel.com
Thu Jul 20 16:55:48 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jan Balster wrote:
> Hi,
>
...
>
> Can you think of more benchmarks or suggest refinements of existing ones?
>
>
> cheers,
> jan
In working with the memory tuning, I think having a memory consumption
per benchmark would also be useful. I think 2 numbers are particularly
useful, the peak memory consumption, and the total area of memory
consumption (memory * time)
So a small jump isn't a big deal, but the absolute max memory
consumption is important. But just hitting 100MB for a second isn't as
bad as hitting it and staying there for the whole time.
I'm not sure the best way to measure memory consumption, since python
defaults to not letting you see how much memory things consume.
Right now, I'm using a wrapper script which spawns bzr, and then read
/proc/pid/status, and parses it to get the memory size information.
I don't know any cross platform way to get memory consumption, but maybe
we could factor it out into a function, and add the functionality once
figure it out.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEv6eEJdeBCYSNAAMRAiqJAJ9cywRMk0qXh5qHaLWS5Lgsi9IJ0gCeJo/R
2P6AcRFF1lo56s+xByWKLao=
=hArj
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list