You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.
In [8]: importpickleIn [9]: pickle.load(open('t.py.lprof', 'rb'))
Out[9]: <_line_profiler.LineStatsat0x7fade8531e10>
Or just run
$ python -m line_profiler t.py.lprof
Timer unit: 1e-06 s
Total time: 1.00207 s
File: t.py
Function: f at line 2
Line # Hits Time Per Hit % Time Line Contents
==============================================================
2 @profile
3 def f():
4 1 1002074.0 1002074.0 100.0 time.sleep(1)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
How can I open the .lprof file? If I open it with nano or other common text editor I get non-understandable symbols, like these:
�^D��^@^@^@^@^@^@^@�^N_line_profiler�� LineStats���)��}�(�^Gtimings�}��^Pvisualization.py�K��^KshowImgAtts���]�(K�K^AK^E��K�K^AK^A��K�K^
The text was updated successfully, but these errors were encountered: