Using Speed Tracer on a Mac

Speed Tracer on a Mac
Speed Tracer on a Mac

I finally got Speed Tracer running on Mac OSX. Just in case you missed the news: GWT 2.0 was released yesterday and brought a nice friend called Speed Tracer.

The tool itself is written in GWT (funny, don’t?) and works as an Chrome extension. Since Chrome for Mac is beta and does not have support for extensions we nee to use use Chromium.

There are postings on how to get extensions running on Chrome for Mac, but I preferred to use a Chromium build.

Speed Tracer is a Google Chrome extension that helps you identify and fix performance problems in your web applications. It visualizes metrics that are taken from low level instrumentation points inside of the browser and analyzes them as your application runs. Using Speed Tracer you are able to get a better picture of where time is being spent in your application.

Thanks to pohl (irc chat on ##gwt) for the hints.

So here we go:

1) We need some Chrome build that has „extensions enabled“. I used this one here, but you might try any other newer one.

2) Install Speed Tracer.

3) Start Chromium with the required command line parameter.

This part is the only real tricky one if you are not a geek… ;-)
From the Terminal you can start Chromium manually by executing the following…

… or you simply rename the bin to something else and place a script that does the command line magic for you.
I renamed Chromium to Chromium-bin and created a Chromium named script file that contains:

Don’t forget to make the script file executable…

That’s it. Now you can visit some ajax-funny site (google wave, google maps, google mail, google docs, you name it) and test drive Speed Tracer.

Good luck!

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.