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 performance tests #215

Open
khaeru opened this issue Nov 22, 2019 · 1 comment
Open

Add performance tests #215

khaeru opened this issue Nov 22, 2019 · 1 comment
Labels
ci Continuous integration enh New features & functionality

Comments

@khaeru
Copy link
Member

khaeru commented Nov 22, 2019

Use pytest-benchmark or similar tools to test performance metrics.

The ixmp unit tests use simple models like the Dantzig cannery/transport problem to quickly test basic features. However, ixmp is also used (via message_ix) for MESSAGE-GLOBIOM, in which parameters have up to 14 indices and ~2 million rows. Speed and memory performance is important for these data.

The metrics should include the following:

Miscellanea:

  • It may be difficult to test performance issues due to network speeds and the Oracle database server used by IIASA ENE. e.g. @OFR-IIASA reports that TimeSeries.commit() can be extremely slow in some cases.
@khaeru khaeru added ci Continuous integration enh New features & functionality labels Nov 22, 2019
@khaeru
Copy link
Member Author

khaeru commented Apr 23, 2020

cf. #227 and #298 for memory performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous integration enh New features & functionality
Projects
None yet
Development

No branches or pull requests

1 participant