Sergey Nartimov
|
904e544cc8
|
add benchmark helper that works in erb
|
2012-01-07 12:17:48 +03:00 |
|
José Valim
|
a15e02d44a
|
Unify benchmark APIs.
|
2009-10-15 18:19:25 -03:00 |
|
Yehuda Katz + Carl Lerche
|
86fc43fd58
|
ActionPack components should no longer have undeclared dependencies.
* Tests can be run in isolation
* Dependencies added
* A few tests modified to avoid depending on AS deps
not depended on my files they were testing
|
2009-06-08 13:34:07 -07:00 |
|
David Heinemeier Hansson
|
a1fb57aa69
|
Added :silence option to BenchmarkHelper#benchmark and turned log_level into a hash parameter and deprecated the old use [DHH]
|
2009-01-01 18:53:16 +01:00 |
|
Jeremy Kemper
|
e8c4939fb3
|
Benchmark.ms
|
2008-12-09 11:17:11 -08:00 |
|
David Heinemeier Hansson
|
227ee2ecb4
|
Use a more sensible resolution on the new millisecond benchmarks
|
2008-09-05 14:58:34 +02:00 |
|
David Heinemeier Hansson
|
de0e7507de
|
Changed all benchmarking reports to be in milliseconds
|
2008-09-05 14:22:57 +02:00 |
|
David Heinemeier Hansson
|
d327496ab7
|
Fixed tests (and the weird assumption that no logger would mean that the code wasnt run)
|
2008-04-30 15:00:15 -05:00 |
|
David Heinemeier Hansson
|
850aba5473
|
Fixed that BenchmarkHelper should use controller.logger instead of @logger (which now apparently is gone)
|
2008-04-27 22:46:19 -05:00 |
|
David Heinemeier Hansson
|
b00e6a984d
|
Massive documentation update for all helpers (closes #8223, #8177, #8175, #8108, #7977, #7972, #7971, #7969) [jeremymcanally]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-23 17:49:18 +00:00 |
|
Jeremy Kemper
|
c9901176be
|
benchmark helper takes an optional log level, defaults to :info. Chose symbols log levels rather than Logger::FOO constants for simplicity. Added benchmark helper test suite.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-05 19:33:25 +00:00 |
|
David Heinemeier Hansson
|
84afbbbc03
|
Fix syntax error
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-05 18:02:02 +00:00 |
|
David Heinemeier Hansson
|
977b4be208
|
Changed logging of SQL statements to use the DEBUG level instead of INFO. Added logging of the request URI in the benchmark statement (makes it easy to grep for slow actions). Changed the default logging level in config/environment.rb to INFO for production (so SQL statements won't be logged)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1714 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-05 17:23:41 +00:00 |
|
David Heinemeier Hansson
|
577a22c47e
|
Dont benchmark if the logger has been turned off
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1269 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-02 07:05:15 +00:00 |
|
David Heinemeier Hansson
|
fbd86c2017
|
Added BenchmarkHelper that can measure the execution time of a block in a template and reports the result to the log
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1240 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-27 08:17:25 +00:00 |
|