Softhouse / xyz

Repo for collecting issues/user stories related to XYZ
0 stars 0 forks source link

change to bluebird from q in xyz-cv-model #102

Closed letterix closed 9 years ago

letterix commented 9 years ago

as seen on multiple benchmarks around the web, Q is one of the lowest performing promise-libs out there for node. It yields security over performance on the web, but since we don't need that on our api's we should aim for more performance based modules.

Since we do most of the computation in xyz-cv-model, this would be our highest performance clog and as such the place where we should start with swapping out.

bluebird has the highest performance by A LOT and will be the target of our migration.

see: http://spion.github.io/posts/why-i-am-switching-to-promises.html