Class Stats
Display some rendering statistics in a HTML element
Defined in: Stats.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Stats(options)
|
Method Attributes | Method Name and Description |
---|---|
end(name)
End measuring time
|
|
print()
Print stats in an HTML element
|
|
start(name)
Start measuring time
|
Class Detail
Stats(options)
- Parameters:
- options
- Configuration properties for Stats.
- element : the HTML element to receivce statistcs, can be a string (the ID) or the DOM element itself
- verbose : the verbosity of the stats, default is false
Method Detail
end(name)
End measuring time
- Parameters:
- name
print()
Print stats in an HTML element
start(name)
Start measuring time
- Parameters:
- name