visualizers.viser_app.profiler
#
Module Contents#
- class visualizers.viser_app.profiler.ViserProfilerConfig#
Configuration file for the Viser profiler.
Tracks the fields that the config is looking at. .. py:attribute:: tracked_fields
- type:
Dict
- class visualizers.viser_app.profiler.ViserProfiler(logfile: str | None = None, record: bool = False)#
Profiler that generates profiling and speed statistics of Viser. .. py:method:: benchmark_function(input_function: Callable, *args: Any, **kwargs: Any) -> Any
Call a function with a benchmarked process
- Parameters:
logfile (Optional[str]) –
record (bool) –
- benchmark_wrapper(input_function: Callable) Any #
Wrapper to convert a function into a profiled one
- Parameters:
input_function (Callable) –
- Return type:
Any