diff --git a/README.md b/README.md index 80bb6f3..76b83dc 100644 --- a/README.md +++ b/README.md @@ -190,14 +190,14 @@ WordPOS.defaults = { profile: false }; ``` -To override, pass an options hash to the constructor: +To override, pass an options hash to the constructor. With the `profile` option, all callbacks receive a second argument that is the execution time in msec of the call. ```js wordpos = new WordPOS({profile: true}); + wordpos.isAdjective('fast', console.log); + // true 29 ``` -With the `profile` option, all callbacks receive a second argument that is the execution time in msec of the call. - Benchmark ----------