GoogleChromeLabs / application-shell

Service Worker Application Shell Architecture
https://app-shell.appspot.com/
Apache License 2.0
1.18k stars 143 forks source link

Suggestion: make a logger wrapping console.time and timeEnd; instrument key interactions. #45

Open paullewis opened 9 years ago

paullewis commented 9 years ago

Thinking this would be a great utility to have, and we could demonstrate how to use console.time to instrument interactions, making for Big Rig-friendly timeline files. Just a thought. Feel free to close :D

gauntface commented 8 years ago

How do you see this working, because presumably you'd only want this on a dev / staging environment?

I'm trying to think of how best to add this in with minimal overhead on production. Maybe switching to triggering events (or signals) and then having the console time intercept them on dev builds others straight to nav drawer on prod.