Skip to main content

Тестирование производительности кода

Project description

Что это ?

Проект для профилирования кода

Описание модулей

time_dec - Замерить Время

Пример работы

import random
from time_dec import time_s


@time_s(3)
def test():
    a = []
    for i in range(7000):
        a.append(random.randint(0, 9))

n = 100
a = []
test()
  • time_s(count_loop) = Замерить время выполнения в секундах

    • count_loop = Количество повторений функции
  • time_ns(count_loop) = Замерить время выполнения в наносекундах

    • count_loop = Количество повторений функции

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

dec_profiler-0.1.0.3.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

dec_profiler-0.1.0.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file dec_profiler-0.1.0.3.tar.gz.

File metadata

  • Download URL: dec_profiler-0.1.0.3.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.7.6 Windows/10

File hashes

Hashes for dec_profiler-0.1.0.3.tar.gz
Algorithm Hash digest
SHA256 3581a2cdb5c1f69f254c88fe5d876c14952740d08450fb6ccfd1d1574b91c86e
MD5 0d16163ba98f43f79694fdf3902dfa75
BLAKE2b-256 9e377aeed1317aae90ba72c1d48be4104d8c1320dfa206fcac083d7e56ca9932

See more details on using hashes here.

File details

Details for the file dec_profiler-0.1.0.3-py3-none-any.whl.

File metadata

  • Download URL: dec_profiler-0.1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.7.6 Windows/10

File hashes

Hashes for dec_profiler-0.1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2ce4946e4c3b09496a7c4288e06c6d1d0b9adef8d7aadc4609711eebf53e504d
MD5 f1d610143b5611ac32def50ed60679d3
BLAKE2b-256 4d665355b9a83d57e0e93fbe2ee0b700e09162c9c79ccf67804918a146358971

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page