# High CPU usage because of .stignore

**URL:** https://forum.syncthing.net/t/high-cpu-usage-because-of-stignore/1113
**Category:** Support
**Created:** [October 11, 2014, 8:43pm UTC](https://forum.syncthing.net/t/high-cpu-usage-because-of-stignore/1113 "2014-10-11T20:43:29Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [October 12, 2014, 12:59pm UTC](https://forum.syncthing.net/t/high-cpu-usage-because-of-stignore/1113/5 "2014-10-12T12:59:05Z")

</div>

I added a benchmark for the matching; on my computer, matching a filename against (the equivalent of) the list above takes 39 microseconds. So doing that check for 50000 files is about two seconds of CPU time, which would be 40% over a five second window. So yeah, it’s possible that that’s the cause.

---

_[View the full topic](https://forum.syncthing.net/t/high-cpu-usage-because-of-stignore/1113)._
