> 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.

# performance.profile

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

:::info Lynx 新增配置
此配置由 `pluginLynx` 新增，不属于 Rsbuild 配置。在 `rsbuild.config.ts` 中，将它传给 `pluginLynx({ ... })`。
:::

是否在 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 },
    }),
  ],
})
```
