Small profiling decorator improvement

This commit is contained in:
VakarisZ 2021-03-16 16:51:21 +02:00 committed by Mike Salvatore
parent 80776f2b1d
commit 6a13fa90e6
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
To profile specific methods on island a `@profile(sort_args=['cumulative'], print_args=[100])`
decorator can be used.
Use it as any other decorator. After decorated method is used, a file will appear in a
Use it as a parameterised decorator(`@profile()`). After decorated method is used, a file will appear in a
directory provided in `profiler_decorator.py`. Filename describes the path of
the method that was profiled. For example if method `monkey_island/cc/resources/netmap.get`
was profiled, then the results of this profiling will appear in