# Interface ResourceMetrics

Resource usage metrics.

interface ResourceMetrics {
peakMemoryBytes: number;
avgMemoryBytes: number;
cpuTimeMs: number;
dbSizeBytes?: number;
}

- Defined in packages/nexus-agents/src/benchmarks/benchmark-types.ts:81

##### Index

### Properties

peakMemoryBytes
avgMemoryBytes
cpuTimeMs
dbSizeBytes?

## Properties

### `Readonly` peakMemoryBytes

peakMemoryBytes: number

Peak memory usage in bytes.

- Defined in packages/nexus-agents/src/benchmarks/benchmark-types.ts:83

### `Readonly` avgMemoryBytes

avgMemoryBytes: number

Average memory usage in bytes.

- Defined in packages/nexus-agents/src/benchmarks/benchmark-types.ts:85

### `Readonly` cpuTimeMs

cpuTimeMs: number

CPU time in milliseconds.

- Defined in packages/nexus-agents/src/benchmarks/benchmark-types.ts:87

### `Optional` `Readonly` dbSizeBytes

dbSizeBytes?: number

Database file size in bytes (if applicable).

- Defined in packages/nexus-agents/src/benchmarks/benchmark-types.ts:89