Showing
1 changed file
with
24 additions
and
2 deletions
1 | -# Flutter State Management | 1 | +# Benchmarks |
2 | 2 | ||
3 | -Just a simple benchmark that shows the difference in performance between Get and the other state managers. | 3 | +Start the project, compile in PROFILE MODE (the debug mode is inconsistent for checking benchmarks), open the Dart inspector, and check the amount of ram used. |
4 | + | ||
5 | +To be fair, the test was done twice: after the state changes, and after Dart's garbage collection (by manually pressing the garbage collector on the dart inspect). | ||
6 | + | ||
7 | +Start testing and see for yourself. | ||
8 | + | ||
9 | +## No GC | ||
10 | +Mobx = 4.58 | ||
11 | +Bloc = 4.56 | ||
12 | +Redux = 4.56 | ||
13 | +Bloc-Lib = 4.55 | ||
14 | +Provider = 4.55 | ||
15 | +GetX = 4.53 | ||
16 | +Get = 4.53 | ||
17 | + | ||
18 | +## GC | ||
19 | +Bloc-lib = 4.22 | ||
20 | +Mobx = 4.18 | ||
21 | +Bloc = 4.16 | ||
22 | +Redux = 4.16 | ||
23 | +Provider = 4.15 | ||
24 | +GetX = 4.13 | ||
25 | +Get = 4.14 |
-
Please register or login to post a comment