Advertisement
Guest User

Untitled

a guest
Apr 17th, 2015
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. [kris.re@krisre data.task]$ make benchmark
  2. cd test/benchmarks && npm install
  3. node test/benchmarks/runner
  4.  
  5. Benchmarks for: Serial (light tasks)...
  6.  
  7. o Callbacks (baseline) x 830 ops/sec ±0.80% (126 runs sampled)
  8. o Callbacks (Async) x 809 ops/sec ±0.70% (124 runs sampled)
  9. o Tasks (Data.Future) x 821 ops/sec ±0.79% (124 runs sampled)
  10. o Promises/A+ (Bluebird) x 767 ops/sec ±0.97% (120 runs sampled)
  11. o Promises/A+ (Bluebird - modified) x 792 ops/sec ±0.82% (123 runs sampled)
  12.  
  13. Fastest: Callbacks (baseline)
  14. Slowest: Promises/A+ (Bluebird)
  15.  
  16. ---
  17.  
  18. Benchmarks for: Serial (mixed sync/light tasks)...
  19.  
  20. o Callbacks (baseline) x 836 ops/sec ±0.72% (126 runs sampled)
  21. o Callbacks (Async) x 786 ops/sec ±0.70% (121 runs sampled)
  22. o Tasks (Data.Future) x 799 ops/sec ±1.01% (123 runs sampled)
  23. o Promises/A+ (Bluebird) x 735 ops/sec ±0.89% (118 runs sampled)
  24. o Promises/A+ (Bluebird - modified) x 781 ops/sec ±0.76% (121 runs sampled)
  25.  
  26. Fastest: Callbacks (baseline)
  27. Slowest: Promises/A+ (Bluebird)
  28.  
  29. ---
  30.  
  31. Benchmarks for: Serial (all synchronous)...
  32.  
  33. o Callbacks (baseline) x 808 ops/sec ±1.34% (124 runs sampled)
  34. o Callbacks (Async) x 672 ops/sec ±1.43% (112 runs sampled)
  35. o Tasks (Data.Future) x 705 ops/sec ±1.84% (115 runs sampled)
  36. o Promises/A+ (Bluebird) x 700 ops/sec ±1.06% (114 runs sampled)
  37. o Promises/A+ (Bluebird - modified) x 816 ops/sec ±0.91% (124 runs sampled)
  38.  
  39. Fastest: Promises/A+ (Bluebird - modified), Callbacks (baseline)
  40. Slowest: Callbacks (Async)
  41.  
  42. ---
  43.  
  44. Benchmarks for: Parallel...
  45.  
  46. o Callbacks (baseline) x 88.22 ops/sec ±0.17% (58 runs sampled)
  47. o Callbacks (async) x 88.10 ops/sec ±0.15% (58 runs sampled)
  48. o Tasks (Data.Future) x 88.07 ops/sec ±0.14% (58 runs sampled)
  49. o Promises/A+ (Bluebird) x 87.91 ops/sec ±0.16% (58 runs sampled)
  50. o Promises/A+ (Bluebird - modified) x 87.82 ops/sec ±0.22% (58 runs sampled)
  51.  
  52. Fastest: Callbacks (baseline)
  53. Slowest: Promises/A+ (Bluebird - modified), Promises/A+ (Bluebird)
  54.  
  55. ---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement