code: def _StopProfiling(self):
      
      if self._guppy_memory_profiler:
        self._guppy_memory_profiler.Sample()
        self._guppy_memory_profiler.Stop()
        self._guppy_memory_profiler = None
  
      if self._memory_profiler:
        self._memory_profiler.Stop()
        self._memory_profiler = None
  
      if self._processing_profiler:
        self._processing_profiler.Stop()
        self._processing_profiler = None
  
      if self._serializers_profiler:
        self._serializers_profiler.Stop()
        self._serializers_profiler = None
  
      if self._storage_profiler:
        self._storage_profiler.Stop()
        self._storage_profiler = None
  
      if self._tasks_profiler:
        self._tasks_profiler.Stop()
        self._tasks_profiler = None
docs: Stops profiling.