Install line_profiler
pip install line_profiler
To enable @profile
decorator you need to run your code using kernprof
script.
According to the documentation:
kernprof
will create an instance ofLineProfiler
and insert it into the__builtins__
/* | |
* GLCD Font for Corne Keyboard Display | |
* File: glcdfont.c | |
* Author: Facundo Ferrín | |
* | |
* This font is inspired by the cyberpunk aesthetics of the book "Neuromancer" by William Gibson | |
* and was created based on an image found on Reddit. | |
* | |
* Everyone is free to use, modify, and distribute this font without any restrictions. | |
re*/ |
[alias] | |
co = checkout | |
d = diff | |
difflast = diff HEAD~1 HEAD | |
difflastname = diff --name-only HEAD~1 HEAD | |
b = branch | |
cm = commit -m | |
cmn = commit --no-verify -m | |
s = status | |
st = stash |
Install line_profiler
pip install line_profiler
To enable @profile
decorator you need to run your code using kernprof
script.
According to the documentation:
kernprof
will create an instance ofLineProfiler
and insert it into the__builtins__