Git Product home page Git Product logo

Comments (5)

christianalfoni avatar christianalfoni commented on May 20, 2024

Actually it does not compute the complete signal, but each action is computed. But if an action is async it does not really matter to compute the next actions because now you are running on a new animation frame again. BTW, note to self. After async action it does not wait for next animation frame, which it should.

Anyways, I am not quite sure how to display a duration of a signal when parts of it is async. Maybe show duration on each action instead and just the accumulated result at the top?

from cerebral.

ksmth avatar ksmth commented on May 20, 2024

Maybe you visualize which actions took place in what animation frame an sum that up?

+------------------------------------+
| app mounted (34ms)                 | <--- total
|+----------------------------------+|
|| 12ms                             || <--- everything up to the next async
|| - 1. setLoadingProjects -        ||
|+----------------------------------+|
|+----------------------------------+|
|| 26ms                             || <--- next group
|| - 2. getProjects (async) -       ||
|| - 3. setProjects -               ||
|| - 4. setProjectRows -            ||
|+----------------------------------+|
+------------------------------------+

from cerebral.

christianalfoni avatar christianalfoni commented on May 20, 2024

Yeah, that would look awesome, have to wait until I get next release out first though. But will work on it next. Great suggestion, thanks!

from cerebral.

christianalfoni avatar christianalfoni commented on May 20, 2024

Want to get a new release out before going into this stuff. It required quite a bit of work and there are more urgent matters to attend, though it will be implemented later :-)

from cerebral.

christianalfoni avatar christianalfoni commented on May 20, 2024

Duration is now fixed

from cerebral.

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.