Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Burst optimization

Read time 1 minuteLast updated 10 days ago

Debug and profile to identify problems in Burst-compiled code and configure a range of options to optimize performance.

Topic

Description

Debugging and profiling toolsDebug and profile your Burst-compiled code in the Editor and in player builds.
Loop vectorization optimizationUnderstand how Burst uses loop vectorization to optimize your code.
Memory aliasingUse memory aliasing to tell Burst how your code uses data.
AssumeRange attributeUse AssumeRange to tell Burst a given scalar-integer lies within a certain constrained range.
Hint intrinsicUse the Hint intrinsic to give Burst more information about your data.
Constant intrinsicUse IsConstantExpression to check if an expression is constant at run time.
SkipLocalsInit attributeUse SkipLocalsInitAttribute to tell Burst that any stack allocations within a method don't have to be initialized to zero.

Additional resources