aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing/performance.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Process time should be wall time when benchmarkingPratik Naik2009-01-091-1/+1
|
* Check first for git repository before using git branchPratik Naik2008-11-021-1/+1
|
* Ruby 1.9 compat: switch profile_options to superclass_delegating_accessorJeremy Kemper2008-08-251-8/+9
|
* Ruby 1.9 and GC::Profiler updatesJeremy Kemper2008-08-181-6/+60
|
* Once is enough, mmkJeremy Kemper2008-07-281-2/+2
|
* Decrease default benchmark runs from 10 to 4Jeremy Kemper2008-07-171-1/+1
|
* Don't assume RubyProf constants are definedJeremy Kemper2008-06-201-5/+5
|
* Tired of seeing <foo>/runJeremy Kemper2008-06-201-1/+1
|
* Don't profile GC runs/time by defaultJeremy Kemper2008-06-201-1/+1
|
* Performance: add GC metrics for # of runs and total runtimeJeremy Kemper2008-06-181-10/+48
|
* Oops, include metric name in csv filenameJeremy Kemper2008-06-181-1/+1
|
* Performance: tweak unsupported metric error messageJeremy Kemper2008-06-181-1/+1
|
* Write benchmark output to separate files per test+metric. Support Lloyd ↵Jeremy Kemper2008-06-181-5/+35
| | | | Hilaiel's GC.heap_info patch for current heap size.
* process time for benchmarks (quicker), wall time for profiling (lower overhead)Jeremy Kemper2008-06-161-10/+14
|
* missed . joining rails version and git revisionJeremy Kemper2008-06-161-1/+1
|
* Metrics::Memory measures in fractional KB alsoJeremy Kemper2008-06-161-3/+3
|
* Extract environment. Hardcode some git info so I can start working with it now.Jeremy Kemper2008-06-161-8/+24
|
* Force runs to be an integer. Start and stop RubyProf in same scope. Expect ↵Jeremy Kemper2008-06-151-12/+21
| | | | memory measurements in fractional KB now instead of bytes. Convert object allocation measurements to integer. Wrap up measure_mode in Metric instance method.
* Delegate run_test to @harnessJeremy Kemper2008-06-151-3/+3
|
* Metrics::[] escues NameError only. Fix MODE typo.Jeremy Kemper2008-06-151-2/+2
|
* Extract Metric and Performer. Simplify and refactor.Jeremy Kemper2008-06-151-138/+212
|
* Pass printer class to output_filenameJeremy Kemper2008-06-141-8/+8
|
* Performance: integration test benchmarking and profiling. [Jeremy Kemper]Jeremy Kemper2008-06-141-0/+226