Hello, Ive been following the dots course on Unity learn (https://learn.unity.com/tutorial/65b3de6bedbc2a59a499d5b9?uv=2022.3&projectId=65b3d3cfedbc2a5399ce3740#)
I completed part 5(Find each Seeker’s nearest Target with a single-threaded job) of module 2(Get started with Unity's Job System)
Every code I implemented is just a copy paste from the website and followed the course strictly without altering anything.
While profiling the performance difference, I find the normal gameObject workflow takes ~450ms to run a frame while single threaded job takes ~1000ms to run a frame. The website claims 340ms for normal gameobject workflow and 30 ms for single threaded job. Even when burst is enabled, my game runs in 19 ms while the website claim to run in 1.5ms. Im using 2022 lts version
Im running 32Gb Ram intel 13th gen i9 with rtx 4080
This tutorial introduces fundamentals of using jobs to take advantage of multicore CPUs. By the end of this tutorial, you'll be able to do the following: Create, schedule, and complete single-threaded jobs. Create, schedule, and complete parallel jobs. Schedule jobs that depend upon other jobs. Use NativeArrays.