Is your plugin hosted on GitHub? Make sure to press the "fetch" button next to the repository field to fetch your plugin's info from GitHub rather than typing it all in.
Repository
Name
Home Page
Short description Custom Benchmarks allow you to easily add your own information to the benchmark line logged at the end of each request. e.g., Completed in 0.40306 (2 reqs/sec) | Rendering: 0.05003 (12%) | DB: 0.04571 (11%) | Search: 0.16429,1 (40%) | PID: 22426 | 200 OK [http://www.zvents.com/welcome/index]
Description Custom Benchmarks allow you to easily add your own information to the <br />benchmark line logged at the end of each request. e.g.,</p> <p>Completed in 0.40306 (2 reqs/sec) | Rendering: 0.05003 (12%) | DB: 0.04571 (11%) | Search: 0.16429,1 (40%) | PID: 22426 | 200 OK [http://www.zvents.com/welcome/index]</p> <p>Typically, the log line includes the latency associated with executing <br />specific parts of a request. In the example above, we have added a <br />measurement of search latency. But you can use Custom Benchmarks to add <br />any information to the log line. The example above also shows the ID of <br />the process (PID) that served this request. The PID is useful when parsing <br />information from logs that contain data from multiple processes.</p> <p>Adding your own information is as easy as:</p> <p>class ApplicationController < ActionController::Base <br /> custom_benchmark {|runtime| " | PID: #{$$}" } <br /> ... <br />end</p> <p>
Description format RDoc MarkDown Textile
License Ruby's Rails' (MIT) GPL LGPL BSD Apache Artistic PublicDomain BSD-type Free-Trial Free-but-Restricted OpenSource Proprietary Shareware Source-available-proprietary Commercial
Category Assets Controllers Internationalization Misc. Enhancements Model Rails Engines Searching and Queries Security Statistics and Logs Testing View Extensions