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.
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.
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.
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.
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 Test | C++ Time (ms) | GDScript Time (ms) | C++ vs GDScript | C# Time (ms) | C++ vs C# |
---|---|---|---|---|---|
🧮 Math Stress | 245.60 | 5078.93 | ~20× faster | 3564.10 | ~14.5× faster |
🪄 Spawn/Delete | 7116.30 | 7336.89 | ~1.03× faster | 10686.80 | ~1.5× faster |
🧵 String Operation (Basic) | 3.91 | 33.95 | ~8.7× faster | 28.95 | ~7.4× faster |
🧬 String Operation (Complex) | 9.57 | 16785.49 | ~175× faster | 130.42 | ~13.6× faster |
- 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.