Coder Social home page Coder Social logo

Comments (7)

audev avatar audev commented on July 22, 2024

On the same line, I think shiny updates the map base image when lines are re-rendered, even without panning/zooming. If that is function [updatescene], it accounts for ~60-70% of cpu time.

from pct-shiny.

Robinlovelace avatar Robinlovelace commented on July 22, 2024

@audev interesting. Do you mean 60-70% of cpu on the client or the server side? It's an issue in any case but less of an issue if it's server side because the basemap is served externally.

from pct-shiny.

audev avatar audev commented on July 22, 2024

No, on the client side (no idea on the server). In reality it's just a count of groups of functions on the browser, so no more than a 'relatively' bad proxy.
Top 2 functions: [updateScene], 60% counts (~10% time), and onreadystatechange: 15% counts (~80% time).

from pct-shiny.

usr110 avatar usr110 commented on July 22, 2024

@Robinlovelace Could you deploy the app on the server, and then test it out how is it performing?

from pct-shiny.

usr110 avatar usr110 commented on July 22, 2024

It'd be nice if everyone tests out the recent changes, and then see if it is working.

from pct-shiny.

Robinlovelace avatar Robinlovelace commented on July 22, 2024

@usr110 looks OK to me - just deployed it and restarted shiny-server on geo8.

from pct-shiny.

usr110 avatar usr110 commented on July 22, 2024

@Robinlovelace That's great, thanks!

from pct-shiny.

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.