Browser Monitoring for GitHub.com
githubengineering.com
githubengineering.com
Thanks, GitHub team!
We've done similar performance analysis at Khan Academy by using the navigation timing API and throwing the data into graphite. The most interesting part of this post for me is seeing that the numbers (server side times, median client times) are roughly the same as ours (http://i.imgur.com/wKglMTc.png)
One thing that I see in both GitHub's data and our data is this daily-periodic increase in both server and client times. Is that just load? We had theories that the clientside spikes may be caused by users in less CDN covered areas, or an increase in mobile usage, but were never fully satisfied by those explanations.
https://github.com/snowplow/iglu-central/blob/master/schemas...
We send that in as a custom context in the Snowplow JavaScript Tracker:
https://github.com/snowplow/snowplow-javascript-tracker/blob...
Chrome extension that can use the devtools.network api
(Bonus points) if it shows how to work with SeleniumThey have both RUM (requires injecting 3rd-party script, in this case, AppNeta)) and Synthetic (does not require any modification of your client-side artifacts).
Disclaimer: I used to work on the Synthetic side.
* Does the user have a choice in this?
* Does anyone have any metrics on all the CPU time that's taken up by potentially useless analytics scripts running on users' machines?
Nothing against websites who are trying to improve user experience, but if I'm donating my CPU time and RAM for someone else's business needs, I'd want a way for me to opt out of that.
Web analytics OTOH, are just aggregations. All the company cares about is some random metric like bounce rate or some "engagement" metric or click through rate or what have you. You can supply a horrible product and still get a temporary boost on any of those metrics. e.g. Redirect 10% of all users to full Page modal ads without a continue button and see the CTR spike. Disallow/hinder copy-paste functionality on the text and watch as people keep coming back.
But you can't bring out a turd on a plate and have the customer be excited about it. If a site I frequented could (impractical, I know) ask me for some direct piece of feedback, and which also had a reasonable chance of being taken seriously, I'd be all for it.
On my machine, calling `JSON.stringify(window.performance.timing).length` generates 623 bytes of text. Pretty much 0 overhead here.
That being said, it passes WCAG AA which requires 4.5:1 for normal text.
My email is in my profile. Let me know if you're interested in beta-testing.
This is legitimately surprising to me. I would think the overwhelmingly vast majority of github's customers use an evergreen browser.