pub fn profile<F, R>(signature: Signature<'_>, f: F) -> Rwhere F: FnOnce() -> R,
Times a closure and adds the measured time to Godot’s built-in profiler with the given signature, and then returns it’s return value.