Files
godot-benchmarks/benchmarks/core/string_name.gd

8 lines
135 B
GDScript

extends Benchmark
const ITERATIONS = 1_000_000
func benchmark_create() -> void:
for i in ITERATIONS:
var _s: StringName = "Godot"