| Every Live Data cell wraps its content in a Tippy component (BaseDisplayer.vue), which creates a tippy.js instance with follow-cursor and interactive options, even for cells that cannot be edited and never show a tooltip. Displaying a page of the Live Data creates and destroys one tooltip instance per cell. Measured on 18.10.0-SNAPSHOT with a Live Data over 300 XObjects, 8 columns, 100 rows per page, production bundle, main-thread time only (server time excluded).
- vue-tippy and tippy.js take about 160 ms of the about 490 ms (profiled) page change, about a third.
- On a refresh with unchanged rows, re-rendering the tooltips takes about 90 ms.
Proposal: create the tooltip on demand, on the first interaction with a cell (hover or focus), instead of when the cell is displayed. |