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

# console: profileEnd() method

APISummary
`profileEnd` 方法用于结束记录性能。

## 语法

```ts
profileEnd(profileEndName: string): undefined;
```

### 参数

#### profileEndName

需要结束的 profile 的名称。

### 返回值

无（`undefined`）。

## 兼容性

**Compatibility Table**

**Query:** `lynx-api.global.console.profileEnd`

[Source](https://github.com/lynx-family/lynx-website/tree/main/packages/lynx-compat-data/lynx-api/global/console/profileEnd.json)

| Feature | Android | HarmonyOS | iOS | macOS | Windows | Web |
| --- | --- | --- | --- | --- | --- | --- |
| profileEnd | Yes (2.1) | Yes (3.4) | Yes (2.1) | Yes (3.5) | Yes (3.5) | Yes |

**`profileEnd`**

end profile

