aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/examples
Commit message (Collapse)AuthorAgeFilesLines
* replace all older rocket sign to new ":" from examples of active record and ↵Rajarshi Das2013-06-242-19/+19
| | | | active models
* removes activerecord/examples/associations.pngXavier Noria2013-03-291-0/+0
| | | | This seems to be a legacy file, I cannot find any place where it is used.
* Change docs to use update instead of update_attributesAmparo Luna + Guillermo Iguaran2013-01-031-1/+1
|
* Increase benchmark time to 20 seconds.Jon Leighton2012-08-171-18/+18
| | | | | | | | | I think that 5 seconds was a bit low for our purposes. Also enable it to be configured via env vars. We also need to scale the number of records up/down depending on how long we're running the benchmark for.
* Use benchmark/ips to measure AR performanceJon Leighton2012-08-171-39/+34
| | | | | | This means we can more easily compare numbers, and we don't have to specify a single N for all reports, which previously meant that some tests were running many more/fewer iterations than necessary.
* Make with_scope public so we stop using send :bomb:José Valim2011-12-151-0/+12
|
* Add performance scripts from wycats/rails-simple-benches to actionpack.José Valim2011-12-081-1/+1
|
* splited a long line to shorter onesSergey Parizhskiy2011-11-291-1/+8
|
* Remove identity map from benchmark script.Emilio Tagua2011-02-151-7/+0
|
* Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-151-124/+90
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/examples/performance.rb activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/nested_attributes.rb activerecord/test/cases/relations_test.rb
| * no more faker, rbench, or addressableAaron Patterson2011-02-071-109/+88
| |
* | Clean IdentityMap before running each benchmark.Emilio Tagua2010-11-191-0/+18
| |
* | Enable IM in performance script unless IM=disabled is set when running it.Emilio Tagua2010-11-191-0/+2
|/
* Use detect instead select to avoid "sh: [mysqldump]: command not found".Emilio Tagua2010-09-291-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add more examples in performance script.Emilio Tagua2010-09-101-0/+17
| | | | | | [#5610 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ruby 1.9 compat: convert Pathname to stringJeremy Kemper2010-09-101-1/+1
|
* Switch back to mysql for easier comparisonJeremy Kemper2010-09-101-1/+1
|
* AR perf test: switch to mysql2, bundle faker and rbenchJeremy Kemper2010-09-091-1/+1
|
* Fix data loading from the performance scriptPratik Naik2010-07-161-1/+1
|
* Use the new query API in AR performance script.Emilio Tagua2010-06-221-3/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* remove executable permission from files that don't need it. [#4802 ↵rohit2010-06-201-0/+0
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Use load_paths on AR benchmarks so it uses the bundler setup instead of ↵José Valim2010-06-121-5/+5
| | | | system gems.
* Fix typoJeremy Kemper2009-08-251-1/+1
|
* timestamps gives a created_at field not created_on.Emilio Tagua2009-08-241-2/+2
| | | | | | [#3093 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Benchmark script via miloops' arel fork via DataMapper's AR comparison scriptJeremy Kemper2009-08-202-0/+163
|
* Simple examples for require profilingJeremy Kemper2009-05-131-0/+14
|
* Removed outdated benchmarks and examplesDavid Heinemeier Hansson2007-09-093-187/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7439 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed unnecessary table_name overwrite #695David Heinemeier Hansson2005-02-231-3/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@764 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* InitialDavid Heinemeier Hansson2004-11-244-0/+190
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de