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.

Import

from Perfole.Perfole import PERFORMANCE_TEST

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

Uploaded Source

File details

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

File metadata

  • Download URL: Perfole-0.0.6.tar.gz
  • Upload date:
  • Size: 5.7 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.6.tar.gz
Algorithm Hash digest
SHA256 d771a820cd1f3a460041c4f0b80ae6b906b2827011903192d048a22b07962414
MD5 d52d871bed5fdcbf7c5e4bca0fc40041
BLAKE2b-256 cecdb5dc195ac0c291073bbc8bcd52accdb180f8aa1d15348bd5e7d915da27ea

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