async.filter.html" rel="nofollow">filter
  • filterSeries
  • filterLimit
  • select -> filter
  • selectSeries -> filterSeries
  • selectLimit -> filterLimit
  • reject
  • rejectSeries
  • rejectLimit
  • detect
  • detectSeries
  • detectLimit
  • find -> detect
  • findSeries -> detectSeries
  • findLimit -> detectLimit
  • pick *
  • pickSeries *
  • pickLimit *
  • omit *
  • omitSeries *
  • omitLimit *
  • reduce
  • inject -> reduce
  • foldl -> reduce
  • reduceRight
  • foldr -> reduceRight
  • transform
  • transformSeries *
  • transformLimit *
  • sortBy
  • sortBySeries *
  • sortByLimit *
  • some
  • someSeries
  • someLimit
  • any -> some
  • anySeries -> someSeries
  • anyLimit -> someLimit
  • every
  • everySeries
  • everyLimit
  • all -> every
  • allSeries -> every
  • allLimit -> every
  • concat
  • concatSeries
  • concatLimit *
  • Control Flow

    Utils

    Mode

    Benchmark

    Benchmark: Async vs Neo-Async

    How to check

    $ git clone git@github.com:suguru03/async-benchmark.git
    $ cd async-benchmark
    $ npm install
    $ node . // It might take more than one hour...
    

    Environment

    Result

    Neo-Async is 1.27 ~ 10.7 times faster than Async.

    The value is the ratio (Neo-Async/Async) of the average speed.

    Collections

    function benchmark func-comparator
    each 3.71 2.54
    eachSeries 2.14 1.90
    eachLimit 2.14 1.88
    eachOf 3.30 2.50
    eachOfSeries 1.97 1.83
    eachOfLimit 2.02 1.80
    map 4.20 4.11
    mapSeries 2.40 3.65
    mapLimit 2.64 2.66
    mapValues 5.71 5.32
    mapValuesSeries 3.82 3.23
    mapValuesLimit 3.10 2.38
    filter 8.11 8.76
    filterSeries 5.79 4.86
    filterLimit 4.00 3.32
    reject 9.47 9.52
    rejectSeries 7.39 4.64
    rejectLimit 4.54 3.49
    detect 6.67 6.37
    detectSeries 3.54 3.73
    detectLimit 2.38 2.62
    reduce 4.13 3.23
    reduceRight 4.23 3.24
    transform 5.30 5.17
    sortBy 2.24 2.37
    some 6.39 6.10
    someSeries 5.37 4.66
    someLimit 3.39 2.84
    every 6.85 6.27
    everySeries 4.53 3.90
    everyLimit 3.36 2.75
    concat 9.18 9.35
    concatSeries 7.49 6.09

    Control Flow

    funciton benchmark func-comparator
    parallel 7.54 5.45
    series 3.29 2.41
    waterfall 5.12 4.27
    whilst 1.96 1.95
    doWhilst 2.07 1.96
    until 2.10 1.99
    doUntil 1.98 2.04
    during 10.7 7.09
    doDuring 5.98 6.03
    queue 1.83 1.75
    priorityQueue 1.79 1.75
    times 3.84 3.65
    race 1.45 1.27
    auto 3.23 3.50
    retry 9.43 6.78
    Kodo/kodo - Gogs: Go Git Service

    19 Commissions (e77d05ac040b27dfef3c7670c8dae365fcaa8307)

    Auteur SHA1 Message Date
      Brightcells f3cf68f957 Add PAI2_HOME_WX_API for request.weixin 7 ans auparavant
      Brightcells a6195fa70d Add outtake lensman 7 ans auparavant
      Brightcells 2a054aa566 Fix Bug: photo_url error 8 ans auparavant
      Brightcells ad503a9078 User should not see photo of group which groupuser is false at home 8 ans auparavant
      Brightcells 14d5d63e3b Add nomark/origin price for GroupPhotoInfo 8 ans auparavant
      Brightcells ba2c19f73e Change rawsql pk to photo_id 8 ans auparavant
      Brightcells 7111961986 Return session_id in api pai2_home_api 8 ans auparavant
      Brightcells c12df969e1 add origin_expired_stamps 9 ans auparavant
      Brightcells 3253541b10 change to exec raw sql from django.db.connection to records 9 ans auparavant
      Brightcells 084a5eece8 order ruler: date/self/7*thumbup_num+3*comment_num/id 9 ans auparavant
      Brightcells de60d59c26 order ruler: date/self/thumbup_num/id 9 ans auparavant
      Brightcells f684a1d89c order ruler: date/self/thumbup_num 9 ans auparavant
      Brightcells 5bf645c33d change order ruler for paiai home, user_id self upload first 9 ans auparavant
      Brightcells d64b3c216b add and return photo_thumbnail2 relative 9 ans auparavant
      Brightcells ec142555be return group_from for pai2_home_api 9 ans auparavant
      Brightcells dbea356558 add photo_from field for GroupPhotoInfo and return photo_from for some api 9 ans auparavant
      Brightcells 537bd9bd41 add api group_quit_api 9 ans auparavant
      Brightcells 78e4e238a7 GroupUserInfo.user_status == GroupUserInfo.DELETED & error status code 9 ans auparavant
      Brightcells f7d159714f Fix Bug: PAI2_HOME_API error 9 ans auparavant