Code Monkey home page Code Monkey logo

Comments (6)

matAtWork avatar matAtWork commented on August 21, 2024

I'd really like to find out. Is it possible to get a bit more of the stack trace?

from fast-async.

Rush avatar Rush commented on August 21, 2024

Unfortunately there is no more stacktrace.

from fast-async.

MatAtBread avatar MatAtBread commented on August 21, 2024

Can you provide a minimal case that produces the same message?

from fast-async.

matAtWork avatar matAtWork commented on August 21, 2024

If you can pin this down to a minimal case, please let me know, otherwise I'll close it in a day or two as not-reproducible. Thanks.

from fast-async.

Rush avatar Rush commented on August 21, 2024

Weirdly enough, after applying the fix from #29 this issue went away. Sorry for not providing a small reproducible test-case as it was not trivial. I will re-open this issue if stumble upon this problem again.

Thanks for all the good work and have a great weekend.

PS. I'm getting about 4x speed up vs babel+bluebird for some recurring operations in my application. Great project. :)
PS2. I also quickly benchmarked native async/await in Node 7 and it appears it's around 10% slower than babel+bluebird. It appears fast-async will not stop being relevant.

from fast-async.

matAtWork avatar matAtWork commented on August 21, 2024

Yep, still a long way to go to get generators faster. With node v7, raw performance results still favour nodent by about 3 times:

node --harmony-async-await ./nodent.js tests tests/semantics/perf.js
Total compile time: 214ms
- Test: perf using promiscuous


                                                      {es7:true}          nodent          native        bluebird            rsvp            when   promisejs.org     promiscuous
                  Compiler flags            Mean             159             413             576             539             443             445             406             929
               lazyThenables,es7             100             100               -               -               -               -               -               -               -
                             es7             143             143               -               -               -               -               -               -               -
     lazyThenables,wrapAwait,es7             223             223               -               -               -               -               -               -               -
                   wrapAwait,es7             170             170               -               -               -               -               -               -               -
                        promises             374               -             148             542             386             255             238             154             893
              promises,noRuntime             335               -             123             497             339             214             195             133             846
              wrapAwait,promises             502               -             181             534             448             256             268             177            1652
    wrapAwait,promises,noRuntime             442               -             161             495             393             217             222             155            1450
                      generators             779               -             802             767             846             704             711             684             936
            wrapAwait,generators             831               -             658             773             863             701             725             682            1414
                 engine,promises             525               -             519             536             532             519             520             514             533
       engine,promises,noRuntime             524               -             513             533             531             521             521             526             526
       engine,wrapAwait,promises             522               -             514             536             522             520             519             517             524
ine,wrapAwait,promises,noRuntime             525               -             513             544             528             521             531             522             516

Benchmark execution time: 0.860078 ms

from fast-async.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.