github.com/zuoyebang/bitalostable@v1.0.1-0.20240229032404-e3b99a834294/testdata/iterator_stats (about)

     1  build ext1
     2  merge a 1
     3  set c 2
     4  ----
     5  
     6  ingest ext1
     7  ----
     8  6:
     9    000004:[a#1,MERGE-c#1,SET]
    10  
    11  iter
    12  first
    13  next
    14  next
    15  stats
    16  ----
    17  a:1
    18  c:2
    19  .
    20  stats: (interface (dir, seek, step): (fwd, 1, 2), (rev, 0, 0)), (internal (dir, seek, step): (fwd, 1, 2), (rev, 0, 0)),
    21  (internal-stats: (block-bytes: (total 34 B, cached 34 B)), (points: (count 2, key-bytes 2, value-bytes 2, tombstoned: 0))
    22  
    23  # Perform the same operation again with a new iterator. It should yield
    24  # identical statistics.
    25  
    26  iter
    27  first
    28  next
    29  next
    30  stats
    31  ----
    32  a:1
    33  c:2
    34  .
    35  stats: (interface (dir, seek, step): (fwd, 1, 2), (rev, 0, 0)), (internal (dir, seek, step): (fwd, 1, 2), (rev, 0, 0)),
    36  (internal-stats: (block-bytes: (total 34 B, cached 34 B)), (points: (count 2, key-bytes 2, value-bytes 2, tombstoned: 0))