# Performance

In code reviews, performance issues refer to things that can make a program run slower or use more resources than necessary.

<div align="left"><figure><img src="/files/01EgLiVOArk2oIaFHI05" alt=""><figcaption></figcaption></figure></div>

These problems might come from using inefficient methods to do tasks, like sorting or searching data. They could also happen if the program uses up too much memory, takes too long to do calculations, or accesses a database too often and too slowly. Other common issues include having too much code doing the same thing or not handling multiple tasks at once efficiently.

Catching and fixing these performance issues during code review is important to make sure the program runs smoothly and doesn't waste resources. By finding and improving areas where the program is slow or inefficient, developers can make it faster and more responsive for users.

### **Managing rules for security-type issues**

You can manage these from the Settings > Code health > Rules.

<div align="left"><figure><img src="/files/bEaT6sbYlefGkN5z7QQN" alt="" width="563"><figcaption></figcaption></figure></div>

You can filter these pre-defined rules based on severity, language, and type.\
Additionally, you have the option to toggle individual rules on and off to mark them as active or inactive.\
Once deactivated, the respective issue will no longer be highlighted during subsequent reviews.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://typo.gitbook.io/typo-help-docs/engineering-metrics/code-quality-metrics/performance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
