Changeset 391 for python/trunk/Tools/pybench/pybench.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Tools/pybench/pybench.py
r325 r391 231 231 self.calibration_runs = calibration_runs 232 232 if timer is not None: 233 timer = timer233 self.timer = timer 234 234 235 235 # Init variables … … 279 279 pass 280 280 t = timer() - t 281 prep_times.append(t )281 prep_times.append(t / CALIBRATION_LOOPS) 282 282 min_prep_time = min(prep_times) 283 283 if _debug: … … 690 690 if (benchmarks_compatible and 691 691 test.compatible(other)): 692 # Both benchmark and tests are compar ible692 # Both benchmark and tests are comparable 693 693 min_diff = ((min_time * self.warp) / 694 694 (other_min_time * other.warp) - 1.0) … … 704 704 avg_diff = '%+5.1f%%' % (avg_diff * PERCENT) 705 705 else: 706 # Benchmark or tests are not compar ible706 # Benchmark or tests are not comparable 707 707 min_diff, avg_diff = 'n/a', 'n/a' 708 708 tests_compatible = 0
Note:
See TracChangeset
for help on using the changeset viewer.