Git Product home page Git Product logo

Comments (3)

Wuestengecko avatar Wuestengecko commented on September 26, 2024 1

It works but very slowly

That is reassuring to read actually. :)

I found a model where I can repro, although it's not quite as bad as on your side (~8s). It seems that computing the PhysicalComponent.deploying_components becomes very slow very quickly as a model grows, because it has to search the model for backwards references (we currently can't keep track of those properly yet).

For the time being, until a proper solution is in place, I think it makes the most sense to skip these slow attributes in the display logic, so that they have to be displayed explicitly when needed.

from py-capellambse.

Wuestengecko avatar Wuestengecko commented on September 26, 2024

I can't seem to reproduce this with any of our models, displaying objects consistently takes less than a second for me. Could you post the full stack trace of the KeyboardInterrupt from your last screenshot? That should give us a hint at what it was doing that took so long.

from py-capellambse.

core-engineering avatar core-engineering commented on September 26, 2024

Following your comment, I have tried to look at the full stack trace of the KeyboardInterrupt and unfortunetly it is not reproducible. I have tried also to not interrupt the process. It took 1m38s for the instruction model.pa.all_components[0]. So It works but very slowly ! I's true that I have 300 PhysicalComponents in my model. Do you think it is only due to the model size ?

from py-capellambse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.