chrome-react-perf
chrome-react-perf copied to clipboard
No output generated
Hi,
This tool looks awesome, but I can't get it to work.
I'm using it by:
import Perf from 'react-addons-perf'
window.Perf = Perf
I start, make some changes, stop. All I see is:

I am using this with react 15.0.1, Chrome 49.0.2623 if that helps.
seems not compatible with v15 now. the extension uses a different version of react-addons-perf I am trying to fix it.
It should work now.
Notice: printDOM is deprecated in React v15, and printOperations is suggested.
It still called dom in the extension, but it is operations in fact if React v15 is used.
Let me know if you meet problems :)
I'm still seeing the same. Tried uninstalling and reinstalling the plugin and hard refresh browser, no luck.
I cannot reproduce the problem. Could you send me a minimal sample of your code?
I tested with:
- react 15.0.1
- react-addons-perf 15.0.1
- Chrome 49.0.2623
- chrome-react-perf 1.10
One more thing. At least one component should rerender during the recording.
Please try to manually type Perf.start() Perf.stop() and Perf.printOperations in the console.
The extension should show the same thing as the console.
This is manually doing it in the console:

Clicking the same buttons while recording does not produce any output.
What code would you be wanting to see?
(Edit to add: Not trying to be a pain, dont feel the need to reply or anything, I may look through the code this weekend myself).
Just to chip in with my experience, 15.0.0 didn't work for me. If I go back to 0.14.8 or forward to 15.0.1 the print outs started working again.
Thanks!
I meet the same question now, sometimes it works as the Landlord printed, sometimes it returns like

but still no wasted print, I can not believe there is no wasted in the application.
[email protected] [email protected] React Perf 1.1.0 chrome 54.0.2840.98 (64-bit)
thanks.
Hello, I have faced same issue - no wasted output. But this is the same from console and from extension.