At Wikipedia, we built an efficient sampling profiler for PHP, and use it to instrument live requests. The trace logs and flame graphs are powered by a simple setup that involves only free open-source software, and runs at low infrastructure cost.
Continue reading "Profiling PHP in production at scale".Tag: Wikipedia
4 posts • View all posts
Wikipedia's JavaScript initialisation on a budget
This week saw the conclusion of a project I've been shepherding since September of last year. The goal was for the initialisation code for our JavaScript pipeline to fit within a budget of 28 KB.
Continue reading "Wikipedia's JavaScript initialisation on a budget".How to protect yourself from npm
What’s the worst that could happen after npm install?
Continue reading "How to protect yourself from npm".Measuring Wikipedia page load times
This post shows how we measure and interpret load times on Wikipedia. It also explains what real-user metrics are, and how percentiles work.
Continue reading "Measuring Wikipedia page load times".