Skip to content

Instantly share code, notes, and snippets.

@pidster
Created April 25, 2017 06:52
Show Gist options
  • Save pidster/cdf1bd5d210d624367e7c614e467a6cf to your computer and use it in GitHub Desktop.
Save pidster/cdf1bd5d210d624367e7c614e467a6cf to your computer and use it in GitHub Desktop.
# https://mechanical-sympathy.blogspot.co.uk/2011/12/java-sequential-io-performance.html
# MBP 13" 2015
#
# Run 01
RandomAccessFile write=332,251,784 read=505,024,351 bytes/sec
RandomAccessFile write=323,704,903 read=549,061,662 bytes/sec
RandomAccessFile write=340,482,128 read=745,744,196 bytes/sec
RandomAccessFile write=344,259,539 read=675,796,073 bytes/sec
RandomAccessFile write=341,376,005 read=750,595,565 bytes/sec
BufferedStreamFile write=36,715,175 read=193,989,912 bytes/sec
BufferedStreamFile write=198,046,610 read=181,106,714 bytes/sec
BufferedStreamFile write=209,364,138 read=233,496,750 bytes/sec
BufferedStreamFile write=207,507,979 read=246,257,440 bytes/sec
BufferedStreamFile write=200,582,747 read=250,336,144 bytes/sec
BufferedChannelFile write=271,447,032 read=277,281,343 bytes/sec
BufferedChannelFile write=175,586,753 read=287,378,095 bytes/sec
BufferedChannelFile write=256,120,056 read=518,481,012 bytes/sec
BufferedChannelFile write=291,260,755 read=331,472,040 bytes/sec
BufferedChannelFile write=295,111,495 read=331,458,628 bytes/sec
MemoryMappedFile write=176,715,490 read=358,904,709 bytes/sec
MemoryMappedFile write=280,692,136 read=374,542,794 bytes/sec
MemoryMappedFile write=373,790,837 read=394,947,449 bytes/sec
MemoryMappedFile write=371,536,124 read=399,629,250 bytes/sec
MemoryMappedFile write=373,450,036 read=404,603,151 bytes/sec
# Run 02
RandomAccessFile write=338,344,622 read=679,326,644 bytes/sec
RandomAccessFile write=331,284,373 read=595,825,150 bytes/sec
RandomAccessFile write=348,299,319 read=624,675,918 bytes/sec
RandomAccessFile write=354,110,832 read=631,854,994 bytes/sec
RandomAccessFile write=336,440,921 read=671,475,409 bytes/sec
BufferedStreamFile write=39,527,713 read=275,982,885 bytes/sec
BufferedStreamFile write=160,087,547 read=271,672,083 bytes/sec
BufferedStreamFile write=171,779,655 read=274,982,377 bytes/sec
BufferedStreamFile write=171,040,818 read=266,614,593 bytes/sec
BufferedStreamFile write=168,147,950 read=270,899,470 bytes/sec
BufferedChannelFile write=337,174,843 read=326,595,702 bytes/sec
BufferedChannelFile write=216,056,546 read=323,551,483 bytes/sec
BufferedChannelFile write=294,474,999 read=626,587,119 bytes/sec
BufferedChannelFile write=284,237,188 read=327,548,980 bytes/sec
BufferedChannelFile write=300,436,424 read=329,538,597 bytes/sec
MemoryMappedFile write=174,755,210 read=340,383,097 bytes/sec
MemoryMappedFile write=307,888,901 read=394,187,277 bytes/sec
MemoryMappedFile write=351,920,268 read=380,386,329 bytes/sec
MemoryMappedFile write=364,040,350 read=356,887,688 bytes/sec
MemoryMappedFile write=334,135,497 read=395,844,406 bytes/sec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment