Coder Social home page Coder Social logo

Comments (5)

chrisjsewell avatar chrisjsewell commented on June 1, 2024 3

I'm wondering if there are any additional configurations we could adjust to further improve the build time.

Been looking into this a bit for sphinx-needs: useblocks/sphinx-needs#967 (comment)

One thing is to set: smartquotes = False as that is a big time kill (although in the newest docutils release I added some improvements to this)

Also looking to eventually improve multi-processing performance: #11746

Happy to hear about more reports like this though!

from sphinx.

AA-Turner avatar AA-Turner commented on June 1, 2024

What happens if you disable it?

https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-toc_object_entries

toc_object_entries = False

A

from sphinx.

surya-sigtech avatar surya-sigtech commented on June 1, 2024

Just tried disabling it by adding it to my conf.py.
Using latest sphinx version, it's working πŸ‘
Thanks man!! @AA-Turner

Build time now is approx 4min 50sec (lot better then before)

However, It's taking a bit more time while reading sources with new versions (not sure after which one).

from sphinx.

surya-sigtech avatar surya-sigtech commented on June 1, 2024

I'm wondering if there are any additional configurations we could adjust to further improve the build time.

With disabling the toc_object_entries flag for my project,

  • Prior to version <6.0.0, the build time averaged around 2min 30 sec
  • However, after version >=6.0.0, it increased ranging from 4min 50sec to 5min 50sec (approximately twice as before).

Any insights on potential configuration adjustments or optimizations would be greatly appreciated.

from sphinx.

surya-sigtech avatar surya-sigtech commented on June 1, 2024

Appreciate the pointers, @chrisjsewell

I've taken a look at the other issues you mentioned, yet I'm still struggling to pinpoint what's causing such a drastic increase in build time with the latest versions. I've noticed a substantial slowdown with sphinx-build post version 6.0.0, with the build process now taking more than twice as long as it did previously.

This slowdown is concerning, as we'd like to leverage the latest features, but the performance hit is making it impractical. Any further insights will be really helpful.

from sphinx.

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.