Skip to content

Performance and Benchmarks #6

Description

@medz
Image

Test Report:

FrameworkTest CaseTime (μs)
reactteravoidablePropagation (success)1246122
reactterbroadPropagation (success)4989682
reactterdeepPropagation (success)3999993
reactterdiamond (fail)14030768
reacttermux (success)1022652
reactterrepeatedObservers (success)9744089
reacttertriangle (success)4518305
reactterunstable (success)7640850
reacttermolBench5896885
reacttercreate_signals13341
reacttercomp_0to113681
reacttercomp_1to199563
reacttercomp_2to172373
reacttercomp_4to185231
reacttercomp_1000to159322
reacttercomp_1to266888
reacttercomp_1to499179
reacttercomp_1to8116368
reacttercomp_1to100047899

Test file: https://github.com/medz/dart-reactivity-benchmark/blob/main/frameworks/reactter.dart

Hi, your library API is well designed👍. But I am benchmarking reactivity in Dart ecosystem, and I found that reactter is running slowly, which may be caused by the following problems:

  1. Extensive use of Set/List leads to increased memory

  2. My integration code is implemented incorrectly.

It is worth noting that when my test runs to 1 to 1000 tests, it cannot continue to run and the program has been locked.

reactter performs well in small scale, but it will be very slow when encountering a scale of more than 100. In addition, reactter has serious memory leak problems.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions