Skip to main content

Что это ?

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

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

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 = Количество повторений функции

Metadata

Release files for dec-profiler 0.1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dec-profiler 0.1.0.3
File Size Uploaded
dec_profiler-0.1.0.3.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dec-profiler 0.1.0.3
File Interpreter ABI Platform
dec_profiler-0.1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / dec_profiler-0.1.0.3.tar.gz

Download URL dec_profiler-0.1.0.3.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3581a2cdb5c1f69f254c88fe5d876c14952740d08450fb6ccfd1d1574b91c86e
BLAKE2b-256 checksum
How to use checksums
9e377aeed1317aae90ba72c1d48be4104d8c1320dfa206fcac083d7e56ca9932
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.7 CPython/3.7.6 Windows/10

Release files / dec_profiler-0.1.0.3-py3-none-any.whl

Download URL dec_profiler-0.1.0.3-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ce4946e4c3b09496a7c4288e06c6d1d0b9adef8d7aadc4609711eebf53e504d
BLAKE2b-256 checksum
How to use checksums
4d665355b9a83d57e0e93fbe2ee0b700e09162c9c79ccf67804918a146358971
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.7 CPython/3.7.6 Windows/10

Release history Release notifications | RSS feed

This release

0.1.0.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page