Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Performance with Burst on is very bad
#15
(02-04-2024, 02:33 PM)ShawnF Wrote: Ah, interesting! I was under the impression that Burst was meant to be faster across the board, but it sounds like you only really see the benefits once you hit a certain critical mass.

They're supposed to be in the same performance ballpark. After all they both use similar technology, the only difference being that Burst is an integral part of Unity and Oni was custom built (since at the time it was written, Unity had no support whatsoever for multithreading or vectorization).

Burst however takes a slight hit in thread scheduling, but it results in faster code since its automatic vectorization is more efficient, so for many use cases it is slightly faster. I expect Unity to improve scheduling performance in the future.

Also, Burst usually wins in mobile devices since it takes advantage of the Neon instruction set, which Oni can't (it uses SSE/AVX).
Reply


Messages In This Thread
Performance with Burst on is very bad - by ShawnF - 13-03-2024, 11:19 AM
RE: Performance with Burst on is very bad - by josemendez - 02-04-2024, 02:39 PM