File: test_profiler.py

package info (click to toggle)
python-easydev 0.12.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 488 kB
  • sloc: python: 1,899; javascript: 49; makefile: 11
file content (11 lines) | stat: -rw-r--r-- 136 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
from easydev import do_profile




@do_profile()
def test_profile():
    @do_profile()
    def test_runme():
        a = 1
        a**2