Git Product home page Git Product logo

Comments (4)

JohnVillalovos avatar JohnVillalovos commented on July 20, 2024

Update. So if I comment out schedule.init(); [1] then the page loads just fine. So to me it points at the JavaScript being the issue. I was able to load a whole week schedule with over 1,000+ resources and the browser didn't lag.

Of course it isn't usable this way as I can't make reservations πŸ˜„

[1]

schedule.init();

from app.

JohnVillalovos avatar JohnVillalovos commented on July 20, 2024

As a note I checked out the Web/scripts/scheduler.js file from commit c90f62f

And using that version things are much improved on performance for me. No idea if that will break something, but so far in very limited testing it is working.

Update: Performance did improve but not greatly.

from app.

JohnVillalovos avatar JohnVillalovos commented on July 20, 2024

Even with the old Web/scripts/scheduler.js performance is still not to the level version 2.7.7.

But version 2.7.7 is much much faster. Where the develop branch took around 120 seconds to load approximately 300 resources. 2.7.7 took around 5 seconds.

And 2.7.7 can load 1200 resources in 27 seconds. develop branch takes many minutes to load.

from app.

JohnVillalovos avatar JohnVillalovos commented on July 20, 2024

So the reason 2.7.7 (88d4673) is so much faster, is that the server side PHP will populate the reservations in the HTML that is sent down.

In the current version the JavaScript will populate the reservations and it is slow...

from app.

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.