# MISC::GET_BENCHMARK_PASS

- **Hash:** `0x9297DACF3A2CDFF7`
- **Namespace:** MISC
- **Runtime name (Lua/JS):** `GetBenchmarkPass`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/MISC/GET_BENCHMARK_PASS

## Signature

```c
int GET_BENCHMARK_PASS();
```

## Returns

`int`

## Description

Returns value of the '-benchmarkPass' command line option.

Old name: _GET_BENCHMARK_PASS_FROM_COMMAND_LINE

## Usage

### Lua

```lua
local retval = GetBenchmarkPass()

-- always available, by hash
local retval = Citizen.InvokeNative(0x9297DACF3A2CDFF7, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetBenchmarkPass();

// by hash
const retval = Citizen.invokeNative('0x9297DACF3A2CDFF7', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x9297DACF3A2CDFF7);
```

*Sources: alloc8or RDR3 NativeDB.*
