speed up the V8 version comparable to the V7.11
Test the benchmark both on V8.2 and V7.11
Hi, Team, @kisvegabor , @embeddedt
I recently port my APP from v7.11 to v8.2.0 and it works，but found extreme speed down to 0.5 fps where should be 10 fps in v7.11.
There have a scrollable tabview screen with icon on it when boot, and have a full screen img backgroud and 12 img button icon in each of the 2 tabview page…
My APP were created in the event cb of one icon button and based on an obj cover the whole background icon screen as the define below:
my_cont = lv_obj_create(lv_scr_act() );
lv_obj_clear_flag(my_cont , LV_OBJ_FLAG_CLICKABLE);
lv_obj_clear_flag(my_cont ,LV_OBJ_FLAG_SCROLLABLE );
lv_obj_set_size(my_cont , lv_pct(100), lv_pct(100));
lv_obj_set_scroll_snap_y(my_cont , LV_SCROLL_SNAP_CENTER);
lv_obj_set_style_border_width(my_cont , 0, 0);
lv_obj_set_style_pad_all(my_cont , 0, 0);
lv_obj_set_style_bg_color(my_cont , LV_COLOR_BLACK,0);
Note that the whole icon screen is still live but covered by the my_cont when my APP is running.
There have a chart and a canvas in my APP to display a realtime waveform capture from the ADC ,which should be the most costly widget, beside some buttons and labels. The chart and canvas are with 1024 point and cover the 2/3 of the screen and the TFT is 1024*600 resolution.
For comparable, I also replace my APP with the benchmark demo in place both in v7.11 and v8.2.0 and the rectangle score is 15 vs 8 in both case.
I also tried not to create the icon desktop and just run my benchmark in v8.2.0, the rectangle score rise to 60. It seems the icon desktop speed down the APP ,but there are just some button and img and lv_mem_monitor running there.
Any refresh rule changed from v7.11 to v8.2.0? How to speed up ? Would like to have your advice please!