~ubuntu-branches/ubuntu/karmic/python3.0/karmic

« back to all changes in this revision

Viewing changes to Tools/pybench/README

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-02-16 17:18:23 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090216171823-1d5cm5qnnjvmnzzm
Tags: 3.0.1-0ubuntu1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
  --examples       show examples of usage
83
83
 
84
84
Version:
85
 
 2.0
 
85
 2.1
86
86
 
87
87
The normal operation is to run the suite and display the
88
88
results. Use -f to save them for later reuse or comparisons.
95
95
 
96
96
Examples:
97
97
 
98
 
python2.1 pybench.py -f p21.pybench
99
 
python2.5 pybench.py -f p25.pybench
100
 
python pybench.py -s p25.pybench -c p21.pybench
 
98
python3.0 pybench.py -f p30.pybench
 
99
python3.1 pybench.py -f p31.pybench
 
100
python pybench.py -s p31.pybench -c p30.pybench
101
101
"""
102
102
 
103
103
License
111
111
 
112
112
"""
113
113
-------------------------------------------------------------------------------
114
 
PYBENCH 2.0
 
114
PYBENCH 2.1
115
115
-------------------------------------------------------------------------------
116
 
* using Python 2.4.2
 
116
* using CPython 3.0
117
117
* disabled garbage collection
118
118
* system check interval set to maximum: 2147483647
119
119
* using timer: time.time
141
141
       Processor:    x86_64
142
142
 
143
143
    Python:
 
144
       Implementation: CPython
144
145
       Executable:   /usr/local/bin/python
145
 
       Version:      2.4.2
 
146
       Version:      3.0
146
147
       Compiler:     GCC 3.3.4 (pre 3.3.5 20040809)
147
148
       Bits:         64bit
148
149
       Build:        Oct  1 2005 15:24:35 (#1)
331
332
Version History
332
333
---------------
333
334
 
 
335
  2.1: made some minor changes for compatibility with Python 3.0:
 
336
        - replaced cmp with divmod and range with max in Calls.py
 
337
          (cmp no longer exists in 3.0, and range is a list in
 
338
          Python 2.x and an iterator in Python 3.x)
 
339
 
334
340
  2.0: rewrote parts of pybench which resulted in more repeatable
335
341
       timings:
336
342
        - made timer a parameter