[perfs] frontend performance tweaks