perf: http layer - speedup couchdb version lookup

It turned out that we spend a lot of our time for every request in the
function couch_server:get_version which simply gets the current CouchDB
version.

Instead of fetching a list of all loaded applications an filtering it
we are directly getting the current VSN of CouchDB.

Patched version is 10% faster for a simple /get on a document.

(Almost?) All our of request-handlers are accessing this function so it
should be beneficial for large areas of the http layer.
1 file changed
tree: 8263678270c23e20e682bdb676b6c13b0147dd77
  1. include/
  2. priv/
  3. src/
  4. test/
  5. .gitignore
  6. LICENSE
  7. rebar.config.script