Giter Site home page Giter Site logo

Comments (2)

juliabeliaeva avatar juliabeliaeva commented on May 27, 2024 1

@ioanasv I think if user selects a commit, they want to see refactorings quickly, and don't want to wait for the queue to process other previously selected commits. Maybe on selection processing of the previous commits could be cancelled, and processing of the new one should start immediately? IntelliJ IDEA does a similar thing for changes in the changes browser, and it works pretty well. However, it requires processing of the selected commit to be cancellable.
If the process of mining refactorings is not cancellable, then maybe a stack with a limited size would fit. This way the newest commits would be processed right away, and the oldest commits would be dismissed if the stack would be too big.

from refactorinsight.

ioanasv avatar ioanasv commented on May 27, 2024

Hello Julia, thank you! This is indeed an issue when there are many commits that are mined at the same time. We were thinking to keep mining them but in a smarter way so that it does not freeze the ui: using a pool and when there are already commits that are mined there, add the job to the pool and wait for others to finish in order to mine the new one. This is done somehow using a queue for the commits that are waiting to be mined. What do you think about it? At the same time, if the user clicks on many commits, usually she/he will not go back to those first commits in the list, so this queueing might not be helpful all the time.

from refactorinsight.

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.