José Valim
efc28a7f70
Some small optimizations and improvements to benchmark code.
2011-12-08 16:39:06 +01:00
José Valim
06ac7d3ee0
Add performance scripts from wycats/rails-simple-benches to actionpack.
2011-12-08 16:39:06 +01:00
Yehuda Katz
ba67e256b8
Remove submodule
2009-08-11 23:44:44 -07:00
Yehuda Katz
27e880729e
Made benchmarks submodule so it's easier to keep in sync
2009-08-11 16:49:27 -07:00
Yehuda Katz
945a7df9f8
Make large_collection 1,000 partials
2009-08-11 15:03:53 -07:00
Yehuda Katz
4945d82239
Further experimentation. Was able to cut the cost of rendering 100 partials in a collection in half.
...
To discuss: What are the desired semantics (if any) for layouts in a collection. There are no
tests for it at present, and I'm not sure if it's needed at all.
Deprecated on this branch: `object` pointing at the current object in partials. You can still
use the partial name, or use :as to achieve the same thing. This is obviously up for discussion.
2009-08-11 15:03:53 -07:00
Yehuda Katz
bef7576c09
Add a few more benches
2009-08-11 15:03:53 -07:00
Yehuda Katz
04d4537cd4
This change causes some failing tests, but it should be possible to make them pass with minimal performance impact.
2009-08-11 15:03:52 -07:00
Yehuda Katz
0d53994701
Make bench harness produce output that is easier to compare
2009-08-09 04:12:09 -03:00
Yehuda Katz
e8849203dc
Updates to benchmark harness.
2009-08-09 04:12:09 -03:00
Yehuda Katz
0ab40b039b
Went from 25% slower partials (vs. 2.3) to 10% faster. More to come.
2009-08-09 04:12:08 -03:00
Yehuda Katz
930d235981
Support a warmup for JRuby
2009-08-09 04:12:08 -03:00
Yehuda Katz
b57d94c187
Update minimal.rb to benchmark partials
2009-08-09 04:12:08 -03:00
José Valim
aed135d3e2
Renamed presenter to renderer, added some documentation and defined its API.
2009-08-07 17:17:51 +02:00
Yehuda Katz
52798fd479
rename ActionController::Http to ActionController::Metal at Josh's suggestion
2009-08-06 19:50:22 -03:00
Yehuda Katz
af375a5eb3
Replace _action_view with view_context to reflect that it is public and that it does not need to be an ActionView instance
2009-08-06 19:45:40 -03:00
Yehuda Katz
f0945409d9
replace _render_*_from_controller with render_* as they are intended to be public
2009-08-06 19:43:28 -03:00
Yehuda Katz
45d41d8012
Add some simple examples for unconventional AMo and AP use
2009-07-19 23:24:19 +09:00
Jeremy Kemper
311d686d03
add a metal to minimal examples for comparison
2009-05-27 01:00:02 -05:00
Jeremy Kemper
bdb61c1dad
Compare Base with Http
2009-05-24 17:34:40 -07:00
Jeremy Kemper
a78b0a40c6
runner class
2009-05-23 19:30:18 -07:00
Jeremy Kemper
e0e124757a
Fewer runs by default
2009-05-21 20:27:24 -07:00
Jeremy Kemper
c286952050
Minimal base/new_base comparison
2009-05-14 02:01:08 -07:00
Jeremy Kemper
29bd8f7b89
Simple example for require profiling
2009-05-14 02:01:08 -07:00
David Heinemeier Hansson
955fa6151a
The examples are outdated and misleading
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7424 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-09-09 17:55:26 +00:00
Michael Koziarski
f81dae3fca
Remove deprecated functionality from actionpack. Closes #8958 [lifofifo]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7403 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-09-03 00:18:30 +00:00
David Heinemeier Hansson
21187c0fb4
Apply the rest of Chads patch
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-21 00:29:44 +00:00
David Heinemeier Hansson
e105653066
Added .erb and .builder as preferred aliases to the now deprecated .rhtml and .rxml extensions [Chad Fowler]. This is done to separate the renderer from the mime type. .erb templates are often used to render emails, atom, csv, whatever. So labeling them .rhtml doesn't make too much sense. The same goes for .rxml, which can be used to build everything from HTML to Atom to whatever. .rhtml and .rxml will continue to work until Rails 3.0, though. So this is a slow phasing out. All generators and examples will start using the new aliases, though.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6178 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-20 22:09:12 +00:00
Rick Olson
69b0e5c44a
Allow Controllers to have multiple view_paths instead of a single template_root. Closes #2754 [John Long]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-04 20:47:05 +00:00
Jeremy Kemper
c40b1a4a67
Deprecate direct usage of @params. Update ActionView::Base for instance var deprecation.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-07 12:40:14 +00:00
Jeremy Kemper
2399a223c3
Deprecation! @session and @flash will be removed after 1.2. Use the session and flash methods instead. You'll get printed warnings during tests and logged warnings in dev mode when you access either instance variable directly.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-07 06:11:56 +00:00
David Heinemeier Hansson
db045dbbf6
Initial
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-24 01:04:44 +00:00