NEOLearn

Stress test examples

The engine's stress test examples: what each one shows, whether it runs in a browser and the command that runs it.

Updated October 20, 2026

On this page

Programs that push one part of the engine hard, for measuring performance. Run them with --release. There are 19 examples on this page. For the concepts behind them, see Performance.

Run any of them from the engine core's workspace (the folder of the engine source that holds the neo crate's Cargo.toml); see Run an example.

Examples#

ExampleWhat it showsWebRun
Many Animated MaterialsBenchmark to test rendering many animated materialsYescargo run --example many_materials
Many Animated SpritesDisplays many animated sprites in a grid arrangement with slight offsets to their animation timers. Used for performance testing.Yescargo run --example many_animated_sprites
Many ButtonsTest rendering of many UI elementsYescargo run --example many_buttons
Many Cameras & LightsTest rendering of many cameras and lightsYescargo run --example many_cameras_lights
Many Components (and Entities and Systems)Test large ECS systemsNocargo run --example many_components
Many CubesSimple benchmark to test per-entity draw overhead. Run with the sphere argument to test frustum cullingYescargo run --example many_cubes
Many FoxesLoads an animated fox model and spawns lots of them. Good for testing skinned mesh performance. Takes an unsigned integer argument for the number of foxes to spawn. Defaults to 1000Yescargo run --example many_foxes
Many GizmosTest rendering of many gizmosYescargo run --example many_gizmos
Many GlyphsSimple benchmark to test text rendering.Yescargo run --example many_glyphs
Many GradientsStress test for gradient rendering performanceYescargo run --example many_gradients
Many LightsSimple benchmark to test rendering many point lights. Run with WGPU_SETTINGS_PRIO=webgl2 to restrict to uniform buffers and max 256 lightsYescargo run --example many_lights
Many Morph TargetsSimple benchmark to test rendering many meshes with animated morph targets.Yescargo run --example many_morph_targets
Many SpritesDisplays many sprites in a grid arrangement! Used for performance testing. Use --colored to enable color tinted sprites.Yescargo run --example many_sprites
Many TextDisplays many UI Text nodes. Used for performance testing.Yescargo run --example many_text
Many Text2dDisplays many Text2d! Used for performance testing.Yescargo run --example many_text2d
NeomarkA heavy sprite rendering workload to benchmark your system with NEOYescargo run --example neomark
Neomark 3DA heavy 3D cube rendering workload to benchmark your system with NEOYescargo run --example neomark_3d
Text PipelineText Pipeline benchmarkNocargo run --example text_pipeline
Transform HierarchyVarious test cases for hierarchy and transform propagation performanceNocargo run --example transform_hierarchy

See also#