May 28, 2017
Profiling Electron's BrowserWindow using contentTracing
Electron’s main process exposes few useful module for BrowserWindow to debug or profiling its behavior. contentTracing is one of them provides binding to Choromium’s Trace api allows to profile BrowserWindow without manual recordings. It is similar to modules like Lighthouse or Speedracer does internally to profile pages via Chrome browers.
contentTracing quick overview If you open up about://tracing(or chrome://tracing depends on version) on Chrome browser you can see UI of Trace event profiler Chrome provides by default.
...
Read more