Microsoft Introduces Tools to Measure Browser Performance on Android and Linux

Performance is usually a very important metric for consumers who are choosing between different web browsing options. Both Microsoft and Google are constantly looking for ways to improve the performance of their Edge and Chrome browsers, respectively. Microsoft has now introduced an open source toolkit called Microsoft-Performance-Tools for Linux-Android for measuring browser performance across various systems.

While the toolkit seems versatile, Microsoft has emphasized that it can be used to monitor and measure browser performance. Trace processing tools are based on the same methodology that has been used to improve Windows performance over the past couple of years. decades. It can be used to get more information about what the operating system and application code are doing at a particular point in time, and if you like, you can also map traces to the Windows Performance Analyzer (WPA). The toolbox itself is built on. NET Core and microsoft-performance-toolkit-sdk, which means it is theoretically supported on any OS supported by. NET Core.

On the Linux side, the toolkit includes LTTng, perf, and Perfetto. Meanwhile, only Perfetto is supported in Chromium and Android environments. The trace metrics supported by each individual tool are as follows:

  • LTTng (Linux kernel CPU scheduling, processes, threads, I / O / disk blocking, system calls, file events, etc.)
  • perf Linux CPU Sampling (processor frequency)
  • Perfetto Android and Chromium (CPU scheduling, CPU sampling, CPU frequency, FTrace, Android logs, default general events / tracks, GPU counters)

With the toolbox, you can analyze traces, record traces, provide programmatic access to them, and even integrate it with WPA so that you have a graphical interface to simplify analysis.

In addition, Microsoft noted that “any program or GUI on any OS can handle events using the Microsoft-Performance-Tools SDK and Linux-Android plugins.” Microsoft is currently using this set of performance tools itself to measure performance across Windows Subsystem for Android (WSA), Azure Linux VMs, Windows Subsystem for Linux (WSL2), and its Edge browser across multiple platforms. You can check out the open source project on GitHub here .

Leave a Reply

Your email address will not be published.