RaycastCommand and Jobs, Creation of commands is slower than the raycasts

I’m working on a voxel grid and I’m raycasting around 600k voxels in 26 directions to create a voxel based AO.

Everything is working well but when debugging durations I find that creating the raycastcommands (in a job) is slower than the actual raycasts themselves.

Anyone got any ideas to why, and is it to be expected?

9425933--1321241--upload_2023-10-23_17-49-6.png

Nope ignore that, it was creation of temporary native arrays that was slow.