akamai/boomerang

Javascript profile

rohitsethiyasnow opened this issue · 4 comments

Is it possible in boomerang to capture chrome trace and timeline data?

Are there JavaScript APIs that can be used to pull this data from the page?

I am not aware of any such APIs. But yeah chrome has a console.profile API which captures the js profile. What i wanted to see was if boomerang can capture similar JS profile and beacon it.

Hello @rohitsethiyasnow

I am not sure if we have access to console.profile() from JavaScript. Also in the current Boomerang version we do not collect traces.

However there is an experimental chrome feature called "JavaScript Self-Profiling API Proposal
". Reference: https://github.com/WICG/js-self-profiling ... as a matter of fact there is a Facebook's Profiler Polyfill as well.