Now it can handle 10 complete requests (which are actually two, one is a
redirect) per second more, simply by changing the line
val.dup rescue val
into:
case val
when Fixnum, nil, true, false
val
else
val.dup rescue val
end
The second is up to 14 times faster for objects that can't be cloned
(Fixnum, nil, true, false). This results in an increase from 97 req/sec to
160 req/sec in the action-phase of Wee (for the example described in WeeFramework). Next, I will do
component render caching (for leaf components).