tests/test-remotefilelog-prefetch.t
changeset 51181 dcaa2df1f688
parent 47127 5ffc6c18fb96
equal deleted inserted replaced
51180:2e0b2a387502 51181:dcaa2df1f688
    20 
    20 
    21 # prefetch a revision
    21 # prefetch a revision
    22 
    22 
    23   $ hgcloneshallow ssh://user@dummy/master shallow --noupdate
    23   $ hgcloneshallow ssh://user@dummy/master shallow --noupdate
    24   streaming all changes
    24   streaming all changes
    25   2 files to transfer, 528 bytes of data (no-zstd !)
    25   3 files to transfer, 528 bytes of data (no-zstd !)
    26   transferred 528 bytes in * seconds (* */sec) (glob) (no-zstd !)
    26   transferred 528 bytes in * seconds (* */sec) (glob) (no-zstd !)
    27   2 files to transfer, 532 bytes of data (zstd !)
    27   3 files to transfer, 532 bytes of data (zstd no-rust !)
    28   transferred 532 bytes in * seconds (* */sec) (glob) (zstd !)
    28   transferred 532 bytes in * seconds (* */sec) (glob) (zstd no-rust !)
       
    29   5 files to transfer, 658 bytes of data (zstd rust !)
       
    30   transferred 658 bytes in * seconds (*/sec) (glob) (zstd rust !)
    29   searching for changes
    31   searching for changes
    30   no changes found
    32   no changes found
    31   $ cd shallow
    33   $ cd shallow
    32 
    34 
    33   $ hg prefetch -r 0
    35   $ hg prefetch -r 0
   164 
   166 
   165 # Prefetch unknown files during checkout
   167 # Prefetch unknown files during checkout
   166 
   168 
   167   $ hgcloneshallow ssh://user@dummy/master shallow2
   169   $ hgcloneshallow ssh://user@dummy/master shallow2
   168   streaming all changes
   170   streaming all changes
   169   2 files to transfer, 528 bytes of data (no-zstd !)
   171   3 files to transfer, 528 bytes of data (no-zstd !)
   170   transferred 528 bytes in * seconds * (glob) (no-zstd !)
   172   transferred 528 bytes in * seconds * (glob) (no-zstd !)
   171   2 files to transfer, 532 bytes of data (zstd !)
   173   3 files to transfer, 532 bytes of data (zstd no-rust !)
   172   transferred 532 bytes in * seconds (* */sec) (glob) (zstd !)
   174   transferred 532 bytes in * seconds (* */sec) (glob) (zstd no-rust !)
       
   175   5 files to transfer, 658 bytes of data (zstd rust !)
       
   176   transferred 658 bytes in * seconds (*/sec) (glob) (zstd rust !)
   173   searching for changes
   177   searching for changes
   174   no changes found
   178   no changes found
   175   updating to branch default
   179   updating to branch default
   176   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
   180   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
   177   1 files fetched over 1 fetches - (1 misses, 0.00% hit ratio) over * (glob)
   181   1 files fetched over 1 fetches - (1 misses, 0.00% hit ratio) over * (glob)