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

Improve performance forproofread_canonicals()#258

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
AA-Turner merged 2 commits intomainfromproofread-perf
Apr 11, 2025
Merged

Conversation

AA-Turner
Copy link
Member

Currently,proofread_canonicals() takes c. 4-5 minutes, with the vast majority of time spent reading the files from disk. This PR improves performance to c. 100-120 seconds by using multiple threads to check the files. We also switch to byte methods overre for another slight improvement, avoiding Unicode encoding/decoding.

A

@AA-TurnerAA-Turner requested a review fromhugovkApril 11, 2025 04:27
@AA-TurnerAA-Turner merged commite80b729 intomainApr 11, 2025
6 checks passed
@AA-TurnerAA-Turner deleted the proofread-perf branchApril 11, 2025 13:10
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@hugovkhugovkhugovk approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@AA-Turner@hugovk

[8]ページ先頭

©2009-2025 Movatter.jp