Recreating the CPU usage from the "Performance monitor" Tab via CDT-protocol
12 views
Skip to first unread message
Jan Be
unread,
Jun 16, 2024, 7:41:06 AM (14 days ago) Jun 16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to chrome-debugging-protocol
Hello,
I would like to gather data via the CDT-protocol and assemble them in a way that lets me recreate the "Performance monitor"-tab in the browser-integrated-developer-tools. From the protocol monitor I deducted, that I need the Performance.getMetrics-call. Most things are straightforward, like the JSHeapUsedSize or the number of DOM nodes. But how do I calculate the CPU-usage? Is there more documentation for the values returned by the Performance.getMetrics-call?