Skip to content

Importing from Safari

Jamie Wong edited this page Sep 29, 2020 · 2 revisions

To record a performance profile in Safari, open the developer tools and switch to the "Timelines" tab.

Click the red record button in the top left to start a profile.

Click to record in Safari

When you're done recording, click the stop button in the top left to end the recording.

Click to stop recording in Safari

To export the resulting profile, click the "Export" button in the top right.

Click to export

This should export a file like www.my-website.com-recording.json

You should be able to open that file in https://www.speedscope.app/.

To view it offline, you'll need to install speedscope via npm:

npm install -g speedscope

Then you should be able to open it like so:

speedscope /path/to/profile.json