# Performance impact of Rack Mini Profiler

**URL:** <https://community.miniprofiler.com/t/performance-impact-of-rack-mini-profiler/580>\
**Category:** uncategorized\
**Created:** [November 26, 2017, 8:52pm UTC](https://community.miniprofiler.com/t/performance-impact-of-rack-mini-profiler/580 "2017-11-26T20:52:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alanteter](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@alanteter](https://community.miniprofiler.com/u/alanteter)\
**Post date:** [November 26, 2017, 8:52pm UTC](https://community.miniprofiler.com/t/performance-impact-of-rack-mini-profiler/580/1 "2017-11-26T20:52:00Z")

</div>

Is there anywhere I can read more about the performance hit of using rack-mini-profiler, specially in production env?

Is there a difference between using FileStore or RedisStore, or the file is written only after the request is completed so it doesn’t slow it down? But can it be slowing down other requests reducing server response time?

Lastly, could using a lot of Rack::MiniProfiler.step(“xxx”) reduce performance or the impact is negligible?

---

<div class="post-metadata">

**Author:** ![sam](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/sam/32/377_2.png) [@sam](https://community.miniprofiler.com/u/sam)\
**Post date:** [November 27, 2017, 9:16pm UTC](https://community.miniprofiler.com/t/performance-impact-of-rack-mini-profiler/580/2 "2017-11-27T21:16:00Z")

</div>

> [@alanteter](#):
>
> Is there anywhere I can read more about the performance hit of using rack-mini-profiler, specially in production env?

You will get almost no perf hit for users that have it disabled, (which are all users that have not be authorized)

The perf hit is pretty close to adding say 50 or so `if false` statements spread out through your code. You will not be able to measure it.

> [@alanteter](#):
>
> Is there a difference between using FileStore or RedisStore, or the file is written only after the request is completed so it doesn’t slow it down? But can it be slowing down other requests reducing server response time?

In production I would only use RedisStore or Membached

> [@alanteter](#):
>
> Lastly, could using a lot of Rack::MiniProfiler.step(“xxx”) reduce performance or the impact is negligible?

pretty negligable
