Skip to content

Performance issues on large-ish model #251

@connorivy

Description

@connorivy

Hi,

I'm working on an open-source structural analysis app called beamOS. I've written my own analysis engine, but that's only because I didn't know about this library, which is fantastic, so I am thinking about switching my app to use Pynite and making contributions for any features that I may need.

The issue is that Pynite is pretty slow on the model that I’ve been testing with. I’ve included the code here so you can run it if you’d like. It usually takes about 5 seconds on my machine compared to a couple hundred ms with OpenSees or the engine that I currently have, with similar results.

TwistyBowlFraming.zip

My question is, do you have any recommendations for increasing performance? I’m not super familiar with python so I don’t know the best practices. I know there are JIT compiled versions of python and even python that compiles to C. Have you had success trying any of these with pynite? Or maybe there are some settings in the library that could improve performance?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions