Code Monkey home page Code Monkey logo

Comments (5)

NamelessCoder avatar NamelessCoder commented on July 3, 2024

Hi Fabien,

I'll take a look what cachegrind has to say. It could very well be an issue with caching - I'll let you know what I find :)

Cheers,
Claus

from flux.

fabarea avatar fabarea commented on July 3, 2024

Thanks, Claus.

While checking #92, could you also test the following action on the Bootstrap Package:

  • create a new page
  • delete a page
  • hide a page
  • create a new content
  • delete a content

The same operations can be done on http://demo.typo3.org/typo3/. From my end, I notice a sensible difference of speed.

from flux.

NamelessCoder avatar NamelessCoder commented on July 3, 2024

Some progress: inheritance is related here; the page rootline is now being considered and this does add quite a bit of load.

So far I've been able to cut execution time as well as number of functions called by each ~45% by implementing one missing cache case. The internal cache seems to really save time when working with big page trees but it does require some "warming" before the benefit kicks in (which should be, I estimate, somewhere around the 2nd or 3rd page being inspected in the rootline).

I'll keep cutting here but 45% so far isn't bad at all :)

from flux.

NamelessCoder avatar NamelessCoder commented on July 3, 2024

Hi Fabien,

How is the latest git master working out on your tests? When working locally I managed to shave off a bit more than 50% of rendering time but that could very well be slower on servers with a bit of load, or faster on sites that use many templates in the page rootline (which should definitely speed up a lot more than what I noticed locally).

Hope it helps. I'm sure there is more performance to gain but if it is acceptable (somewhere around the level before the inheritance feature arrived) I think we should close this issue - and in the future perhaps reopen one when we have identified other places to optimise. What say you? :)

Cheers,
Claus

from flux.

fabarea avatar fabarea commented on July 3, 2024

I am seconding the performance gain. Content Elements management look faster, indeed. Creating a page in the page tree seems the slowest action for me surprisingly enough.

from flux.

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.