Skip to content

Instantly share code, notes, and snippets.

@gs0510
Created January 13, 2020 16:33
Show Gist options
  • Save gs0510/dedba04b9a1aaa7c7296af9da2c660d6 to your computer and use it in GitHub Desktop.
Save gs0510/dedba04b9a1aaa7c7296af9da2c660d6 to your computer and use it in GitHub Desktop.
Fill in random order
index: 5.607651 micros/op; 178327.778691 op/s; 8.024750 MB/s; total time = 56.076513s.
write amplification in bytes = 10.454486; in nb of writes = 0.000639;
RW Read in random order
index: 4.744557 micros/op; 210767.815771 op/s; 9.484552 MB/s; total time = 47.445574s.
read amplification in bytes = 70.292040; in nb of reads = 1.016339
RO Read in random order
index: 8.371004 micros/op; 119459.984961 op/s; 5.375699 MB/s; total time = 83.710039s.
read amplification in bytes = 70.177230; in nb of reads = 4.018899
Read 1000 absent values
index: 5.409000 micros/op; 184877.056760 op/s; 0.000000 MB/s; total time = 0.005409s.
read amplification in bytes = 72.494000; in nb of reads = 1.053000
Read in sequential order (increasing order of hashes for index
index: 0.365225 micros/op; 2738039.695004 op/s; 123.211786 MB/s; total time = 3.652248s.
read amplification in bytes = 1.900004; in nb of reads = 0.001900
Fill in increasing order of keys
index: 7.896427 micros/op; 126639.546808 op/s; 5.698780 MB/s; total time = 78.964275s.
write amplification in bytes = 11.456820; in nb of writes = 0.000686;
Fill in increasing order of hashes
index: 7.350420 micros/op; 136046.649525 op/s; 6.122099 MB/s; total time = 73.504199s.
write amplification in bytes = 11.456820; in nb of writes = 0.000686;
Fill in decreasing order of hashes
index: 7.449334 micros/op; 134240.190254 op/s; 6.040809 MB/s; total time = 74.493339s.
write amplification in bytes = 11.456820; in nb of writes = 0.000686;
Fill in random order and sync after each write
index: 10.941463 micros/op; 91395.459324 op/s; 4.112796 MB/s; total time = 109.414626s.
write amplification in bytes = 11.386295; in nb of writes = 2.000572;
OverWrite
index: 11.160953 micros/op; 89598.081196 op/s; 4.031914 MB/s; total time = 111.609533s.
write amplification in bytes = 21.093663; in nb of writes = 0.001049;
------------------------------------------------------------------------------------------------------------------
Fill in random order
index: 5.553631 micros/op; 180062.370724 op/s; 8.102807 MB/s; total time = 55.536312s.
write amplification in bytes = 10.454486; in nb of writes = 0.000639;
RW Read in random order
index: 4.861324 micros/op; 205705.298156 op/s; 9.256738 MB/s; total time = 48.613235s.
read amplification in bytes = 70.304783; in nb of reads = 1.016562
RO Read in random order
index: 8.604562 micros/op; 116217.419129 op/s; 5.229784 MB/s; total time = 86.045621s.
read amplification in bytes = 70.177230; in nb of reads = 4.018899
Read 1000 absent values
index: 5.368000 micros/op; 186289.120714 op/s; 0.000000 MB/s; total time = 0.005368s.
read amplification in bytes = 72.494000; in nb of reads = 1.053000
Read in sequential order (increasing order of hashes for index
index: 0.358502 micros/op; 2789384.717519 op/s; 125.522312 MB/s; total time = 3.585020s.
read amplification in bytes = 1.900004; in nb of reads = 0.001900
Fill in increasing order of keys
index: 7.584323 micros/op; 131850.922860 op/s; 5.933292 MB/s; total time = 75.843231s.
write amplification in bytes = 11.456820; in nb of writes = 0.000686;
Fill in increasing order of hashes
index: 7.015724 micros/op; 142536.960048 op/s; 6.414163 MB/s; total time = 70.157242s.
write amplification in bytes = 11.456820; in nb of writes = 0.000686;
Fill in decreasing order of hashes
index: 6.644861 micros/op; 150492.237535 op/s; 6.772151 MB/s; total time = 66.448610s.
write amplification in bytes = 11.456820; in nb of writes = 0.000686;
Fill in random order and sync after each write
index: 9.697591 micros/op; 103118.389821 op/s; 4.640328 MB/s; total time = 96.975913s.
write amplification in bytes = 11.444991; in nb of writes = 2.000578;
OverWrite
index: 10.731210 micros/op; 93186.136512 op/s; 4.193376 MB/s; total time = 107.312100s.
write amplification in bytes = 21.080005; in nb of writes = 0.001048;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment