Pystone measurement decorator 1.1 Python script

SPONSORED LINKS

    Specification

  • Version: 1.1
  • File size: 0 KB
  • File name: index_txt
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Python
  • Price:Other Free / Open So
  • Company: Tarek Ziad (View more)

Pystone measurement decorator 1.1 script description:




Publisher review:
Pystone measurement decorator script explains how to check that a given function does not run slower than a given pystone rate. This script explains how to check that a given function does not run slower than a given pystone rate. It first calculates the pystone ratio on your box.

This decoraone ratiot to use in production code, and would rather fit in functional or unit tests. This make performance tests portable to any box and fits performance regression tests you would want to run in unit tests.

DurationError is an AssertionError so it is reported as a failure in tests. local_pystone() is separated so you can call it once for many tests,and give it in the second argument of the decorator.

TOLERANCE is used to prevent failures for a busy CPU. (it's faster than using a 3-times test like hotshot does)
Pystone measurement decorator 1.1 is a Python script for Programming Methods and Algorithms scripts design by Tarek Ziad. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Pystone measurement decorator script explains how to check that a given function does not run slower than a given pystone rate.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5