# Help with performance evaluation for node red flow

**URL:** <https://discourse.nodered.org/t/help-with-performance-evaluation-for-node-red-flow/10034>\
**Category:** General\
**Created:** [11 April 2019 17:44 UTC](https://discourse.nodered.org/t/help-with-performance-evaluation-for-node-red-flow/10034 "2019-04-11T17:44:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![IlhamQasse](https://avatars.discourse-cdn.com/v4/letter/i/b38774/32.png) [@IlhamQasse](https://discourse.nodered.org/u/IlhamQasse)\
**Post date:** [11 April 2019 17:44 UTC](https://discourse.nodered.org/t/help-with-performance-evaluation-for-node-red-flow/10034/1 "2019-04-11T17:44:03Z")

</div>

I have created node red flow that's is based on hyperledger composer nodes. The flow is working perfectly. What I want to do is a performance evaluation of the created flow (calculate execution time, latency, and throughput). I'm not sure how to achieve that! 😩  
i have tried appmetrics dash, but it doesn't work as I want 😰  
How i can calculate the required performance metrics?  
Thank you for your help 🙂

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [12 April 2019 16:18 UTC](https://discourse.nodered.org/t/help-with-performance-evaluation-for-node-red-flow/10034/2 "2019-04-12T16:18:42Z")

</div>

You should be able to trace execution time by using Node.js's [`console.time`](https://nodejs.org/api/console.html#console_console_time_label) feature.

To get more information, you might want to try using the inspector - run Node-RED with Node.js's `--inspect` option in conjunction with a recent Chromium based browser for the easiest and most comprehensive view.

There are some addition inspection console commands as well - these include some profiling commands:

[https://nodejs.org/docs/latest-v8.x/api/console.html#console\_inspector\_only\_methods](https://nodejs.org/docs/latest-v8.x/api/console.html#console_inspector_only_methods)

If you are using versions newer than Node.js v8.x, there are some extra options.

```auto
node --inspect node_modules/node-red/red.js --userDir ./data

```
