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

Uploaded Source

File details

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

File metadata

  • Download URL: Perfole-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 fe6e3bcfb60c023f48b6fc54c1bd293e20aaa50ae9108bc56216d81add104c50
MD5 65a6dae465f6df6f5ff84dd0a4f47af6
BLAKE2b-256 8caeb563b7b125d4771f20d641a833ff27ed3965e49f782aad106df380ce9a33

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