GithubHelp home page GithubHelp logo

Sprite Drawing Benchmark about rguplayer HOT 3 OPEN

Nathan-MV avatar Nathan-MV commented on June 21, 2024
Sprite Drawing Benchmark

from rguplayer.

Comments (3)

Admenri avatar Admenri commented on June 21, 2024 1

Thank you for the test code. I tested it with my 3050 graphics card, and it can run 20,000 sprites at a full 60 FPS, but drops to about 30 FPS with 50,000 sprites. However, I don't plan to pursue extremely high performance since my time is limited, so I might lean more towards compatibility and extensibility.

from rguplayer.

Admenri avatar Admenri commented on June 21, 2024 1

The engine has just reached a stable phase. In the early stages of development, I skipped many optimization steps to save development time. Perhaps it's time to start optimizing soon.

from rguplayer.

Nathan-MV avatar Nathan-MV commented on June 21, 2024

Updated my benchmarks

mkxp-z can draw 10k at 26 fps, with YJIT it can draw 20k at 34 fps (YJIT was tested with Linux)
mkxp-z with Angle (Direct3D) can draw 10k at 39 fps and Angle (Vulkan) at 44 fps, with YJIT
 and Angle (Direct3D) it can draw 20k at 19 fps and Angle (Vulkan) at 24 fps (YJIT was tested with Linux)

RGD can draw 10k at 39 fps, with batch drawing it can draw 10k at 49 fps (RGD 1.5.4 is faster than the experimental 1.6.1)
RGU with any Angle options can draw 10k at 19 fps (The new build released a day ago)
RGM can draw 50k with 33 fps

LiteRGSS2 can draw 60k at 42 fps

I assume that RGM performance at it is because of Centurion? (I mean everything is just using SDL2 minus LiteRGSS2)
https://github.com/albin-johansson/centurion
YJIT is just a matter of building Ruby with Rust installed and using --yjit to start Ruby, but only works on MacOS and Linux

from rguplayer.

Related Issues (12)

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.