Browse Source

Profile

pull/170/head
Jure Šorn 1 year ago
parent
commit
4409e32c26
2 changed files with 2 additions and 2 deletions
  1. 2
      README.md
  2. 2
      index.html

2
README.md

@ -2604,7 +2604,7 @@ def main():
a = list(range(10000)) a = list(range(10000))
b = set(range(10000)) b = set(range(10000))
main()' > test.py main()' > test.py
$ kernprof --line-by-line --view test.py
$ kernprof -lv test.py
Line # Hits Time Per Hit % Time Line Contents Line # Hits Time Per Hit % Time Line Contents
============================================================== ==============================================================
1 @profile 1 @profile

2
index.html

@ -2129,7 +2129,7 @@ def main():
a = list(range(10000)) a = list(range(10000))
b = set(range(10000)) b = set(range(10000))
main()' > test.py main()' > test.py
$ kernprof --line-by-line --view test.py
$ kernprof -lv test.py
Line # Hits Time Per Hit % Time Line Contents Line # Hits Time Per Hit % Time Line Contents
============================================================== ==============================================================
1 @profile 1 @profile

Loading…
Cancel
Save