Commit Graph

12 Commits

Author SHA1 Message Date
Ben Darnell 4f86890cfa Add make_current keyword argument to IOLoop constructor.
This allows applications to create an IOLoop to be started in another
thread without making it current in the originating thread.

Update docs to use IOLoop.current() in place of IOLoop.instance() when
starting the loop.

Closes #1390.
2015-03-29 16:31:06 -04:00
Joseph c34b4f7de5 some modifications in demos/benchmark so it can run both in py2 and py3 2015-02-06 10:29:13 +08:00
Ben Darnell e239a8a736 Use add_callback_from_signal in benchmark.py's sigchld handler.
This would manifest as an occasional deadlock when an 'ab' process
finished.
2014-04-19 18:51:36 -04:00
Ben Darnell b1482368b1 Add a benchmark for coroutine processing. 2014-01-25 21:55:39 -05:00
Ben Darnell c7bc4b6188 Add a stack_context benchmark. 2013-05-26 14:15:12 -04:00
Ben Darnell d02b031bc9 Add an ioloop command line flag to the benchmark script. 2013-04-07 13:07:23 -04:00
Ben Darnell 7f5d4de759 Avoid merging the entire read buffer for IOStream.read_until.
Among other things, this dramatically speeds up downloads of large
chunked files over a fast network with SimpleHTTPClient.

Fixes #425.
2011-12-30 16:19:49 -08:00
Ben Darnell 8c3e46c491 Add option to print out generated template code in benchmark 2011-07-27 22:09:49 -07:00
Ben Darnell 3a7e30896b Add a template benchmark, based on one in jinja2 2011-07-27 22:01:05 -07:00
Ben Darnell 845950af7d Better benchmark script 2011-07-06 19:14:59 -07:00
Ben Darnell a287c203f1 Add keepalive support to benchmark, add other command-line args 2011-05-14 22:53:29 -07:00
Ben Darnell ade3ce2e98 Add a simple HTTP benchmark 2010-12-10 17:03:21 -08:00