On Mon, Aug 17, 2009 at 5:35 PM, Alex <[email protected]> wrote: > > Hello all, > > Currently I am developing a Chrome extension that measures the > performance of webpage-loading. The information needed by this > extension is the time data such as how long the browser takes on > loading a webpage, a CSS file, or an image, etc. > > The Developers' version of Google Chrome has already integrated a > module called "Developer Tools" that tracks metrics (start time, end > time, response time, duration, latency) of resources. > > The questions is : > a) How could I write a Chrome Extension that accesses the resource > timing data in the Developer Tools? > b) Or alternatively, is there any way that I can directly tracks > metrics for resources loading? (for example, something like > "chrome.tab.resources[resourceId].duration")
Hi Alex, The information provided to Developer Tools is not currently exposed to extensions, however my colleagues and I are working on an API to expose similar data. I think it would cover your use case. You can read (or edit) the proposal here: http://code.google.com/p/chromium/wiki/ExtensionsPerfTraceAPI. Currently this is only a proposal and is likely to stay experimental. I'm working on an implementation of this to do further experimentation - it would be super useful if you wouldn't mind reading through the proposal and providing feedback. - James > > > Thanks, > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en -~----------~----~----~----~------~----~------~--~---
