Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text SVG creation on Intel MacOS hogs the whole system for 10+ seconds #1961

Closed
k1mmm opened this issue Jan 10, 2023 · 3 comments
Closed

Text SVG creation on Intel MacOS hogs the whole system for 10+ seconds #1961

k1mmm opened this issue Jan 10, 2023 · 3 comments
Labels
Missing repro This issue need minimum repro scenario

Comments

@k1mmm
Copy link

k1mmm commented Jan 10, 2023

Bug

Creating a text SVG on MacOS freezes the system on Intel processor for 10+ seconds.

@bohdanprog
Copy link
Member

Hello @k1mmm,
Can you share a simple example to reproduce that issue?
Thank you

@bohdanprog bohdanprog added Missing repro This issue need minimum repro scenario Close when stale This issue is going to be closed when there is no activity for a while labels Jun 19, 2024
@k1mmm
Copy link
Author

k1mmm commented Jun 19, 2024

Hello @bohdanprog, as I no longer have an Intel Mac so I cannot demonstrate the issue, but I've forked the repo and solved the issue in this commit: k1mmm@6d0e7ba

I found the issue in "addUIBlock" that sometimes took over 10seconds to resolve, and I know my approach is not optimal since we need to wait for the UI block to get the bounds etc. This was back when I was using react-native-macos 0.71 or 0.70.0 I think, so it might been fixed since then =)

@github-actions github-actions bot removed the Close when stale This issue is going to be closed when there is no activity for a while label Jun 19, 2024
@bohdanprog
Copy link
Member

@k1mmm we have closed that issue.
If you find any problems again, please don't hesitate to open a new issue.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing repro This issue need minimum repro scenario
Projects
None yet
Development

No branches or pull requests

2 participants