# Introduce a new \`ToggleGraphicsProfiler\` command \(\#7607\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/0cebf68306ab0ef08693701532260e1fdc0f1ee9)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 0cebf68306ab0ef08693701532260e1fdc0f1ee9

Requested commit: 0cebf68306ab0ef08693701532260e1fdc0f1ee9

Commit: 0cebf68306ab0ef08693701532260e1fdc0f1ee9

Tree: f6d9988347e39c2bc7ed71328bd31bb20cd00b8a

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Introduce a new `ToggleGraphicsProfiler` command (#7607)

On macOS, this will enable or disable the Metal HUD at runtime. Note
that this only works when Zed is bundled because it requires to set the
`MetalHudEnabled` key in the Info.plist.

Release Notes:

- Added a new `ToggleGraphicsProfiler` command that can be used as an
action (or via the `Help -> Toggle Graphics Profiler` menu) to
investigate graphics performance.
```

## Parents

- [04e1641a29d148a945e7d93682ca89ca28d95a60](https://git.cafe/gitcafe/zed/commit/04e1641a29d148a945e7d93682ca89ca28d95a60?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/0cebf68306ab0ef08693701532260e1fdc0f1ee9?format=markdown)
