pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/ruby-innate
Module Name: pkgsrc
Committed By: taca
Date: Thu Mar 14 16:19:39 UTC 2013
Modified Files:
pkgsrc/www/ruby-innate: Makefile distinfo
Log Message:
Update ruby-innate to 2013.02.21.
[866c9cd | 2013-02-21 12:21:46 UTC] Michael Fellinger
<m.fellinger%gmail.com@localhost>
* Version 2013.02.21
[aa22191 | 2013-02-21 12:21:16 UTC] Michael Fellinger
<m.fellinger%gmail.com@localhost>
* update dependencies
[1a2ee39 | 2013-02-07 00:10:01 UTC] Michael Fellinger
<m.fellinger%gmail.com@localhost>
* Version 2013.02
[64ca67a | 2013-01-29 23:34:26 UTC] Michael Fellinger
<m.fellinger%gmail.com@localhost>
* don't do CI for REE, it's not supported anymore, add rbx and jruby 1.9
[079975c | 2013-01-29 21:57:39 UTC] Yorick Peterse
<yorickpeterse%gmail.com@localhost>
* Preserve values when calling render_full.
Signed-off-by: Yorick Peterse <yorickpeterse%gmail.com@localhost>
[a90d3f9 | 2013-01-29 21:53:16 UTC] Yorick Peterse
<yorickpeterse%gmail.com@localhost>
* Fix for generting URLs using anchor().
Instead of always appending "?" to the URL the anchor() method should only
do
so when there actually is a query string.
Signed-off-by: Yorick Peterse <yorickpeterse%gmail.com@localhost>
[d2aeb7f | 2013-01-29 21:17:08 UTC] Yorick Peterse
<yorickpeterse%gmail.com@localhost>
* Caching of provides and method arities.
Caching of a controller's provide handlers as well as the method arities can
lead to a nice performance boost of around 300 transactions/second using the
following benchmark:
require 'innate'
Innate.middleware :live do
run Innate.core
end
Innate::Log.level = Logger::ERROR
Innate.options.mode = :live
ENV['RACK_ENV'] = 'none'
class MainController
Innate.node('/', self)
def index
return 'index'
end
end
[:fast_mappings, :cache_provides, :cache_method_arities].each do |key|
MainController.ancestral_trait[key] = true
end
Innate.start(:adapter => :thin)
Benchmarking this was done by running `siege -c 10 -t 5s -b HOST` and would
initially result in around 1700 trans/sec. When using this commit this sits
between 2000/2100 trans/sec.
To prevent any potential issues the caching of provides and method aritites
is
disabled by default.
See Github issue #7 for more information.
Signed-off-by: Yorick Peterse <yorickpeterse%gmail.com@localhost>
[06dd4c5 | 2013-01-29 18:25:49 UTC] Yorick Peterse
<yorickpeterse%gmail.com@localhost>
* Revert action caching.
Instead of caching the entire action instance (which is modified further
down
the chain) various parts that make up this process will be cached instead
(where possible).
Signed-off-by: Yorick Peterse <yorickpeterse%gmail.com@localhost>
[32440b0 | 2013-01-15 18:38:41 UTC] Michael Fellinger
<m.fellinger%gmail.com@localhost>
* prevent memory leak from action caching
[040d084 | 2013-01-15 18:37:19 UTC] Michael Fellinger
<m.fellinger%gmail.com@localhost>
* clean up LRUHash a bit
[a136a72 | 2013-01-14 20:06:22 UTC] Michael Fellinger
<m.fellinger%gmail.com@localhost>
* build middleware only once
[8aea7cb | 2013-01-14 18:31:37 UTC] Yorick Peterse
<yorickpeterse%gmail.com@localhost>
* Only compile middleware for the current mode.
Signed-off-by: Yorick Peterse <yorickpeterse%gmail.com@localhost>
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/ruby-innate/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/ruby-innate/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index