Note how to access Perf in docs

(cherry picked from commit 83fd5583bf)
This commit is contained in:
Glen Mailer
2014-07-23 11:04:02 -07:00
committed by Paul O’Shannessy
parent 0ad2737713
commit c28f00c19a
+2
View File
@@ -16,6 +16,8 @@ In addition to giving you an overview of your app's overall performance, ReactPe
## General API
The `Perf` object documented here is exposed as `React.addons.Perf` when using the `react-with-addons.js` build in development mode.
### `Perf.start()` and `Perf.stop()`
Start/stop the measurement. The React operations in-between are recorded for analyses below. Operations that took an insignificant amount of time are ignored.