Is there any tool for parsing raw network data which is collected by Chrome remote debugging protocol?

536 views
Skip to first unread message

Chen Yang

unread,
Jun 20, 2016, 4:58:33 AM6/20/16
to Google Chrome Developer Tools
I want to parse the raw network data collected by Chrome remote debugging protocol. But it's too complicated. 

Is there any tool to parse it ? Just like what https://github.com/paulirish/devtools-timeline-model do for raw timeline data.

Blaise Bruer

unread,
Jun 20, 2016, 9:28:37 PM6/20/16
to Google Chrome Developer Tools

Pavel Feldman

unread,
Jun 21, 2016, 3:23:58 AM6/21/16
to Google Chrome Developer Tools
You kind of need devtools-network-manager. Lighthouse folks, have you extracted it for reuse similarly to timeline?

P

On Mon, Jun 20, 2016, 10:58 Chen Yang <chen...@hulu.com> wrote:
I want to parse the raw network data collected by Chrome remote debugging protocol. But it's too complicated. 

Is there any tool to parse it ? Just like what https://github.com/paulirish/devtools-timeline-model do for raw timeline data.

--
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/4cfe5edd-e3b7-459e-b9ca-67f37e3305fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Paul Irish

unread,
Jun 21, 2016, 6:58:42 PM6/21/16
to Google Chrome Developer Tools, Brendan Kenny, Paul Lewis
Yup!

It's pretty straightforward to reuse front_end/sdk/NetworkManager.js

Here's what we did in Lighthouse:

It's not yet extracted cleanly into a standalone module like devtools-timeline-model, but it'd look something like these files.
(web-inspector.js would just be a bit cleaner with fewer stubs).




Chen Yang

unread,
Jun 21, 2016, 9:12:05 PM6/21/16
to Google Chrome Developer Tools, bck...@google.com, paul...@google.com
Thanks for your answer.

Actually,I want to do performance benchmark test among different versions of our app.So it's necessary to get the readable performance data.But there isn't a convenient way to parse raw data.I have spent a lot of time to read the source code of Chrome devtools and try to parse it by myself.But it's not enough.Especially for network data.
https://github.com/paulirish/devtools-timeline-model is really helpful for my current work. 
Hope to see more tools like this. 


On Wednesday, June 22, 2016 at 6:58:42 AM UTC+8, Paul Irish wrote:
Yup!

It's pretty straightforward to reuse front_end/sdk/NetworkManager.js

Here's what we did in Lighthouse:

It's not yet extracted cleanly into a standalone module like devtools-timeline-model, but it'd look something like these files.
(web-inspector.js would just be a bit cleaner with fewer stubs).



On Tue, Jun 21, 2016 at 9:23 AM, Pavel Feldman <pfel...@chromium.org> wrote:
You kind of need devtools-network-manager. Lighthouse folks, have you extracted it for reuse similarly to timeline?

P


On Mon, Jun 20, 2016, 10:58 Chen Yang <chen...@hulu.com> wrote:
I want to parse the raw network data collected by Chrome remote debugging protocol. But it's too complicated. 

Is there any tool to parse it ? Just like what https://github.com/paulirish/devtools-timeline-model do for raw timeline data.

--
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.

--
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