concurrent
Advanced tools
Comparing version 0.0.8 to 0.1.0
{ | ||
"name": "concurrent", | ||
"version": "0.0.8", | ||
"version": "0.1.0", | ||
"description": "Promises/A+ with Scala awesomeness", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -58,2 +58,80 @@ Concurrent | ||
Benchmarks | ||
---------- | ||
Here are the top 5 libraries for some of the tests | ||
```text | ||
========================================================== | ||
Test: promise-fulfill x 10000 | ||
---------------------------------------------------------- | ||
laissez: | 3.00 | ||
concurrent: ▇▇ 14.00 | ||
deferred: ▇▇ 19.00 | ||
when: ▇▇▇▇▇ 36.00 | ||
q: ▇▇▇▇▇▇▇▇ 57.00 | ||
========================================================== | ||
Test: promise-reject x 10000 | ||
---------------------------------------------------------- | ||
concurrent: | 6.00 | ||
avow: ▇▇▇▇▇▇▇▇ 55.00 | ||
q: ▇▇▇▇▇▇▇▇▇ 60.00 | ||
when: ▇▇▇▇▇▇▇▇▇▇▇▇▇ 89.00 | ||
laissez: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 118.00 | ||
========================================================== | ||
Test: promise-sequence x 10000 | ||
---------------------------------------------------------- | ||
laissez: | 8.00 | ||
when: ▇▇▇▇▇▇▇▇ 204.00 | ||
concurrent: ▇▇▇▇▇▇▇▇ 207.00 | ||
avow: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 335.00 | ||
deferred: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 421.00 | ||
========================================================== | ||
Test: defer-fulfill x 10000 | ||
---------------------------------------------------------- | ||
laissez: ▇ 21.00 | ||
concurrent: ▇▇▇▇ 62.00 | ||
when: ▇▇▇▇▇▇▇ 103.00 | ||
avow: ▇▇▇▇▇▇▇▇▇ 142.00 | ||
deferred: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 424.00 | ||
========================================================== | ||
Test: defer-reject x 10000 | ||
---------------------------------------------------------- | ||
avow: ▇▇▇ 50.00 | ||
concurrent: ▇▇▇▇▇ 80.00 | ||
when: ▇▇▇▇▇▇▇▇▇▇ 160.00 | ||
laissez: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 240.00 | ||
q: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 378.00 | ||
========================================================== | ||
Test: defer-sequence x 10000 | ||
---------------------------------------------------------- | ||
laissez: | 7.00 | ||
concurrent: ▇▇▇▇▇▇▇▇▇▇▇ 176.00 | ||
when: ▇▇▇▇▇▇▇▇▇▇▇▇▇ 209.00 | ||
deferred: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 271.00 | ||
avow: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 352.00 | ||
========================================================== | ||
Test: map x 10000 | ||
---------------------------------------------------------- | ||
deferred: ▇▇▇▇▇ 39.00 | ||
concurrent: ▇▇▇▇▇▇▇▇▇▇▇▇▇ 103.00 | ||
when: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 385.00 | ||
========================================================== | ||
Test: reduce-large x 10000 | ||
NOTE: in node v0.8.14, deferred.reduce causes a | ||
stack overflow for an array length >= 610 | ||
---------------------------------------------------------- | ||
concurrent: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 371.00 | ||
when: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 502.00 | ||
``` | ||
You can find more performance results [here](https://github.com/pspeter3/promise-perf-tests) | ||
Overview | ||
@@ -60,0 +138,0 @@ -------- |
41709
245