File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1425,7 +1425,7 @@ with PyCallGraph(output=graph):
1425
1425
from timeit import default_timer
1426
1426
from datetime import timedelta
1427
1427
1428
- def stopwatch (func ):
1428
+ def time_me (func ):
1429
1429
def out (* args , ** kwargs ):
1430
1430
start = default_timer()
1431
1431
result = func(* args, ** kwargs)
@@ -1440,7 +1440,7 @@ def stopwatch(func):
1440
1440
from cProfile import Profile
1441
1441
from pstats import Stats
1442
1442
1443
- def profiler (func ):
1443
+ def profile_me (func ):
1444
1444
def out (* args , ** kwargs ):
1445
1445
profile = Profile()
1446
1446
result = profile.runcall(func, * args, ** kwargs)
@@ -1456,7 +1456,7 @@ def profiler(func):
1456
1456
1457
1457
#### Prints arguments and output of a decorated function:
1458
1458
``` python
1459
- def tracer (func ):
1459
+ def trace_me (func ):
1460
1460
def out (* args , ** kwargs ):
1461
1461
result = func(* args, ** kwargs)
1462
1462
arg_list = [repr (x) for x in args]
You can’t perform that action at this time.
0 commit comments