Currently it is difficult for web developers to understand how their applications perform in the wide variety of conditions encountered on real user devices. A programmable JS profiling API is needed to collect JS profiles from real end-user environments. A native self-profiling API for JS code would also allow web developers to efficiently find hotspots in their JS code during page loads and user