Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

uefi-test-runner: speed up ploting of sierpinski triangle by updating changed pixel only#1209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
phip1611 merged 1 commit intorust-osdev:mainfromJeffLi01:main
Jun 21, 2024

Conversation

JeffLi01
Copy link
Contributor

When only one pixel needs to be updated, there is no need to transfer the entire buffer. After drawing the background in advance, you only need to update each pixel that requires it.

@JeffLi01JeffLi01 changed the titleuefi-test-runner: speed up ploting of sierpinski triangle by updating…uefi-test-runner: speed up ploting of sierpinski triangle by updating changed pixel onlyJun 17, 2024
@phip1611
Copy link
Member

phip1611 commentedJun 17, 2024
edited
Loading

Interesting. May you tell us a little about the background how/where you noticed the slow performance? Are you running everything inside a QEMU without accelerator?

Looks cool and sensible - thanks!

@phip1611phip1611 self-assigned thisJun 17, 2024
@JeffLi01
Copy link
ContributorAuthor

Are you running everything inside a QEMU without accelerator?

Yes, I executed the example within QEMU on my laptop, and it took several tens of seconds for the outline to appear.

… changed pixel onlySigned-off-by: Jeff Li <lijinfeng01@ieisystem.com>
@phip1611
Copy link
Member

I ran it locally on my machine. A notable performance improvement - thanks for your contribution!

JeffLi01 reacted with laugh emoji

@phip1611phip1611 added this pull request to themerge queueJun 21, 2024
Merged via the queue intorust-osdev:main with commit8ea4837Jun 21, 2024
12 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees

@phip1611phip1611

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@JeffLi01@phip1611

[8]ページ先頭

©2009-2025 Movatter.jp