An open API service indexing awesome lists of open source software.

https://github.com/a-poor/file-rw-speed-test


https://github.com/a-poor/file-rw-speed-test

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Testing File Read/Write Speed

_created by Austin Poor_

I wanted to experiment with how long it takes to read & write files of different sizes in Python. What is the ideal size for a single file for optimized read/write times?

For example, when storing rows of data, how big should each file be to a) counteract the penalty of reading files and b) minimize the cost of rewriting files.

![](./bytes-per-ns.png)

The above plot shows the number of bytes written per nanosecond compared to the size of file, in bytes.