perf(view factory): Remove a try-catch and a timer for the critical path

This saves 4% (50ms) in the TreeComponent benchmark.