machine-independant bench

  • Thread starter =?ISO-8859-1?Q?Tarek_Ziad=E9?=
  • Start date
?

=?ISO-8859-1?Q?Tarek_Ziad=E9?=

Hi list,

I am trying to code some utilities to bench code performances,
machine-independant,
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top