quivr/docs/configuring/profiler.mdx
2024-04-28 19:08:48 +02:00

25 lines
557 B
Plaintext

---
title: Profiler
description: How to use the Profiler to measure performance of your application.
---
# Profiler
The Profiler is a tool that measures the performance of your application. It helps you to identify performance bottlenecks and optimize your application.
## Enabling the Profiler
To enable, add the variable `PROFILING` to your `.env` file:
```bash
PROFILING=true
```
## Using the Profiler
To use the Profiler, make a query and add `?profiler=1` to the end of the URL. For example:
```bash
http://localhost:5050/brains/?profile=1
```