Skip to main content

Software for testing performance

Project description

performance_tester

Collection of modules for testing performance.

Installation

Command

pip install performance_tester

or add the following line in Pipfile if you use Pipenv

[dev-packages]
performance_tester = "*"

Examples

from performance_tester import measure_execution_time

@measure_execution_time(100)
def adder(a, b): # the function that you want to check the performance
    c = a + b
    return c

result = adder(1, 2)

Output:

100 loops:
mean: 3.573999492800795e-07 sec.
std : 1.1951605991912876e-07 sec.
max : 1.4500001270789653e-06 sec.
min : 3.199984348611906e-07 sec.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

performance-tester-1.1.3.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

performance_tester-1.1.3-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file performance-tester-1.1.3.tar.gz.

File metadata

  • Download URL: performance-tester-1.1.3.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for performance-tester-1.1.3.tar.gz
Algorithm Hash digest
SHA256 414ff251976845ed780b6f833deab500c7c88a331d55ab42f87c32625a057b61
MD5 76c3c1ec14f2c615d883613cde2406c8
BLAKE2b-256 16f195071e2551aa883c4bf995198f432b54935ab000d7dc2a811cfff61f6fed

See more details on using hashes here.

File details

Details for the file performance_tester-1.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for performance_tester-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 05732cd65d577a4d92a6b09eeb9e1bd7893544173dd4a1db492f88701a0f98b0
MD5 2ce7b84509d86780361f65564be4b819
BLAKE2b-256 bfcbfae242a3faaaa68837ea721004ca0fdd7253260941e7d8f671c65620c39b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page