All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] bitbake: knotty/progressbar: Optimize footer update and prints.
@ 2025-01-22 23:24 egyszeregy
  2025-01-22 23:24 ` [PATCH v2 1/4] bitbake: progressbar: Check resizable file descriptor egyszeregy
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: egyszeregy @ 2025-01-22 23:24 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Benjamin Szőke

	s=20181004; d=freemail.hu;

	h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;

	l=845; bh=wCAz1kJFGU6x5XIcVruNfIrdFNZ+cbFWs4l3pbMJK/0=;

	b=F+Iqee6Wp0hEaYJRrNW03FBQHF+WSypPxCENwTDK/4JtMAekPNAUvho6F9wm7hHE

	s4H4t1w7oXaNXyJvJzlzTLx3HtTx5aZIpFrnM49AIEf/iwFffEnEUn3V2+Cm0RskbbM

	MLChdAN5QbJXRgWakwIVRcNkMhKRJP8Tc3IQVqGr/XWqCtfzkzKyiWB5ulqCkKaUBtK

	S9z/DSJZQWtnyuJbx8b40CSajkmkmQx707KIPH2FJKHgvS1uNSck7EzErsrTWFLIi8n

	GL13wFt3XE5avGIqKfxrLF/0RgNEyjk3Gh2B0K/W4b2uY7xI4ewtiiz9AfXsdI8hlqF

	A8zJwDXzPw==
Content-Transfer-Encoding: quoted-printable

From: Benjamin Sz=C5=91ke <egyszeregy@freemail.hu>

- Check file descriptor in ProgressBar() class init to see if it is resiz=
able.
- Optimize printing in footer update with use a StringIO buffer.
- Use 10 Hz refresh rate (FPS) for footer update.
- Cleaning and refactoring prints in code, print() functions were elimina=
ted from all loops for better performance.

Benjamin Sz=C5=91ke (4):
  bitbake: progressbar: Check resizable file descriptor.
  bitbake: knotty: Use a StringIO buffer for update footer.
  bitbake: knotty: Use 10 Hz refresh rate (FPS) for footer update.
  bitbake: knotty: print() was eliminated from all loops for better
    performance.

 lib/bb/ui/knotty.py            | 69 ++++++++++++++++++++++++----------
 lib/progressbar/progressbar.py | 25 +++++++-----
 2 files changed, 66 insertions(+), 28 deletions(-)

--=20
2.47.1.windows.2



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-04-18 13:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-22 23:24 [PATCH v2 0/4] bitbake: knotty/progressbar: Optimize footer update and prints egyszeregy
2025-01-22 23:24 ` [PATCH v2 1/4] bitbake: progressbar: Check resizable file descriptor egyszeregy
2025-01-22 23:58   ` [bitbake-devel] " Richard Purdie
2025-01-22 23:24 ` [PATCH v2 2/4] bitbake: knotty: Use a StringIO buffer for update footer egyszeregy
2025-01-22 23:24 ` [PATCH v2 3/4] bitbake: knotty: Use 10 Hz refresh rate (FPS) for footer update egyszeregy
2025-01-22 23:24 ` [PATCH v2 4/4] bitbake: knotty: print() was eliminated from all loops for better performance egyszeregy
2025-01-23  0:01 ` [bitbake-devel] [PATCH v2 0/4] bitbake: knotty/progressbar: Optimize footer update and prints Richard Purdie
2025-01-25 11:35   ` Livius
2025-01-25 11:37     ` Livius
2025-01-25 11:36     ` Livius
2025-01-25 11:35     ` Livius
2025-04-18 13:56 ` Livius
2025-04-18 13:57   ` Livius

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.