Skip to main content

Measure performance

Project description

Package for measuring software performance. Measuring is done by defining start and end point to measure. Start and end point is called action. Action should have meaningful name. Multiple actions can exist.

Set start/end points

    PERFORMANCE_TEST.StartAction(name...)
    ...
    PERFORMANCE_TEST.EndAction(name...)

Start/stop measurement

    PERFORMANCE_TEST.Start()
    ...
    PERFORMANCE_TEST.Stop()

Expected methods order

PERFORMANCE_TEST.Start()  // before action points


PERFORMANCE_TEST.StartAction() // anywhere beetwen start/stop measurement
...
PERFORMANCE_TEST.EndAction() // anywhere beetwen start/stop measurement


PERFORMANCE_TEST.Stop() // after all action points

Results

Stop() method will return list of caught actions. For cloud reporting functionality visit https://perfole.com

UniqueIdentifier parameter

UniqueIdentifier parameter must be given when start/end points are in different threads:

PERFORMANCE_TEST.StartAction(name="myAction", uniqueIdentifier= "myIdentifier") ... PERFORMANCE_TEST.EndAction(name="myAction", uniqueIdentifier= "myIdentifier")

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

Perfole-0.0.1.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file Perfole-0.0.1.tar.gz.

File metadata

  • Download URL: Perfole-0.0.1.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for Perfole-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e6ce3d71c8456053ccfed2a629649a4a4021fd42791dd1789d625b048413b4ed
MD5 2c0eca7767c6dabf123d0ad0861bb877
BLAKE2b-256 c713cbeab02cff2f374d2e3979817d4acb0eba8fd557c1db29cf8f8c4b21f24e

See more details on using hashes here.

Supported by

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