Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > machine-independant bench

Reply
Thread Tools

machine-independant bench

 
 
=?ISO-8859-1?Q?Tarek_Ziad=E9?=
Guest
Posts: n/a
 
      10-15-2005
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

--
Tarek Ziadé | Nuxeo R&D (Paris, France)
CPS Plateform : http://www.cps-project.org
mail: tziade at nuxeo.com | tel: +33 (0) 6 30 37 02 63
You need Zope 3 - http://www.z3lab.org/

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VHDL Test Bench + Help SneakerNet VHDL 3 03-03-2010 09:00 AM
NEWBIE TEST BENCH HELP? Massimiliano Bertei VHDL 4 01-20-2005 01:07 PM
Securing laptop for park-bench hot spots (newbie question) David D. Wireless Networking 3 01-19-2005 07:12 AM
How do I read binary file data in a test bench? Pete Fraser VHDL 4 11-04-2004 02:51 AM
Xilinx test bench and user group Joseph A. Zammit VHDL 3 04-21-2004 06:14 PM



Advertisments