Giter Club home page Giter Club logo

themabus / get-the-balance-right Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.59 MB

Simple game engine CPU strain benchmark with a tiny raytracer

Go 0.63% HTML 10.14% Game Maker Language 10.65% NSIS 6.15% Python 3.19% C# 6.24% GDScript 5.16% Lua 3.59% xBase 8.27% BlitzBasic 4.25% BlitzMax 3.83% Assembly 4.62% Monkey 7.13% JavaScript 3.58% Makefile 0.36% Pascal 10.61% Yacc 11.62%
benchmark csharp defold gamemaker gdscript gml gms1 gms2 godot godot3

get-the-balance-right's Introduction

Get-the-Balance-Right

This is 256 line C++ tinyraytracer by Mr. Dmitry V. Sokolov (ssloy) ported to several higher level game engines.
Some older ones (but still quite popular) and some more recent ones.
original
All projects are made to display execution time in milliseconds, so that performance could be measured.
Operations include: trigonometry, vector math and data structure handling.
It is unoptimized - no lookup tables, no fixed-point, inlining, etc.,
which presents more life-like model and evens out the playing field.
Shaders are not used.
Drawing routines are not timed.

engine time(ms) size(kb) open source
C++ (original - file output) 350 61 ๐ŸŒ
GML
Game Maker 6.1 (patched) 251400 1933 ๐ŸŒ‘
Game Maker 7.0 256000 2316 ๐ŸŒ‘
Game Maker 8.0 109000 2341 ๐ŸŒ‘
Game Maker 8.1 113100 4143 ๐ŸŒ‘
Enigma 0.0.5.0 65500 2859 ๐ŸŒ
OpenGMK 64000 +6709 ๐ŸŒ
GameMaker Studio 1.4 (VM) 40900 6409 ๐ŸŒ‘
GameMaker Studio 1.4 (YYC) 7900 6139 ๐ŸŒ‘
GameMaker Studio 1.4 (HTML5) 2600 1127 ๐ŸŒ‘
GameMaker Studio 2.2.5 (VM) 38800 4939 ๐ŸŒ‘
GameMaker Studio 2023.8.1 (VM) 51000 12283 ๐ŸŒ‘
GameMaker Studio 2023.8.1 (HTML5) 18100 2331 ๐ŸŒ‘
DIV
BennuGD r348 15100 4366 ๐ŸŒ
PixTudio 2016.12.16 15800 22346 ๐ŸŒ
Basic / Basiclike
AppGameKit 2023.01.26 (Tier 1) 47900 7632 ๐ŸŒ‘
Blitz3D 1.110 1200 1510 ๐ŸŒ
BlitzMax 1.50 600 1571 ๐ŸŒ
BlitzMax NG 0.136 980 3794 ๐ŸŒ
Monkey-X 87a (GCC) 1800 1636 ๐ŸŒ
Monkey-X 87a (HTML5) 750 104 ๐ŸŒ
Cerberus-X 2023-05-26 (GCC) 1800 2840 ๐ŸŒ
Cerberus-X 2023-05-26 (HTML5) 780 488 ๐ŸŒ
Monkey 2 2018.09 740 14622 ๐ŸŒ
Wonkey 2022.04 800 16886 ๐ŸŒ
Pascal / Delphi
ZenGL 0.3.12 (FPC 3.2.2) 690 315 ๐ŸŒ
Castle Game Engine 7.0 (FPC 3.2.2) 200 16816 ๐ŸŒ
Ruby
RPG Maker XP (Ruby 1.8.1) 108000 841 ๐ŸŒ‘
RPG Maker VX (Ruby 1.8.1) 84000 162 ๐ŸŒ‘
RPG Maker VX Ace (Ruby 1.9.2) 18200 1256 ๐ŸŒ‘
RGDirect 1.5.4 61500 +1268 ๐ŸŒ‘
MKXP-Z 40000 +26849 ๐ŸŒ
JavaScript
RPG Maker MV 1.6.3 (clean) 2200 165968 ๐ŸŒ‘
Lua
Defold 1.6.0 (LuaJIT 2.1.0-b3) 5500 7484 ๐ŸŒ”
Lร–VE 11.4 (LuaJIT 2.1.0-b3) 3700 +love2d ๐ŸŒ
Python / Pythonlike
Godot 3.5.3 (GDScript) 5700 38105 ๐ŸŒ
Godot 4.1.2 (GDScript) 4700 68727 ๐ŸŒ
Pygame 2.5.2 (Python 3.7.2) 4300 +python ๐ŸŒ
C#
Godot 3.5.3 (C#) 660 74623 ๐ŸŒ
Godot 4.1.2 (C#) 230 144297 ๐ŸŒ
  • OpenGMK, RGDirect and MKXP are runtime replacements for already assembled binaries.
  • Execution times below 1 sec. reported with higher precision.

These projects could also be useful as a 'Hello World!' programs, when moving from engine to engine
and you want to familiarize yourself by jumping right in, instead of going through tutorials.

Enjoy!

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.