Class: ScopedRuntimeProfileContextManager¶
Context manager used to profile blocks of code in the QgsApplication.profiler() registry.
with QgsRuntimeProfiler.profile('My operation'):
# do something
Added in version 3.14.
- class qgis.core.ScopedRuntimeProfileContextManager(operation)¶
Bases:
object