feat: add performance statistics to UI protocol