# HG changeset patch # User Thinker K.F. Li # Date 1283329689 -28800 # Node ID ae2faf140dc2387b09d5bf0db4ede45b98b017b6 # Parent 55875133fa60bfc810371f016963b3b1f6433c12 Also print # of frames diff -r 55875133fa60 -r ae2faf140dc2 nodejs/animate.js --- a/nodejs/animate.js Wed Sep 01 16:23:43 2010 +0800 +++ b/nodejs/animate.js Wed Sep 01 16:28:09 2010 +0800 @@ -21,6 +21,7 @@ if(percent >= 1) { this.obj.timer.stop(); delete this.obj.timer; + sys.puts(this.c); sys.puts(Date.now() - this._start_tm); }