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

[BUG] Poor performance with Python 3.13 on Windows #655

Open
tsmbland opened this issue Feb 4, 2025 · 1 comment
Open

[BUG] Poor performance with Python 3.13 on Windows #655

tsmbland opened this issue Feb 4, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@tsmbland
Copy link
Collaborator

tsmbland commented Feb 4, 2025

I've noticed that the regression tests for Python 3.13 on Windows take way longer than the others. Similar thing when I run models locally on my Windows machine with Python 3.13 - much slower than other Python versions!

@tsmbland tsmbland added the bug Something isn't working label Feb 4, 2025
@github-project-automation github-project-automation bot moved this to 📋 Backlog in MUSE Feb 4, 2025
@tsmbland tsmbland changed the title [BUG] Poor performance on with Python 3.13 on Windows [BUG] Poor performance with Python 3.13 on Windows Feb 4, 2025
@jamshid-yakhshilikov
Copy link

jamshid-yakhshilikov commented Feb 18, 2025

Since this is about performance, I’d like to share some observations with MUSE.

MUSE 1.3.3 runs slower than the previous version on the same model (the only difference in the model was the TOML file, where foresight and forecast were removed, and interpolation_mode = "nearest").

Also, MUSE 1.3.1 runs slower with SciPy 1.15.0 and later. Moreover, with xarray 2025.01.0 or later, it raises a KeyError if the SearchRule of the agent is changed. I'm not sure if this is the actual cause of the performance issue. I accidentally updated xarray, although it is suggested to use version "xarray>=2024.6,<=2024.11". 😊

I'm using Windows 11 with Python 3.13, but the performance is similar on other machines with Python 3.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants