yahns Ruby server user/dev discussion
 help / color / mirror / code / Atom feed
* [PATCH 0/3] favor newer Rubies for performance
@ 2015-06-30  3:01 Eric Wong
  2015-06-30  3:01 ` [PATCH 1/3] generate response status strings dynamically Eric Wong
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eric Wong @ 2015-06-30  3:01 UTC (permalink / raw)
  To: yahns-public; +Cc: e

* [PATCH 1/3] generate response status strings dynamically

  This unfortunately introduces a minor performance regression.
  However, it is unlikely to be noticeable in real-world apps.

* [PATCH 2/3] reduce constants and optimize for Ruby 2.2+

  This appears to recover the performance lost in 1/3 when doing
  informal benchmarks on a private app (persistent connections
  enabled).

* [PATCH 3/3] http_response: reduce bytecode size

  This generates less bytecode when checking with
  RubyVM::InstructionSequence.compile

 lib/yahns/http_client.rb         | 16 +++++-----------
 lib/yahns/http_response.rb       | 35 ++++++++++++++++-------------------
 lib/yahns/max_body.rb            | 12 ++++--------
 lib/yahns/proxy_http_response.rb | 16 +++++++++-------
 4 files changed, 34 insertions(+), 45 deletions(-)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-30  3:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-30  3:01 [PATCH 0/3] favor newer Rubies for performance Eric Wong
2015-06-30  3:01 ` [PATCH 1/3] generate response status strings dynamically Eric Wong
2015-06-30  3:01 ` [PATCH 2/3] reduce constants and optimize for Ruby 2.2+ Eric Wong
2015-06-30  3:01 ` [PATCH 3/3] http_response: reduce bytecode size Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/yahns.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).