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.4.tar.gz (6.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: Perfole-0.0.4.tar.gz
  • Upload date:
  • Size: 6.0 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.4.tar.gz
Algorithm Hash digest
SHA256 2ff6cc339b47a8fa3ef80824e56fb2f58aede1a1785ce17969e7c7a3073682e1
MD5 567836415ae7d1388108f6a5dea14075
BLAKE2b-256 f50b1da991401179c7f6129a7fab7d8d873befed9522c571866d0e8f798271d0

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