Error: Typed property Drupal\webprofiler\Views\TraceableViewExecutable::$render_time must not be accessed before initialization

When a view gets build and executed, but not rendered, then this exception gets thrown:

Error: Typed property Drupal\webprofiler\Views\TraceableViewExecutable::$render_time must not be accessed before initialization in Drupal\webprofiler\Views\TraceableViewExecutable->getRenderTime() (line 48 of modules/contrib/webprofiler/src/Views/TraceableViewExecutable.php).

Drupal\webprofiler\DataCollector\ViewsDataCollector->collect() (Line: 156)
Symfony\Component\HttpKernel\Profiler\Profiler->collect() (Line: 115)
Drupal\webprofiler\EventListener\ProfilerListener->onKernelResponse()
call_user_func() (Line: 93)
Drupal\tracer\EventDispatcher\TraceableEventDispatcher->dispatch() (Line: 196)
Symfony\Component\HttpKernel\HttpKernel->filterResponse() (Line: 184)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 74)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 42)
Drupal\tracer\StackMiddleware\TracesMiddleware->handle() (Line: 34)
Drupal\webprofiler\StackMiddleware\WebprofilerMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 675)
Drupal\Core\DrupalKernel->handle() (Line: 19)