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.3.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.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: performance_logger-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 31b8356bf17ef57ba2cae1b2fa257562046214991845b60eaf23d6b30023ff4b
MD5 1e7bbb754bb29c46311c73666eafaddf
BLAKE2b-256 de5f489a4c17df1118c00034dd3e64bb4ca5140f794ab63d09308c7f26002d43

See more details on using hashes here.

File details

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

File metadata

  • Download URL: performance_logger-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bc347d740823586d0d97376173a26f8eb2bef430b2bd9eb3b42146af626ac52e
MD5 8114188382ec09c0e803ba1f8720fc80
BLAKE2b-256 90984e438133c1a178c3e1c25e2fca28b3e47d1f4d0e1f2f72823607f502d44d

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