How to User Profiling with Class based Components?

Similarly, how to use throttling with class based components? That is not documented either.

https://panel.holoviz.org/how_to/performance/throttling.html#enable-throttling