Что это ?
Проект для профилирования кода
Описание модулей
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)
| File | Size | Uploaded | |
|---|---|---|---|
| dec_profiler-0.1.0.3.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|