Closed cshaley closed 6 years ago
I like it! Can you update the docs to specify that the -u option takes the value in seconds?
@caethan Just the readme? Those are the only docs I can find, and many of the arguments are not documented there either...
I just meant the docstring.
Ok done.
Example test run: In:
In:
%lprun -u 1e-3 -f m m()
Out: Timer unit: 0.001 s
Total time: 0.363548 s File:
Function: m at line 1
Line # Hits Time Per Hit % Time Line Contents \============================================================== 1 def m(): 2 1 363.5 363.5 100.0 return [0]*10**8
Solution to #97