Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Burst compiler

Discussion in 'Burst' started by paavann, Mar 2, 2021.

  1. paavann

    paavann

    Joined:
    Nov 21, 2018
    Posts:
    35
    Hi, I have one project in which I have more than 20 android games, I have not used ECS, job system and DOTS at all. I am finding more ways to improve performance of the app. I just want to know if I install burst compiler then will it make any difference in performance? Will it work without using ECS and jobsystem?
     
  2. Yury-Habets

    Yury-Habets

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    1,167
    You can burstcompile any functions which are using C# features supported by Burst. However, please keep in mind that bursting greatly improves performance of routines manipulating large arrays of data, like when using ECS. I'm also assuming that you profiled your games first before optimizing ;)

    Generally, taking data-oriented approach is a way to greatly improve the performance of your games. It's not that you just burstcompile everything, and it becomes 10x faster; how you are storing and using your data is the most important thing.
     
    Haneferd and paavann like this.
  3. paavann

    paavann

    Joined:
    Nov 21, 2018
    Posts:
    35
    @Yury-Habets, Thank you bro. One more like for your profile picture...