chore: Add benchmarks covering the component tree hot paths (#3959)