Safari 13 Adds CPU Timeline to Web Inspector

Safari Technology Preview icon

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.

Don’t miss the best of The Mac Observer

Set us as a preferred source and our Apple reporting ranks higher in your Google Search results and Discover feed — one tap, no account changes.

Or get it by email

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]

Discussion

1 comment
Join the discussionCommenting as a guest — your email is never published · Log in

Protected by Akismet — be kind, stay on topic.

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

  1. Lee Dronick Subscriber 7 years ago

    identify where code can be improved to save power.

    Make ads static, no javascript and such?

    Reply