Git Product home page Git Product logo

changenotifier_benchmark's Introduction

Hi there ๐Ÿ‘‹

changenotifier_benchmark's People

Contributors

escamoteur avatar kavantix avatar knaeckekami avatar letsar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

changenotifier_benchmark's Issues

Add stream benchmarks

Hi,

I know this is not exactly within the scope of benchmarking change notifier solutions but it is super interesting to see the tradeoffs with using streams as well. I believe the micro benchmark from getx was including some stream solutions and it was super interesting to see the results but the display of them was really poor and the broken english did not exactly help communicate those.

The 2 dimensions micro benchmark you put in place is much cleaner in that regard and the output table format is pretty clear.

Would love to see how stream implementations compare.

Measure memory consumption

When looking at the benchmark, we focus essentially on performance on the scale of how fast we can notify listeners but on constrained devices like mobiles, especially when you are trying to target as many of them and not just the latest generation, memory footprint is essential.

I was wondering if there is any way to measure and compare this between solutions ? I did not look into the implementations but it's common that one way to speed up things is to memoize / index and it usually come at the expense of memory so while one solution might be faster than another it might put too much pressure on the memory.

Just trying to open the conversation and see what is the general consensus on this subject. I believe I read that the author of getx was particularly surprised to notice how much memory the default stream implementation is consuming for example and that was what probably motivated him to develop some alternate stream solutions.

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.