From 4d9d04d9db21bf0e9266517db345089b6fea4397 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 30 Jan 2023 11:33:30 -0500 Subject: [PATCH] Update profile msgs to new apis --- piker/ui/_display.py | 2 +- piker/ui/_interaction.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/piker/ui/_display.py b/piker/ui/_display.py index fde3124e..acef98e5 100644 --- a/piker/ui/_display.py +++ b/piker/ui/_display.py @@ -891,7 +891,7 @@ def graphics_update_cycle( fvb.interact_graphics_cycle( do_linked_charts=False, ) - profiler(f'vlm `Viz[{viz.name}].plot.vb._set_yrange()`') + profiler(f'vlm `Viz[{viz.name}].plot.vb.interact_graphics_cycle()`') # even if we're downsampled bigly # draw the last datum in the final diff --git a/piker/ui/_interaction.py b/piker/ui/_interaction.py index 74f3afc4..dc0e47ed 100644 --- a/piker/ui/_interaction.py +++ b/piker/ui/_interaction.py @@ -1053,6 +1053,7 @@ class ChartView(ViewBox): read_slc, yrange ) = out + profiler(f'{viz.name}@{chart_name} `Viz.maxmin()`') pi = viz.plot