@epic-js/express-profiler 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,6 @@ app.use(expressProfiler());
|
|
|
21
21
|
POST /reverseGeoCoding 200 279.9ms
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
## After finding the slow routes dig deeper by using the wrapAsync
|
|
25
24
|
```js
|
|
26
25
|
// ----- Fast route -----
|
|
27
26
|
app.get('/users', async (req, res) => {
|
|
@@ -36,6 +35,8 @@ GET /users 200 1.4ms
|
|
|
36
35
|
DB: 0.2ms
|
|
37
36
|
```
|
|
38
37
|
|
|
38
|
+
## After finding the slow routes dig deeper by using the wrapAsync
|
|
39
|
+
|
|
39
40
|
## Usage
|
|
40
41
|
```js
|
|
41
42
|
const { wrapAsync } = require('@epic-js/express-profiler/wrappers');
|