What is Reassure and why use it?
mainReassure is a performance testing library for React Native designed to automate performance regression testing on CI or local machines.
Instead of manually profiling render patterns and memoization, Reassure allows you to write performance tests that verify your app continues to work performantly. It works by:
- Measuring render characteristics (duration and count) for a provided testing scenario.
- Repeating the scenario multiple times to mitigate environmental noise.
- Applying statistical analysis to determine if code changes are statistically significant.
- Generating human-readable reports for CI or Pull Request comments.
Reassure is designed to reuse as much of your existing React Native Testing Library tests and setup as possible.