aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing/performance.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* GC at 1.9.X doesn't have malloc_allocated_size, remove support for itGonçalo Silva2010-06-171-12/+0
|
* removed support for 1.8's GC alternative hacks (railsbench and lloyd ↵Gonçalo Silva2010-06-171-25/+0
| | | | patches). RubyProf can handle it
* check if the data method is defined (meaning it's correctly patched)Gonçalo Silva2010-06-171-4/+4
|
* the official profiler (present in 1.9) should have the highest priorityGonçalo Silva2010-06-171-31/+31
|
* don't set cpu_frequency if RubyProf resolved itGonçalo Silva2010-06-171-2/+2
|
* testing/performance.rb needs active_support/core_ext/string/inflections ↵Xavier Noria2010-01-011-0/+1
| | | | because it uses demodulize
* Reorganize autoloads:Carlhuda2009-12-021-337/+341
| | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications.
* Move AS vendor support into bundler.Joshua Peek2009-09-131-2/+0
| | | Run `rake bundle` before running tests.