Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
http.createServer(function(conn) {
zone.data.start = Date.now();
doThis(conn);
doThat(conn);
new Zone(function() {
zone.data.bar = 49;
output = renterTemplate()
});
});
function renderTemplate() {
console.log("So far we took %d ms", Date.now() - zone.data.start);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment