Measure marks are not shown on Flipper timeline
Eljoy opened this issue · comments
Operating System: iOS
Device: iOS simulator
"react-native": "0.70.6"
"react-native-performance": "^5.1.0"
"react-native-performance-flipper-reporter": "^5.0.0",
Flipper Version: 0.239.0
While logging for custom measure events works:
React.useEffect(() => {
new PerformanceObserver((list) => {
const entries = list.getEntries()
console.log(entries)
}).observe({ entryTypes: ['mark', 'measure'] })
})
useEffect(() => {
performance.mark('customEventStart')
setTimeout(() => {
performance.mark('customEventEnd')
performance.measure(
'customEventDuration',
'customEventStart',
'customEventEnd'
)
}, 3000)
}, [])
this data is not being propagated to Flipper Performance plugin timeline.
The timeline only shows bundleSize and nativeLaunch data.
Does it require additional customization aside from
require('react-native-performance-flipper-reporter').setupDefaultFlipperReporter()
?