[pypy-dev] Re: Test suite for basic types
Michael Hudson
mwh at python.net
Thu Feb 27 17:05:26 CET 2003
Armin Rigo <arigo at tunes.org> writes:
> Hello Michael,
>
> On Thu, Feb 27, 2003 at 03:19:15PM +0000, Michael Hudson wrote:
>> You're looking for test_types.
>
> Thanks!
No problem.
>> > It could also be turned into a much more accurate benchmark than
>> > that horrible PyStone !
>>
>> Accurate in what sense?
>
> More representative of real Python code.
I don't think test_types is very representative either...
> If we do n list operations, m integer operations, p dict operations,
> q class operations, for suitable values of n, m, p and q, then it
> would probably be much more representative than this Pascal-like
> PyStone which just never tests most of Python's very common types
> and built-in functions (like 'len').
You know about mal's pybench? It's more quantative that pystone, at
least.
Cheers,
M.
--
You can remove divmod() when I'm dead. Before then, it stays.
I'm sure all will agree that's a reasonable compromise.
-- Tim Peters negotiating on python-dev
More information about the Pypy-dev
mailing list