---
title: "BenchReport"
sidebar_label: "BenchReport"
description: "Kotlin binding reference: BenchReport."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[BenchReport](index.md)

# BenchReport

[common]\
class [BenchReport](index.md)

One bench's record ([Modelverse.bench](../Modelverse/bench.md)), the library's own `BenchReport`: [table](table.md), the runtime's columnar frame with one row per (cell, concurrency) in the sweep's order under the columns of [BenchColumns](../BenchColumns/index.md) (the same frame the command line's `bench` verb prints as CSV and writes as `PREFIX.csv`; [toCsvString](toCsvString.md) renders it); [config](config.md), the run's configuration document under the keys of [BenchConfigKeys](../BenchConfigKeys/index.md) (the model, the device, the cache mode and the knobs, the machine's hardware inventory, the checkpoint's on-disk bytes and the loaded model's resident bytes; what the verb writes as `PREFIX.json`); [profileSummary](profileSummary.md), the per-op text of a profiled run (empty otherwise); and [rows](rows.md), the table read into typed [BenchRow](../BenchRow/index.md)s. The table and the document are native objects: [close](close.md) releases them (`use {}`), and the typed rows stay readable after it.

## Properties

| Name | Summary |
|---|---|
| [config](config.md) | [common]<br>val [config](config.md): [Json](../../io.clika.runtime/Json/index.md) |
| [errorRowCount](errorRowCount.md) | [common]<br>val [errorRowCount](errorRowCount.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)<br>The rows whose status is [BenchRowStatus.ERROR](../BenchRowStatus/ERROR/index.md): the command line exits non-zero when there is one. |
| [profileSummary](profileSummary.md) | [common]<br>val [profileSummary](profileSummary.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |
| [rows](rows.md) | [common]<br>val [rows](rows.md): [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[BenchRow](../BenchRow/index.md)&gt;<br>The rows of [table](table.md), typed, in the sweep's order; read once, on first use. |
| [table](table.md) | [common]<br>val [table](table.md): [Table](../../io.clika.runtime/Table/index.md) |

## Functions

| Name | Summary |
|---|---|
| [close](close.md) | [common]<br>open fun [close](close.md)()<br>Release the table and the configuration document; [rows](rows.md) already read stay readable. Idempotent. |
| [toCsvString](toCsvString.md) | [common]<br>fun [toCsvString](toCsvString.md)(): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)<br>The table as the CSV text the command line's `bench` verb prints. |
| [toString](toString.md) | [common]<br>open override fun [toString](toString.md)(): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |