_Output - print list items performance

I got a very interesting performance while printing list items in the _Output
If the _Outpout is not expanded, it takes about 8 secs, it the panel is expanded, it is about 5 mins.

How does it happen?

  def button_1_click(self, **event_args):
    """This method is called when the button is clicked"""
    list_word_word = self.text_area_1.text.split()
    for word in list_word_word:
      print (word)