Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make it possible to customize the executable inside rereun snippets. | Yves Senn | 2015-06-13 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | In the Rails repository we use a `bin/test` executable to run our tests. However the rerun snippets still included `bin/rails test`: BEFORE: ``` Failed tests: bin/rails test test/cases/adapters/postgresql/schema_test.rb:91 ``` AFTER: ``` Failed tests: bin/test test/cases/adapters/postgresql/schema_test.rb:91 ``` | ||||
* | select the AR adapter through `bin/test`. | Yves Senn | 2015-06-11 | 1 | -2/+0 |
| | |||||
* | use our runner (`bin/test`) for framework components. | Yves Senn | 2015-06-11 | 1 | -0/+12 |
| | | | | | | | | | | This adds a script `bin/test` to most Rails framework components. The script uses the rails minitest plugin to augment the runner. See https://github.com/rails/rails/pull/19571 for details about the plugin. I did not yet add `bin/test` for activerecord, activejob and railties. These components rely on specific setup performed in the rake-tasks. | ||||
* | Use block variable instead of global | schneems | 2015-06-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | ```ruby require 'benchmark/ips' Benchmark.ips do |x| x.report("$&") { "foo".sub(/f/) { $&.upcase } } x.report("block var") { "foo".sub(/f/) {|match| match.upcase } } end ``` ``` Calculating ------------------------------------- $& 48.658k i/100ms block var 49.666k i/100ms ------------------------------------------------- $& 873.156k (± 9.3%) i/s - 4.331M block var 969.744k (± 9.2%) i/s - 4.818M ``` It's faster, and gets rid of a few "magic" global variables | ||||
* | Doc fix [ci skip] | Sushruth Sivaramakrishnan | 2015-03-06 | 1 | -1/+1 |
| | |||||
* | minor docs change [ci skip] | Rishi Jain | 2014-11-03 | 1 | -2/+2 |
| | |||||
* | line_statistics is not an executable | Rafael Mendonça França | 2014-10-13 | 2 | -2/+2 |
| | | | | Also add documentation on it | ||||
* | Make a note about the internal tools/ dir and what each utility does | Jeremy Kemper | 2014-10-13 | 1 | -0/+8 |
| | |||||
* | Do not use deprecated `exists?` method | Rafael Mendonça França | 2014-10-13 | 1 | -1/+1 |
| | |||||
* | Document the propose of tools/profile | Rafael Mendonça França | 2014-10-13 | 1 | -0/+3 |
| | |||||
* | Revert "Merge pull request #17247 from igas/fix-deprecations" | Rafael Mendonça França | 2014-10-13 | 1 | -0/+133 |
| | | | | | | | This reverts commit 997f1575f78bf6a2d12b8665a55807d51fe964df, reversing changes made to f919d5f5ea75f0e56a57643e5a0472367a98625f. See https://github.com/rails/rails/pull/17247#issuecomment-58895078 | ||||
* | remove unused tools/profile | Igor Kapkov | 2014-10-13 | 1 | -133/+0 |
| | |||||
* | Encapsulate rake lines from ActiveRecord/ActionPack as CodeTools::LineStatistics | Benjamin Fleischer | 2014-07-25 | 1 | -0/+41 |
| | | | | [ci skip] | ||||
* | Fail profiler fast when input is not a ruby file | Benjamin Fleischer | 2014-07-25 | 1 | -0/+12 |
| | | | | [ci skip] | ||||
* | Optionally add String extensions for ruby-prof printer option | Benjamin Fleischer | 2014-07-25 | 1 | -0/+26 |
| | | | | [ci skip] | ||||
* | Encapsulate tools/profile functionality in CodeTools::Profiler | Benjamin Fleischer | 2014-07-25 | 1 | -52/+76 |
| | | | | | | Fix bug in path expansion of input filepath [ci skip] | ||||
* | Correct tools/profile usage example | Benjamin Fleischer | 2014-07-25 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Removing Gem.source_index [ci skip] | Arun Agrawal | 2013-07-13 | 1 | -1/+0 |
| | |||||
* | Remove REE GC stats since master is 1.9.3 | Jeremy Kemper | 2012-10-26 | 1 | -17/+5 |
| | |||||
* | fix Example: Rename tools/profile_requires -> tools/profile | rochefort | 2012-10-06 | 1 | -1/+1 |
| | |||||
* | require "rubygems" is obsolete in Ruby 1.9.3 | Kornelius Kalnbach | 2012-05-13 | 1 | -1/+0 |
| | |||||
* | Remove Active Resource source files from the repository | Prem Sichanugrist | 2012-03-13 | 1 | -1/+0 |
| | | | | | | | | | | Dear Active Resource, It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository. I will miss you, @sikachu. | ||||
* | Support an extra profile printer arg | Jeremy Kemper | 2010-06-24 | 1 | -1/+3 |
| | |||||
* | Show GC time and # of runs too | Jeremy Kemper | 2010-06-23 | 1 | -1/+3 |
| | |||||
* | Ensure require and load are private - h/t apeiros | Jeremy Kemper | 2010-04-24 | 1 | -0/+1 |
| | |||||
* | Use call stack printer if available | Jeremy Kemper | 2010-04-04 | 1 | -2/+8 |
| | |||||
* | ./tools/console to drop into irb with rails loaded | Jeremy Kemper | 2010-03-28 | 1 | -0/+7 |
| | |||||
* | Rename tools/profile_requires -> tools/profile since we do both require and ↵ | Jeremy Kemper | 2009-05-27 | 1 | -0/+0 |
| | | | | ruby-prof profiling. | ||||
* | Clean up tools/profile_requires a bit | Jeremy Kemper | 2009-05-21 | 1 | -33/+27 |
| | |||||
* | Simple examples for require profiling | Jeremy Kemper | 2009-05-13 | 1 | -2/+2 |
| | |||||
* | Preserve ordering | Jeremy Kemper | 2009-05-13 | 1 | -2/+8 |
| | |||||
* | Tool for profiling resource usage in each require call. | Jeremy Kemper | 2009-05-07 | 1 | -0/+75 |
$ ruby -Iactiveresource/lib tools/profile_requires.rb active_resource 91.84 KB 3220 obj 4.0 ms active_resource 83.86 KB 3108 obj 3.3 ms active_support 69.32 KB 2682 obj 2.6 ms active_support/vendor 33.98 KB 651 obj 0.6 ms i18n 94.40 KB 315 obj 4.0 ms 44 KB RSS |