railsã¢ããªãé ãã£ã¦è¨ãããã®ã§ãä¹ ãã¶ãã«rubyã§isuconãã¦ã¿ã¾ããã railsã¢ããªã§stackprofã使ã£ããããã¡ã¤ãªã³ã° ã¾ããèªåããã¤ããã£ã¦ãæ¹æ³ãªã®ã§ãããconfig.ruã«stackprofã®è¨å®ãä»è¾¼ã¿ã¾ãã stackprofã¯rackããã«ã¦ã§ã¢ã¨ãã¦å·®ãè¾¼ããããã«ãªã£ã¦ãã¾ãã ä¸è¨è¨å®ã¯railsã ãã§ãªããsinatraã§ããã¡ããåãã¾ãã(ããããã¤ãä»è¾¼ãã§ããã¦ããã¾ãã) Gemfileã«gem 'stackprof'ãæ¸ãã¦config.ruã«ä¸è¨ã®ããã«ä»è¾¼ãã§ãã¾ãã is_stackprof = ENV['ENABLE_STACKPROF'].to_i.nonzero? stackprof_mode = (ENV['STACKPROF_MODE'] || :cpu).to_sym stackprof_interval
{{#tags}}- {{label}}
{{/tags}}