holoviz-topics / neuro

HoloViz+Bokeh for Neuroscience
BSD 3-Clause "New" or "Revised" License
17 stars 5 forks source link

Add holoviz zoom benchmark #83

Closed droumis closed 7 months ago

droumis commented 7 months ago

This PR adds a zoom interaction benchmark to the Panel/HoloViews example.

Quick test: asv run -e -b Panel -q

[ 10.00%] ··· panel_holoviews_example.PanelHoloviewsExampleLatency.time_latency                                       ok
[ 10.00%] ··· ====== ========== =========
              --        output_backend
              ------ --------------------
                n      canvas     webgl
              ====== ========== =========
               1000   83.9±0ms   134±0ms
              ====== ========== =========

[ 20.00%] ··· panel_holoviews_example.PanelHoloviewsExampleZoom.time_zoom                                             ok
[ 20.00%] ··· ====== ========== ==========
              --         output_backend
              ------ ---------------------
                n      canvas     webgl
              ====== ========== ==========
               1000   48.5±0ms   55.9±0ms
              ====== ========== ==========