Skip to main content

Benchmark

This page provides performance benchmarks comparing Jenova C++, GDScript and .NET (C#) across various tasks.

Math Stress

This test performs 100 million iterations of 3D vector math, where each vector is created and normalized before being added to an accumulated sum. It measures how efficiently the language handles floating-point operations, vector normalization and repeated memory access under computational stress.

BarChart_PerformanceChartA

Spawn/Delete

A total of 1 million scene objects are instantiated from a preloaded template, added to the root of the scene tree, then removed and freed. This test evaluates object lifecycle performance, covering creation, insertion into the scene graph and cleanup.

BarChart_PerformanceChartB

String Operations

Basic

In 100,000 iterations, numeric strings are appended to a growing buffer to simulate dynamic content building. When the string exceeds 64 characters, it’s trimmed back to that length to keep it bounded. This test focuses on performance under frequent concatenation, memory resizing and substring slicing operations.

BarChart_PerformanceChartC

Complex

A large string is built by appending 100,000 numeric strings and truncated if it exceeds 16,384 characters. It is then reversed 1,000 times, searched 10,000 times for the pattern "999", and rearranged 5,000 times by swapping its halves. This complex test benchmarks string mutation, search and memory-heavy operations under stress.

BarChart_PerformanceChartD

Summary

Based on the benchmark results, Jenova C++ Script demonstrates significantly higher performance across all tested categories compared to GDScript and C#. In computationally intensive tasks such as math processing and advanced string manipulation, C++ outperforms by a wide margin. While the difference is less pronounced in scene spawning and deletion, C++ still maintains an edge. Below is a breakdown of how much faster Jenova C++ performed in each test:

Benchmark TestC++ Time (ms)GDScript Time (ms)C++ vs GDScriptC# Time (ms)C++ vs C#
🧮 Math Stress245.605078.93~20× faster3564.10~14.5× faster
🪄 Spawn/Delete7116.307336.89~1.03× faster10686.80~1.5× faster
🧵 String Operation (Basic)3.9133.95~8.7× faster28.95~7.4× faster
🧬 String Operation (Complex)9.5716785.49~175× faster130.42~13.6× faster
Information
  • All performance tests were conducted on Godot 4.5 beta1 (Windows 11 x64) using an Intel Core i9-12900K (24 Cores)
  • All C++ benchmark operations performed on Meteora interpreter backend.