Safari 13 Adds CPU Timeline to Web Inspector

1 minute read
| Product News

Safari 13 is adding a CPU Timeline to Web Inspector. This lets web developers measure the CPU usage of a page, estimate the energy impact, and identify where code can be improved to save power. 

CPU Timeline

The new CPU Timeline is enabled by default. Open the Timelines tab of Web Inspector to see visual charts of how a particular web page utilizes CPU resources. This include main thread activity, an energy impact rating, and more.

Screenshot of CPU timeline

The CPU samples are taken every 500 milliseconds. The first section gives you a breakdown of the work that the main CPU thread is doing. Principal tasks like evaluating script, painting, layout, and style resolution are performed on the main thread.

You can import and export timeline recordings to share in a bug report or save for further analysis. CPU Timeline is available in the latest Safari Technology Preview.

Further Reading:

[Apple Deprecates SHA-1 in iOS 13 and macOS Catalina]

[iOS 13 Locks Down Private Notes in Contacts]

1
Leave a Reply

Please Login to comment
1 Comment threads
0 Thread replies
1 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Lee Dronick Recent comment authors

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
newest oldest most voted
Notify of
Lee Dronick
Member
Lee Dronick

identify where code can be improved to save power.

Make ads static, no javascript and such?