# Module: performanceMetric

Contains all of the performance metric commands.

Author:
  - Seth Hollingsead
Copyright:
  - Copyright © 2022-… by Seth Hollingsead. All rights reserved
Source:
  - commandsBlob/commands/performanceMetric.js, line 1

### Requires

- module:ruleBroker
- module:configurator
- module:loggers
- module:data
- module:stack
- @haystacks/constants
- math
- path

### Methods

#### (inner) businessRulesMetrics(inputData, inputMetaData) → {array.<boolean, (string|integer|boolean|object|array)>}

A command to compute business rule metrics for each of the business rules that were called in a sequence of call(s) or workflow(s).

##### Parameters:

Name | Type | Description
--- | --- | ---
`inputData` | string | Not used for this command.
`inputMetaData` | string | Not used for this command.

Author:
  - Seth Hollingsead
Source:
  - commandsBlob/commands/performanceMetric.js, line 34

##### Returns:

An array with a boolean True or False value to indicate if the application should exit or not exit, followed by the command output.

Type
  array.<boolean, (string|integer|boolean|object|array)>

#### (inner) commandMetrics(inputData, inputMetaData) → {array.<boolean, (string|integer|boolean|object|array)>}

A command to compute command metrics for each of the commands that were called in a sequence of call(s) or workfow(s).

##### Parameters:

Name | Type | Description
--- | --- | ---
`inputData` | string | Not used for this command.
`inputMetaData` | string | Not used for this command.

Author:
  - Seth Hollingsead
Source:
  - commandsBlob/commands/performanceMetric.js, line 117

##### Returns:

An array with a boolean True or False value to indicate if the application should exit or not exit, followed by the command output.

Type
  array.<boolean, (string|integer|boolean|object|array)>