Skip to content

Commit 4d892b8

Browse files
committed
Still testing
1 parent 1c19418 commit 4d892b8

File tree

2 files changed

+24
-14
lines changed

2 files changed

+24
-14
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
![stats_js.png](http://mrdoob.googlecode.com/svn/trunk/assets/stats_js.png)
2+
3+
This class provides a simple info box that will help you monitor your code performance.
4+
5+
* FPS Frames per second, how many frames were rendered in 1 second. The higher the number, the better.
6+
7+
# How to use
8+
9+
var stats = new Stats();
10+
container.appendChild( stats.getDisplayElement() ); // container is a DOM Element
11+
12+
setInterval(loop, 1000/60);
13+
14+
function loop()
15+
{
16+
stats.tick();
17+
}
18+
19+
# Change Log
20+
21+
* 2010 02 21 - v1.1
22+
* Accurate FPS calculation (thx Spite!)
23+
* 2009 08 09 - v1.0
24+
* Base code

README.textile

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)