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

Add option to disable JIT #6644

Merged
merged 4 commits into from
Sep 13, 2023
Merged

Conversation

Lancej
Copy link
Contributor

@Lancej Lancej commented Sep 11, 2023

Description of the problem being solved:

PoB runs very slow for some people as described in #6287. This adds a "--no-jit" command line option to disable JIT that might help with some of these issues. Can remove the option if it ends up not being useful.

Turning off JIT doesn't seem to hurt speed much. I tried "Show Node Power" and it took 23 seconds with JIT and 25 seconds without even with letting JIT have some warmup runs first.

Steps taken to verify a working solution:

  • Checked that command line option disables JIT

Edit: Removed GUI option, replaced with command line option "--no-jit"

@Wires77
Copy link
Member

Wires77 commented Sep 13, 2023

Might be better to have people from that issue copy the Main.lua from this branch directly if they're at all technical.

@LocalIdentity LocalIdentity added the enhancement New feature, calculation, or mod label Sep 13, 2023
Copy link
Member

@Wires77 Wires77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't work when people open directly pob: links, but I think that's fine for now. If nothing else they can edit the registry entry if they need both.

@Wires77 Wires77 merged commit 810afde into PathOfBuildingCommunity:dev Sep 13, 2023
shafouz pushed a commit to shafouz/PathOfBuilding that referenced this pull request Dec 8, 2023
* Add option to disable JIT

* Revert GUI option

* Add --no-jit command line option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, calculation, or mod
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants