benchmarks/compose.js
function createFunctions() {
  const result = [];
  for (let i = 0; i < count; i++) {
    result.push(number => Promise.resolve(number + 1));
  }
  return result;
}
function createFunctions() {
  const result = [];
  for (let i = 0; i < count; i++) {
    result.push(number => Promise.resolve(number + 1));
  }
  return result;
}
function createFunctions ( ) { const result = [ ] ; for ( let i = 0 ; i < count ; i ++ ) { result . push ( number => Promise . resolve ( number + 1 ) ) ; } return result ; }
100000 functions handled in 267 ms
100000 functions handled in 267 ms