Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4844

Beginners • Re: Memory access time Pi5

$
0
0
Two factors at play here:
  • 250MB is a lot less than your Pi5 has RAM. So the complete file is in the buffer cache once your test ran once. So you are not really measuring SD card speed but essentially RAM access already, and…
  • .. any difference you might see in language „closer to the metal“ are invisible as the Python code hides them because the way your code is written probably benchmarks the array append operation more than it does byte access.
Memory access is way faster than SD access, but Python isn’t really suited to measure the real difference.

Statistics: Posted by dividuum — Sat Jul 27, 2024 6:04 pm



Viewing all articles
Browse latest Browse all 4844

Trending Articles