firebase / firebase/firebase-ios-sdk
FR: Add screentrace with custom name and start / stop methods rather than per viewcontroller
Open
api: performance
type: feature request
- Dominant language
- C++
- Stars
- 6.7k
- Forks
- 1.8k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 72
Description
### Feature proposal
* Firebase Component: Performance
A React Native "screen" can be anything and doesn't have to be a ViewController. In fact, most everything in React Native runs in one ViewController. Thus I am proposing an API:
ScreenTrace.start('FirstScreen');
ScreenTrace.stop('FirstScreen');
ScreenTrace.start('SecondScreen');
ScreenTrace.stop('SecondScreen');
Allowing users to use this approach might override the current approach of going per-ViewController, so maybe there's also a boolean or switch to move to user controlled ScreentTaces.
Contributor guide
Assessment
This issue has not been assessed yet.