Ignore:
Timestamp:
Mar 19, 2014, 11:11:30 AM (11 years ago)
Author:
dmik
Message:

python: Update vendor to 2.7.6.

Location:
python/vendor/current/Tools/pybench
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • python/vendor/current/Tools/pybench/CommandLine.py

    r2 r388  
    459459            except AttributeError:
    460460                if value == '':
    461                     # count the number of occurances
     461                    # count the number of occurrences
    462462                    if values.has_key(optionname):
    463463                        values[optionname] = values[optionname] + 1
  • python/vendor/current/Tools/pybench/README

    r2 r388  
    44________________________________________________________________________
    55
    6      Extendable suite of of low-level benchmarks for measuring
     6     Extendable suite of low-level benchmarks for measuring
    77          the performance of the Python implementation
    88                 (interpreter, compiler or VM).
  • python/vendor/current/Tools/pybench/Setup.py

    r2 r388  
    1 #!python
     1#!/usr/bin/env python
    22
    33# Setup file for pybench
  • python/vendor/current/Tools/pybench/pybench.py

    r2 r388  
    231231            self.calibration_runs = calibration_runs
    232232        if timer is not None:
    233             timer = timer
     233            self.timer = timer
    234234
    235235        # Init variables
     
    279279                pass
    280280            t = timer() - t
    281             prep_times.append(t)
     281            prep_times.append(t / CALIBRATION_LOOPS)
    282282        min_prep_time = min(prep_times)
    283283        if _debug:
     
    690690                if (benchmarks_compatible and
    691691                    test.compatible(other)):
    692                     # Both benchmark and tests are comparible
     692                    # Both benchmark and tests are comparable
    693693                    min_diff = ((min_time * self.warp) /
    694694                                (other_min_time * other.warp) - 1.0)
     
    704704                        avg_diff = '%+5.1f%%' % (avg_diff * PERCENT)
    705705                else:
    706                     # Benchmark or tests are not comparible
     706                    # Benchmark or tests are not comparable
    707707                    min_diff, avg_diff = 'n/a', 'n/a'
    708708                    tests_compatible = 0
  • python/vendor/current/Tools/pybench/systimes.py

    r2 r388  
    66    This module implements various different strategies for measuring
    77    performance timings. It tries to choose the best available method
    8     based on the platforma and available tools.
     8    based on the platform and available tools.
    99
    1010    On Windows, it is recommended to have the Mark Hammond win32
Note: See TracChangeset for help on using the changeset viewer.