Axel Hecht Mozilla in Your Language

June 7, 2010

Try’ing talos on node.js

Filed under: Mozilla — Tags: — Axel Hecht @ 7:37 am

I wasn’t all happy with how django helped me in coding the try-talos visualization, so I recreated this based on node.js. The result is a single project on github, talos-node, that just requires you to get a local install of node.js. It will actually incrementally render the pages as it does server side loads, so it doesn’t look completely dead throughout. Outcome at the side is a much better interaction to figure out which test is performing how, you can now mouse-ever one result, and you see all tests, both for your try-revision and the references. I also moved away from showing the range and mean value to showing all values, so you see how your red spot is doing in the flock of blues. There’s an updated screenshot on flickr.

A few comments on hacking on node.js. The nice thing about it is, there are tons of helper modules out there. The bad thing is, most of them are not compatible with a current version of node.js. Is the buzz over?

I ended up hacking my own simple asynchronous templating engine, the guts are shown in the readme.

I hope that being just node server.js once you have node.js up, it’s gonna make people more willing to actually run it locally.


  1. Does this automate measuring startup time with node?

    Comment by harth — June 7, 2010 @ 10:23 am

  2. No, it just asks for the results that are stored on the graph server by our build automation on mozilla-central and try.

    Comment by Axel Hecht — June 7, 2010 @ 10:34 am

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress