# Sandbox.Game.Overlay.RunLocalBenchmarks

```csharp
static void RunLocalBenchmarks(string[] packageFilter = null, string[] testFilter = null)
```

Starts a local benchmark run from within the game. The results panel is shown when all packages complete.

### Parameters

- `packageFilter` (`string[]`), default `null`: Package names to include (null = all configured packages)
- `testFilter` (`string[]`), default `null`: Individual test names to run (null = all). Passed to packages via the benchmark.tests game setting.

Declared in [Sandbox.Game.Overlay](/api/Sandbox.Game.Overlay).
Assembly: `Sandbox.Engine`.
