google / ioweb2015

I/O Web App 2015
https://events.google.com/io2015/
Apache License 2.0
686 stars 122 forks source link

Add a gulp task for instrumentation/performance testing of dev build #41

Open jeffposnick opened 9 years ago

jeffposnick commented 9 years ago

Create a gulp task for measuring some basic performance metrics (e.g. time until the document is ready for each known page) and flag deviances from a baseline.

This is similar to what we could do with psi, but we can't use psi against our local dev builds. (This article about using ngrok probably isn't relevant, since I can't image we'll be able to set up the secure tunnel part.)

ebidel commented 9 years ago

We also want to measure the events:

These numbers should also be logged to GA. Window load and DOMContentLoaded are logged to GA under user timings. We have some of this from :santa: