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

# profileEnd()

APISummary
Marks the end of the most recent [trace
event](https://perfetto.dev/docs/instrumentation/track-events).

## Syntax

```typescript
profileEnd(): void;
```

## Examples

```typescript
// End the most recent duration event
lynx.performance.profileEnd();
```

## Compatibility

**Compatibility Table**

**Query:** `lynx-api.lynx.performance.profileEnd()`

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

| Feature | Android | HarmonyOS | iOS | macOS | Windows | Web |
| --- | --- | --- | --- | --- | --- | --- |
| profileEnd() | Yes (3.3) | Unknown | Yes (3.3) | Yes (3.5) | Yes (3.5) | Yes |

**`profileEnd()`**

- **Web — Supported (version unknown):** Implemented since `@lynx-js/web-core@0.22.0` (lynx-family/lynx-stack#2874).

