profile

Functions

timeit(func)

Print the runtime of the decorated function

timeit_with_result(func)

Measures execution time and stores it in function's 'elapsed' attribute.

update_fields(func)

Update state field after executing function

Description

Profile decorators for Supervisely.

timeit(func)[source]

Print the runtime of the decorated function

timeit_with_result(func)[source]

Measures execution time and stores it in function’s ‘elapsed’ attribute.

update_fields(func)[source]

Update state field after executing function