タグ

profileとrailsに関するruedapのブックマーク (2)

  • rack-mini-profilerの計測結果がWebページに表示しないようにする - Qiita

    Railsアプリケーションに導入することで、Viewのレンダリングやデータベースへのクエリにかかった時間を計測し、その結果をすべてのページ上に表示してくれるrack-mini-profilerというgemがある。 MiniProfiler/Ruby at master · SamSaffron/MiniProfiler · GitHub 計測結果は画面左上に小さく表示され、邪魔になりにくいようになっているんだけど、それでも邪魔なときがある。 計測結果をページに表示しないようにするには方法が2つある。 1つ目 URLの末尾に?pp=disableというクエリを付け加えることで、計測結果が表示されなくなる。 例: 一度この設定を行うと、そのセッションが有効な間はずっと計測結果が表示されない状態になる。 再度表示させたい場合は、URLの末尾に?pp=enableと付け加えれば良い 2つ目 1つ目

    rack-mini-profilerの計測結果がWebページに表示しないようにする - Qiita
  • 223Soft -

    Document Data Structure in MongoDB Express MongoDB lets you easily store structured and unstructured data in a flexible and dynamic database schema. It supports CRUD operations on complex data objects using JSON as the main data type. Its an open source solution so it may not be as robust or well supported as commercial management tools. However it is easy to deploy and works well for most use cas

  • 1