diff --git a/docs/10.9-perf.md b/docs/10.9-perf.md index 0a1e21333..fe442f02d 100644 --- a/docs/10.9-perf.md +++ b/docs/10.9-perf.md @@ -41,11 +41,15 @@ Prints the overall time taken. If no argument's passed, defaults to all the meas ![](/react/img/docs/perf-wasted.png) -### `Perf.printDOM(measurements)` +### `Perf.printOperations(measurements)` Prints the underlying DOM manipulations, e.g. "set innerHTML" and "remove". ![](/react/img/docs/perf-dom.png) +### `Perf.printDOM(measurements)` + +This method has been renamed to `printOperations()` which is described in the previous paragraph. Currently `printDOM()` still exists as an alias but it prints a deprecation warning and will eventually be removed. + ## Advanced API The above print methods use `Perf.getLastMeasurements()` to pretty-print the result.