Performance impact of Rack Mini Profiler


#1

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?


#2

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.

In production I would only use RedisStore or Membached

pretty negligable