-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$500] [HOLD for payment 2024-03-07] [Performance] Use Intl Collator instead of the string localeCompare #36795
Comments
Hi @mountiny 👋 |
Follow up from the PR:
@kacper-mikolajczak would look into this tomorrow |
We can wait a bit, we saw that there are performance gains in the tests and your analysis. How do you want to measure that there are some improvements thanks to this? |
If that is enough of evidence, we can swap out other occurrences as well (additionally ensuring that we don't introduce any regressions). I can prepare PR for that 👍
The next phase of the audit ( |
Yeha I dont think we would want to wait this long for that |
@mountiny Agree, we should integrate this right away. I'm OOO tomorrow but we'll sync up internally on how to address this! It definitely needs to stay in check, this function runs ~250k times during the startup if I recall correctly :) |
@mountiny the PR has been deployed to Prod since last week. Could you help to add Bug label or Feature so a BZ member can be added to process payment? Thanks |
Triggered auto assignment to @zanyrenney ( |
Job added to Upwork: https://www.upwork.com/jobs/~01af6fd0b61753f3bb |
Current assignee @hoangzinh is eligible for the External assigner, not assigning anyone new. |
@zanyrenney this is ready for payment $500 to @hoangzinh |
please apply to the job on upwork @hoangzinh |
Applied. Thanks @mountiny @zanyrenney |
sent offer |
Accepted. Thanks @zanyrenney |
payment summary paid $500 via upwork to @hoangzinh |
Coming from Slack
### Problem
Lots of app critical metrics (TTI, input delay etc.) are hindered because of weak performance inside Prototype.string.localeCompare function in Hermes engine.
### Solution
Based on Hur's investigations, we can improve performance by swapping out localeCompare with Intl.Collator implementation.
More details are available in the linked analysis issue.
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: