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

Uploaded Source

File details

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

File metadata

  • Download URL: Perfole-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 b13ad3003c87af0aa0c2b4f34f29a1a26229bc4cf4435e3f721b18bf9a37c2fc
MD5 a95dba9ef4894ed3f97484ecacb75e29
BLAKE2b-256 4fd0ac359efffa92dd6aa01afb62d6b3bd6f478b5848a34c420b4af92b541dfe

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