# PivotDiagnostics (@salmonui/pivot-table/engine)

> The PivotDiagnostics interface of @salmonui/pivot-table/engine: Internal counters for tests and benchmarks (not a stable API).

Canonical: https://salmonui.dev/docs/reference/pivot-table/engine/PivotDiagnostics

```ts
import type { PivotDiagnostics } from '@salmonui/pivot-table/engine';
```

Entry index: https://salmonui.dev/docs/reference/pivot-table/engine (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/pivot-table/engine.md).

## Reference

Kind: interface

```ts
interface PivotDiagnostics {
    readonly rows: number;
    readonly units: number;
    readonly compressed: boolean;
    readonly fullComputes: number;
    readonly incrementalUpdates: number;
}
```

Internal counters for tests and benchmarks (not a stable API).

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `rows` | `readonly rows: number;` |  |  |
| `units` | `readonly units: number;` |  | Aggregation units: raw rows, or pre-aggregated records when compressed. |
| `compressed` | `readonly compressed: boolean;` |  |  |
| `fullComputes` | `readonly fullComputes: number;` |  | Pipelines run from the filter stage on (data, axes, filters or measures changed). |
| `incrementalUpdates` | `readonly incrementalUpdates: number;` |  | Data replacements applied as row deltas. |
