Coder Social home page Coder Social logo

Comments (2)

pauldendulk avatar pauldendulk commented on June 4, 2024

Analysis

It is counter intuitive that the application gets slower when only one tile needs to be rendered. It should be faster. In fact when zooming out maximally the application hardly responds at all.

I ran all kinds of analysis tools and custom configurations. What seems to be happening is that because everything is faster there are more calls to start and stop the FetchWorkers (which rapidly conclude that there is nothing to fetch). I think the rapid creation and deletion of threads within the worker put a high load on the garbage collector and this disturbed other processes which cascaded things further.

from mapsui.

pauldendulk avatar pauldendulk commented on June 4, 2024

I updated the sample to the most minimal things needed to reproduce the problem. The essential thing is the high number of refresh calls. They are now at 1 million per second. That is pretty extreme and you might argue that this would cause problems in any software, but the remarkable thing is that is does not cause problems at zoom level 5 to 20, but it does at level 1 when rendering takes less time.

from mapsui.

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.