# Measuring Loading Time



To be used in conjunction with [setDoneLoading](http://developers.facebook.com/documentation/javascript/reference/FB.Canvas.setDoneLoading)
.  Call startTimer to resume the timer after a period of time for the page load that you didn't wish to measure, which you began by calling [stopTimer](http://developers.facebook.com/documentation/javascript/reference/FB.Canvas.stopTimer).

Later, call [setDoneLoading](http://developers.facebook.com/documentation/javascript/reference/FB.Canvas.setDoneLoading) when the page load is complete.

## Example

```
FB.Canvas.startTimer();
```