1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
Commit graph

9 commits

Author SHA1 Message Date
Evan Phoenix
3726bc4f18 Be sure to empty the drain the todo before shutting down. Fixes #155 2012-10-12 23:05:23 -07:00
Evan Phoenix
ab8dbfeb96 Vastly improve IO perf on 1.9.3
Puma::IOBuffer is a very simple memory buffer that allows for fast
append without additional object overhead.

Additionally, turns out that IO#write on 1.9.3 is extremely
non-performant because it allows a Hash object on every invocation.
Avoid calling IO#write in a loop on 1.9.3! Use IO#syswrite if you can
(for instance when you don't care about the encoding of the output
(sockets)).
2012-08-11 15:09:09 -07:00
Evan Phoenix
6a90d64889 Fix bad test 2012-07-30 17:37:43 -06:00
Santiago Pastorino
fb4e23d628 Add missing localvars. Accessing localvars is faster than accessing ivars 2012-07-05 16:05:29 -03:00
Evan Phoenix
256970e048 Rearch how trimming takes place to not starve. Fixes #39
Using the work queue to communicate trimming doesn't work, it's far too
easy to starve the system doing that. Instead we now detect trimming and
work as seperate actions.
2012-02-07 09:49:23 -08:00
Evan Phoenix
6103e7f45b Add ability to use a config file (-C, --config) 2011-12-06 14:57:37 -08:00
Evan Phoenix
f11cd81470 Add automatic pool trimming 2011-12-05 10:07:01 -08:00
Evan Phoenix
b18cfae4b1 Write a bunch of documentation 2011-12-01 15:23:14 -08:00
Evan Phoenix
190a81c55a Name change: Mongrel => Puma 2011-09-22 19:24:43 -07:00
Renamed from lib/mongrel/thread_pool.rb (Browse further)