> For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt.

# Interface: LynxPerformance

Lynx 构建引擎的性能选项。

## Properties

### profile?

> `optional` **profile?**: `boolean`

是否在 ReactLynx 等 Lynx 运行时集成中采集耗时信息。

#### Remarks

开启后，框架会通过 `console.profile` 输出运行时信息。

#### Default Value

当 `DEBUG=lynx` 时为 `true`，否则为 `undefined`

#### Example

```ts
import { defineConfig } from '@rsbuild/core'
import { pluginLynx } from '@lynx-js/rsbuild-plugin'

export default defineConfig({
  plugins: [
    pluginLynx({
      performance: { profile: true },
    }),
  ],
})
```
