I am writing a turbo module for existing Java and C++ Apis and would like to build benchmarking setup to measure standard and load performance in terms of latency and CPU cycles.
We have something from google benchmark in C++/Java which achieves this. Is there something similar standard framework, I can use for typescript APIs to calculate average latency for 100 calls for example and possibly add variations.
I can easily put together something inhouse for my use-case but wanted to understand if there is already something commonly used in RN/JavaScript community.
Please note, these are purely device APIs for system operations so no Web/UI component is involved in this.