reassure icon indicating copy to clipboard operation
reassure copied to clipboard

Discussion: Reassure v1.0

Open mdjastrzebski opened this issue 2 years ago • 3 comments

Reassure seems to have reached level when it can be considered feature complete for it's basic role of measuring React Native / React render performance using RNTL / RTL. The basic workflow for baseline vs current testing proven to be reasonable. The file formats (.perf, output.json) seem to be adequate, esp. including metadata part.

Therefore, I wanted to start a short discussion whether we are ready for v1 or is there something still missing that should be considered essential.

From my perspective:

  1. The recent addition of measureFunction API has left measurePerformance somewhat inadequately named. Therefore, I think we should rename it to measureRender. We can keep measurePerformance with deprecation warning to ease user migration.
  2. The improvements suggested in our issues are nice additions but they do not seem to constitute core features for this tool.

CC: @thymikee @Xiltyn @adhorodyski @jbinda @gedu

mdjastrzebski avatar Oct 11 '23 19:10 mdjastrzebski

If we can find a way to reuse existing integration tests and use them as perf tests, that would be great. Not sure if someone solved it or have a workaround. I have more than 1000 tests and want to reuse 50-100 tests as perf test out of those. If we can have a way to automatically convert them in to perf test

g-tiwari avatar Oct 11 '23 23:10 g-tiwari

Yes, from my side makes sense the rename update and move to 1.0

gedu avatar Oct 12 '23 06:10 gedu

I’m good with cutting the stable version at this point. It’s fine to keep measurePerformance as an alias for backwards compatibility, no need to deprecate it just yet as it will likely slow down the upgrade.

Once v1 is cut, we can think about next steps for this library and what we want to prioritize.

thymikee avatar Dec 29 '23 11:12 thymikee

Reassure v1 has been released! 🎉

mdjastrzebski avatar Jun 17 '24 13:06 mdjastrzebski