[issue7029] Improve pybench

Marc-Andre Lemburg report at bugs.python.org
Tue Oct 6 22:57:04 CEST 2009


Marc-Andre Lemburg <mal at egenix.com> added the comment:

Kristján Valur Jónsson wrote:
> 
> Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:
> 
> Here is an updated patch with the superfluous timing function removed.
> Please advise me on how you "don't like the implementation"

The reporting methods are a complete mess (not your patch, my code).
They need a rewrite and then I can apply the extra gross output.

Something that would need to change is the .stat() patch: why
didn't you just add 3 new fields to the tuple instead of using
a list with 2 tuples ?

In any case, please don't invest too much time into this. I'm going
to rewrite the statistics part anyway and can then add the new
gross values while I'm at it.

> I'm also considering adding a '--quiet' flag that causes it to only emit 
> the 'total' line.  This is useful for automated testing of builds.  Any 
> thoughts about that?

Could be useful, yes.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7029>
_______________________________________


More information about the Python-bugs-list mailing list