DevTools hang w/ heavy canvas image processing & websocket

40 views
Skip to first unread message

Alan Moore

unread,
Mar 31, 2014, 2:43:10 PM3/31/14
to google-chrome-...@googlegroups.com
We are using a canvas element to display raw/uncompressed rgba video images (1/4 VGA size) received over a web socket connection.

It works fairly well at about 24fps but we suspect our app might be causing memory or resource leaks. However, we cannot use DevTools to debug the app because it hangs whenever we open it.

The only memory related debugging we can do is using the Chrome Task Manager which gives us an overall picture of what is going on with the memory but it is hard to pinpoint the problem w/o DevTools.

Are there any settings we can tweak to allow us to use DevTools in this use case?

Pavel Feldman

unread,
Mar 31, 2014, 2:54:33 PM3/31/14
to Google Chrome Developer Tools
We need to fix that for you. Did you try clean profile? You'll have to either share a reduced test case in a bug at crbug.com/new or provide me with the way to open your app privately.

Regards
Pavel


--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/dea7a1b8-eea5-405d-aff9-0e2bd14dfe26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alan Moore

unread,
Mar 31, 2014, 3:52:12 PM3/31/14
to google-chrome-...@googlegroups.com
I can't send you our server code because it is running on an embedded system and you would have no way to run it :-(

If I know what kind of server you are/can run I can create a minimal test case for you that works on your server. I can certainly send you the client code as it is super simple... but you'll really need a server to handle the web socket processing to push the images to the client.

Alan


On Monday, March 31, 2014 11:54:33 AM UTC-7, pfeldman wrote:
We need to fix that for you. Did you try clean profile? You'll have to either share a reduced test case in a bug at crbug.com/new or provide me with the way to open your app privately.

Regards
Pavel
On Mon, Mar 31, 2014 at 10:43 PM, Alan Moore <kahun...@gmail.com> wrote:
We are using a canvas element to display raw/uncompressed rgba video images (1/4 VGA size) received over a web socket connection.

It works fairly well at about 24fps but we suspect our app might be causing memory or resource leaks. However, we cannot use DevTools to debug the app because it hangs whenever we open it.

The only memory related debugging we can do is using the Chrome Task Manager which gives us an overall picture of what is going on with the memory but it is hard to pinpoint the problem w/o DevTools.

Are there any settings we can tweak to allow us to use DevTools in this use case?

--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages