Debug import time or use this inside of a profiler.
Project description
Import Time
Use this module to debug your import times or to check how long a process takes.
Usage
from importTime import startImport , endImport
startImport()
import numpy as np
endImport("numpy")
startImport()
import torch
endImport("torch")
startImport()
from PIL import Image, ImageFilter
import PIL
import mediapipe as mp
endImport("MediaPipe + PIL")
Returns
Time to Import numpy: 0.08100032806396484
Time to Import torch: 0.9580004215240479
Time to Import MediaPipe + PIL: 2.0379998683929443
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for importTime-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ed28e2cca8ebf94f3b1121241b404e5f9ac063f2fdfa0bbd730fde143f840af |
|
MD5 | ab5ae0989f9690c8649c2651b75f15e3 |
|
BLAKE2b-256 | 6c66e985fb960ceab696177550f892ba290ee0b6e5081a338f0e5cc42ab79576 |