Both. Apple Silicon could have the best of both worlds if it supported dGPU/eGPU tech, but Apple depreciated that about a decade ago. So you're stuck with fast RAM and a slow GPU.
My understanding was that apple's integrated GPU was perhaps not equivalent to top-tier nvidia but was like a low to mid tier nvidia?