# Track additional metrics in settled \(\#52938\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7597666c08c8a2bbb45e9b02954112194e31f6f4

Requested commit: 7597666c08c8a2bbb45e9b02954112194e31f6f4

Commit: 7597666c08c8a2bbb45e9b02954112194e31f6f4

Tree: 0fe78271f60a653065741471b7766e27bf09816b

Author: Ben Kunkle

Committer: GitHub

## Message

```
Track additional metrics in settled (#52938)

Stacked on https://github.com/zed-industries/zed/pull/50566.

Begin collecting kept chars rate, as well as the count of tree-sitter
errors in the code before and after applying the prediction.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [ ] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #ISSUE

Release Notes:

- N/A or Added/Fixed/Improved ...
```

## Parents

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

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