Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | update bin/test scripts to prevent double runs. | Yves Senn | 2016-11-21 | 1 | -0/+2 |
| | | | | | The test runner was updated to make use of autorun. This caused the `bin/test` scripts to run Minitest twice. | ||||
* | Add more rubocop rules about whitespaces | Rafael Mendonça França | 2016-10-29 | 1 | -1/+1 |
| | |||||
* | fixes remaining RuboCop issues [Vipul A M, Xavier Noria] | Xavier Noria | 2016-09-01 | 1 | -1/+1 |
| | |||||
* | Add three new rubocop rules | Rafael Mendonça França | 2016-08-16 | 1 | -1/+1 |
| | | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository. | ||||
* | code gardening: removes redundant selfs | Xavier Noria | 2016-08-08 | 1 | -1/+1 |
| | | | | | | | | | A few have been left for aesthetic reasons, but have made a pass and removed most of them. Note that if the method `foo` returns an array, `foo << 1` is a regular push, nothing to do with assignments, so no self required. | ||||
* | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 1 | -26/+26 |
| | |||||
* | applies new string literal convention in tools | Xavier Noria | 2016-08-06 | 3 | -19/+19 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Remove requiring load_paths from tools/test.rb | Prathamesh Sonpatki | 2016-03-02 | 1 | -1/+4 |
| | | | | | | | - Instead require and setup Bundler - `tools/test.rb` is used internally from all `bin/test` scripts inside component gems. - Followup of https://github.com/rails/rails/commit/2abcdfd978fdcd491576a237e8c6be04ddaf884d. | ||||
* | Remove load_paths file | Arthur Neves | 2016-02-27 | 1 | -1/+3 |
| | |||||
* | Fix title of README according to Markdown conventions | Aaron Ang | 2016-02-25 | 1 | -2/+2 |
| | | | | | | | | | The first heading in some README's are indicated using a second level heading (`##`), which in my opinion is of incorrect structure. Therefore, in this patch I changed the first heading to a first level heading (`#`) in README's where this incorrect structure occurs. [ci skip] | ||||
* | [ci skip] line_statistics added to README | Sourav Moitra | 2016-02-14 | 1 | -0/+1 |
| | |||||
* | 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 |