You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf: Cache jstrings during metrics collection (#1029)
* Attempt at caching Jstrings as GlobalRefs in a HashMap to reduce reallocations. I need to confirm 1) there's actually a performance benefit to this, and 2) these GlobalRefs are being released when I want them to be.
* Minor refactor and added more docs.
* Undo import reordering to reduce diff.
* Docs.
* Avoid get() by just cloning the Arc to globalref on insert.
* Store jstring cache in ExecutionContext.
0 commit comments