bUnit-dev / bUnit

bUnit is a testing library for Blazor components that make tests look, feel, and runs like regular unit tests. bUnit makes it easy to render and control a component under test’s life-cycle, pass parameter and inject services into it, trigger event handlers, and verify the rendered markup from the component using a built-in semantic HTML comparer.
https://bunit.dev
MIT License
1.11k stars 104 forks source link

Cache ctor info #1455

Closed linkdotnet closed 3 months ago

linkdotnet commented 3 months ago

Small perf improvement - caching the ConstructorInfo.

we could go even further and have an immutable copy of the initial RenderedConponent and clone it every time.