Napari Perfmon

Performance monitoring tools.

Before starting on the rendering work for Napari we implemented some performance monitoring tools. Performance is extremely important to achieving rendering at interactive speeds. With performance monitoring Napari can produce JSON trace files that chrome://tracing can display. This visibility into what is happening and how long things are taking is indispensible for this type of work.

Example Trace

This trace shows an asynchronous load happening in the background.

Official Napari Docs

Read this walk through of using Performance Monitoring on Napari’s site. The page contains a lot of details about how the feature works.