Home Ruby Railsprofiler Memorylogic10年前的东西,目前已经成为一个plugin
Post
Cancel

Ruby Railsprofiler Memorylogic10年前的东西,目前已经成为一个plugin

参考:https://github.com/binarylogic/memorylogic

专门为rails使用。每次请求都会在logger中增加某条请求的内存使用情况

用法

class Applicationcontroller
  include Memorylogic
end

然后查看日志就行。

This post is licensed under CC BY 4.0 by the author.