By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,550 Members | 1,161 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,550 IT Pros & Developers. It's quick & easy.

machine-independant bench

P: n/a
Hi list,

I am trying to code some utilities to bench code performances,
to be able to measure the absolute cost of a piece of code.

So i came up with the pystone idea (i've been told too in fact ;)).

so I just run pystones on the test machines and use it as a ratio over
code performance measurement. This is pretty good, but the major caveat
is that if the CPU is busy
, it can be slower than expected.

So i've introduced a tolerance flag, (another approach than the three
times run like hotshot does).

Any comment ?

Any alternatives to pystone in mind ?


Tarek Ziadé | Nuxeo R&D (Paris, France)
CPS Plateform :
mail: tziade at | tel: +33 (0) 6 30 37 02 63
You need Zope 3 -

Oct 15 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.