aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing/performance.rb
Commit message (Collapse)AuthorAgeFilesLines
* update AS/notifications and AS/testing docs [ci skip]Francesco Rodriguez2012-09-141-4/+4
|
* Eliminate dependency on Rails::VERSION::STRINGAndrew White2012-06-051-18/+23
| | | | | | To facilitate the use of ActiveSupport::Testing::Performance outside of a Rails application conditionally check for the presence of Rails::VERSION::STRING before including it in the environment string.
* decoupling activesupport performance testing from actionview and adding testsAndrew Mutz2012-05-281-4/+4
|
* reverting decoupling of NumberHelper from safe_join and adding tests for ↵Andrew Mutz2012-05-181-0/+1
| | | | escaping of delimiters and separators
* Remove dependency on safe_join from number helpersCarlos Antonio da Silva2012-05-131-3/+2
| | | | Introduced in 0f848dd54911f0e15c5c3aceabf09582cc6eab16.
* Need to include "OutputSaftyHelper" here to preventArun Agrawal2012-05-131-0/+1
| | | | | `number_with_delimiter': undefined method `safe_join' for #<ActiveSupport::Testing::Performance::Metrics::Objects
* Remove key argument from run_callbacks to fix buildFrancesco Rodriguez2012-05-101-1/+1
|
* no need in separate MiniTest modulesSergey Nartimov2012-01-241-25/+22
|
* Removed RUBY_ENGINE checks for ruby18Miguel Camba2011-12-271-3/+1
|
* remove ForClassicTestUnit support for ruby 1.8Vishnu Atrai2011-12-261-48/+1
|
* Remove trailing white-spacesGuillermo Iguaran2011-06-051-19/+19
|
* removed redundant metric support check (and print when it isn't)Gonçalo Silva2011-05-101-3/+3
|
* remove forgotten putsGonçalo Silva2011-05-101-1/+0
|
* benchmarker and profiler now use the new performance testing tools (support ↵Gonçalo Silva2011-05-101-4/+7
| | | | for Rubinius and JRuby and high configurability)
* contemplate unsupported metricsGonçalo Silva2011-05-091-17/+17
|
* explicitly return from run() under minitest (metrics were printed with the ↵Gonçalo Silva2011-05-081-0/+2
| | | | previous solution)
* Merge branch 'master' of https://github.com/rails/rails into performance_testGonçalo Silva2011-05-081-33/+76
|\ | | | | | | | | Conflicts: activesupport/lib/active_support/testing/performance.rb
| * minitest/ruby19 compatible performance testJan Xie2011-05-051-43/+88
| |
* | don't use internal profiler methods on Rubinius and JRuby since we're only ↵Gonçalo Silva2011-04-031-0/+6
| | | | | | | | measuring wall clock for now (and the APIs will/can change, respectively)
* | check if there is support for the specified metric when profilingGonçalo Silva2011-03-301-6/+12
| |
* | don't allow decimal places on the amount of objects and gc runsGonçalo Silva2011-03-291-1/+1
| |
* | improved detection and feedback of supported/unsupported metricsGonçalo Silva2011-03-281-33/+2
| |
* | fixed a couple of hidden bugsGonçalo Silva2011-03-281-1/+2
| |
* | improved options handling in performance testsGonçalo Silva2011-03-281-11/+14
| |
* | warn the user about unsupported benchmarking metrics he might have asked forGonçalo Silva2011-03-281-1/+2
| |
* | :min_percent only makes sense in a RubyProf contextGonçalo Silva2011-03-281-1/+0
| |
* | added basic structure for jrubyGonçalo Silva2011-03-261-2/+7
| |
* | added support for profiling under rubiniusGonçalo Silva2011-03-261-5/+4
| |
* | rubinius returns "rbx" for RUBY_ENGINE, not "rubinius"Gonçalo Silva2011-03-251-2/+2
| |
* | added basic structure for RubiniusGonçalo Silva2011-03-251-3/+4
| |
* | renamed "mri" to "ruby", for consistency with RUBY_ENGINEGonçalo Silva2011-03-251-2/+2
| |
* | check whether the user is using a supported ruby interpreter for benchmarkingGonçalo Silva2011-03-251-1/+7
| |
* | using number_helper to pretty print some results Gonçalo Silva2011-03-251-16/+13
| |
* | extracted more generic methods, added a note for methods that need to be ↵Gonçalo Silva2011-03-251-19/+80
| | | | | | | | overridden by each implementation
* | initial separation of RubyProf-specific codeGonçalo Silva2011-03-251-218/+5
| |
* | ruby-prof only makes sense in an MRI contextGonçalo Silva2011-03-251-5/+7
| |
* | move "check for ruby-prof" from AD/testing/performance_test to ↵Gonçalo Silva2011-03-241-308/+310
| | | | | | | | AS/testing/performance, where it is actually required
* | check if RubyProf's WALL_TIME and PROCESS_TIME are available before using ↵Gonçalo Silva2011-03-241-2/+2
|/ | | | them (similarly to other constants)
* GcTime incorrectly checks GC.respond_to?(:total_time), it should check ↵Joel Nimety2011-02-151-1/+1
| | | | | | | | GC::Profiler.respond_to?(:total_time) [#6435 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Exception handling more readableThiago Pradi2010-09-191-4/+4
| | | | | | [#5601 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* added support for more printersGonçalo Silva2010-08-101-5/+9
|
* performance tests now working accurately on 1.9, using Ruby with the GCdata ↵Gonçalo Silva2010-06-291-36/+18
| | | | patch
* enable_stats added back in since Benchmarker doesn't start RubyProfGonçalo Silva2010-06-171-1/+9
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* check if the profiler patch is applied, otherwise GC::Profiler doesn't have ↵Gonçalo Silva2010-06-171-1/+1
| | | | the 'data' method
* added information about what is being usedGonçalo Silva2010-06-171-2/+6
|
* heap_live_objects+heap_free_objects is broken, use heap_total_objects insteadGonçalo Silva2010-06-171-2/+1
|
* also use GC profiler extended patch to retrieve GC time on 1.9Gonçalo Silva2010-06-171-1/+12
|
* ruby's GC doesn't support the time method, removed support for itGonçalo Silva2010-06-171-4/+0
|
* use GC profiler extended patch to retrieve GC runs on 1.9Gonçalo Silva2010-06-171-1/+12
|
* ruby's GC doesn't support collections and heap_info, RubyProf can handle itGonçalo Silva2010-06-171-8/+0
|