Why the period of lv_task will be slow

Description

The task_1 will print message per 1s, as below:
lv_task_create(task_1, 100, LV_TASK_PRIO_MID, NULL);
void task_1(lv_task_t * task_1)
{
char buffer[20];
if(count<10)
count++;
else{
count=0;
printf(“c1\n”);
}
}

Then, if I update a label text in the task, the print period will be slower than 1s ( nearly 3s in my platform)
void task_1(lv_task_t * task_1)
{
char buffer[20];
if(count<10)
count++;
else
{
count=0;
printf(“c1\n”);
}
sprintf(buffer, “%d”, count);
lv_label_set_text(label, buffer);
}
So, does it mean that flushing screen will slow the task in LVGL, and how to let the code print per 1s and update label text per 0.1s in the task_1. Thanks!

What MCU/Processor/Board and compiler are you using?

STM32f103

What do you want to achieve?

What have you tried so far?

Code to reproduce

Add the relevant code snippets here.

The code block(s) should be between ```c and ``` tags:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.