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.
Statistics: Posted by dividuum — Sat Jul 27, 2024 6:04 pm