Skip to main content

check performance of the func using decorator

Project description

performance_logger

Table of Contents

Installation

Download using pip via pypi.

$ pip install 'performance-logger' --upgrade

(Mac/homebrew users may need to use pip3)

Quick start

from performance_logger.main import perf_logger

@perf_logger('datetime')
def test_fun():
    return "it will log the time performance of test_fun using datetime format"

@perf_logger('ns')
def test_fun2():
    return "it will log the time performance of test_fun2 using nano seconds"

Features

  • Simple decorator functions for performance checking of functions
  • You can use parameter to choose logged performace format

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

performance_logger-1.0.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

performance_logger-1.0.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file performance_logger-1.0.2.tar.gz.

File metadata

  • Download URL: performance_logger-1.0.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.2

File hashes

Hashes for performance_logger-1.0.2.tar.gz
Algorithm Hash digest
SHA256 4fcece181aed57ae62b30959d7a8d0e6fc42ba5423a4c449414da059f7027be7
MD5 59ab00be1d439ccb7cc9fd07d34af02b
BLAKE2b-256 f3c23c4e9ed17cdda78c4dddda5d9eb9c482b2339e08fbaf51f9a7391642b9c3

See more details on using hashes here.

File details

Details for the file performance_logger-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: performance_logger-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.2

File hashes

Hashes for performance_logger-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e1624383f7d84582846e609f078b2513ec1fbca098ab4f953552f46678989d84
MD5 964f034cdaf7aee3116a937ab2a6bf77
BLAKE2b-256 f28ab7335ca2a0104346424d16ca2f4a66ce96dafc28b38acbc0151427d9283a

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