diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-14 08:23:50 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-14 08:23:50 +0000 |
commit | 624d5bb176de5212bea43a1c57a95f48676c6e9f (patch) | |
tree | 9bba432db896b085abe9e233dc037312cea197cf /railties/CHANGELOG | |
parent | 75b8ac80d988c39e48966d6b60f0d1d46c0d75a6 (diff) | |
download | rails-624d5bb176de5212bea43a1c57a95f48676c6e9f.tar.gz rails-624d5bb176de5212bea43a1c57a95f48676c6e9f.tar.bz2 rails-624d5bb176de5212bea43a1c57a95f48676c6e9f.zip |
Added script/benchmarker to easily benchmark one or more statement a number of times from within the environment. Added script/profiler to easily profile a single statement from within the environment
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/CHANGELOG')
-rw-r--r-- | railties/CHANGELOG | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG index 7a0d0ad1cc..0ff8f05b95 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,5 +1,19 @@ *SVN* +* Added script/benchmarker to easily benchmark one or more statement a number of times from within the environment. Examples: + + # runs the one statement 10 times + script/benchmarker 10 'Person.expensive_method(10)' + + # pits the two statements against each other with 50 runs each + script/benchmarker 50 'Person.expensive_method(10)' 'Person.cheap_method(10)' + + +* Added script/profiler to easily profile a single statement from within the environment. Examples: + + script/profiler 'Person.expensive_method(10)' + script/profiler 'Person.expensive_method(10)' 10 # runs the statement 10 times + * Added Rake target clear_logs that'll truncate all the *.log files in log/ to zero #1079 [Lucas Carlson] * Added lazy typing for generate, such that ./script/generate cn == ./script/generate controller and the likes #1051 [k@v2studio.com] |