Documentation Is:
Please Explain in Detail...
The tooltip plugin calls the following plugin hooks: beforeTooltipDraw and afterTooltipDraw. These don't seem to be documentated.
Also it seems like the hook are called in the wrong place because it seems they get called every render cycle. But changing this will make it a braking change.
Your Proposal for Changes
Document the plugin hooks.
Change the hooks to only fire when the tooltip is actually being draw instead of every render cycle
Example
https://codepen.io/leelenaleee/pen/ZEXKRmR