Giter Site home page Giter Site logo

Performance report about godsvg HOT 1 OPEN

MewPurPur avatar MewPurPur commented on July 19, 2024
Performance report

from godsvg.

Comments (1)

MewPurPur avatar MewPurPur commented on July 19, 2024

My current ideas are:

  • Multiline drawing can be optimized by using the built-in method in Godot 4.3
  • PathData should become something like 2x faster when the performance of match in GDScript gets addressed by the Godot contributor gang. Other than that, we may still be able to get minor gains from optimizing the logic. The biggest thing would be interoping with C++, which appears to be a bit of an undocumented hassle.
  • Inspector rebuilding could maybe be optimized a little more too, by drawing things before they are really added.
  • Lazy loading would be useful in the inspector, if we can get it to work.
  • It might be smart to not draw path commands until they are on screen.
  • It might be possible to draw path commands (which are just a bunch of the same stylebox) more efficiently.
  • Polylines can maybe be optimized by grouping them up (they are currently one per command, but for example, a lot of consecutive lines can be made into a single polyline)
  • Multithreading; but for now, the only idea for multithreading I have is for the graphic - which can be split into smaller strips.

from godsvg.

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.