My software renderer achieves over 60 frames-per-second by filling every pixel of the 1920x1080 resolution.
I know I could achieve a faster speed with a better processor, but I want to know whether other hardware products affect the speed, too.
I created an array of pixels with “malloc()”. During each frame, I clear the array by setting all of its items to zero with “memset()”, and then I fill the array with my images again.
I use these functions too:
Would faster RAM affect the speed?
Does the bandwidth of the RAM of graphics cards affect the speed? (Even though software renderers use CPUs, SDL still sends the images to the RAM of GPUs.)
Would I notice a speed difference with a Solid-State Drive?
Does the size of the L3 cache matter? Normal quad-core processors have 6 MB for their L3 caches, so 1.5 MB per core. Better quad-core processors have 8 MB, plus 4 extra threads. If the four extra threads are disabled, those quad-core processors will split the 8 MB among 4 cores, so each core would have access to 2 MB of the L3 cache instead of 1.5 MB. Would that extra 0.5 MB affect the speed of software renderers?
Are those factors so unimportant that they won’t provide a perceptible speed improvement, and I should care about ONLY a CPU upgrade?
I don’t need more than 1080p60. I’m asking these questions just for curiosity.