-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
import time | ||
import io | ||
|
||
import npyfile | ||
|
||
|
||
def main(): | ||
|
||
# do X repetitions of each | ||
# measure total runtime | ||
# compute kB/second | ||
# print human formatted per test | ||
# output a CSV with machine readable results at end | ||
|
||
# write file to memory. io.BytesIO | ||
# write file to disk. open | ||
|
||
# read file from memory | ||
# read file from disk | ||
|
||
|
||
# run for different chunk sizes | ||
# 1, 16, 256, 4096 | ||
|
||
|
||
if __name__ == '__main__': | ||
main() |