Skip to content

Conversation

@LocalIdentity
Copy link
Contributor

This is the first and safest addition for reducing the load time of the gem DPS sort
There's no need to generate all of the tooltips when trying to sort the list by DPS.
Instead of pre-generating 200 gem tooltips, it's better to generate them when hovering over the gem as each one only takes ~2-10ms
This PR also removes support gems that add effects to buff gems from being included in the sort list
e.g. Clarity II was checked for DPS despite never being able to support a skill like Arc directly

Link to a build that showcases this PR:

https://maxroll.gg/poe2/pob/hx16gt0c

Before screenshot:

image

After screenshot:

image

~220ms improvement on Fresh load
~200ms improvement after JIT cache is warm

This is the first and safest addition for reducing the load time of the gem DPS sort
There's no need to generate all of the tooltips when trying to sort the list by DPS.
Instead of pre-generating 200 gem tooltips, it's better to generate them when hovering over the gem as each one only takes ~2-10ms
This PR also removes support gems that add effects to buff gems from being included in the sort list
e.g. Clarity II was checked for DPS despite never being able to support a skill like Arc directly
@LocalIdentity LocalIdentity added pob1 Should also be merged into PoB1 Repo bug: behaviour Behavioral differences labels Oct 16, 2025
@LocalIdentity LocalIdentity merged commit 845e64b into dev Oct 25, 2025
3 checks passed
@LocalIdentity LocalIdentity deleted the fix_gem-tooltip-load branch October 25, 2025 22:11
github-actions bot pushed a commit to PathOfBuildingCommunity/PathOfBuilding that referenced this pull request Oct 26, 2025
LocalIdentity added a commit to PathOfBuildingCommunity/PathOfBuilding that referenced this pull request Oct 30, 2025
…#9049)

* Apply changes from PathOfBuildingCommunity/PathOfBuilding-PoE2#1504

* Fix merge issue

---------

Co-authored-by: LocalIdentity <LocalIdentity@users.noreply.github.com>
Co-authored-by: LocalIdentity <localidentity2@gmail.com>
@LocalIdentity LocalIdentity changed the title Load Gem tooltips on hover instead of when sorting my DPS Load Gem tooltips on hover instead of when sorting by DPS Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug: behaviour Behavioral differences pob1 Should also be merged into PoB1 Repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants