aloof-angle-91616
05/11/2020, 11:37 PMaloof-angle-91616
05/11/2020, 11:38 PMaloof-angle-91616
05/11/2020, 11:38 PMaloof-angle-91616
05/11/2020, 11:42 PMShardedLmdb
to store a trie of all of PathStat
s that belong to each Digest
aloof-angle-91616
05/11/2020, 11:43 PMaloof-angle-91616
05/11/2020, 11:43 PMwitty-crayon-22786
05/11/2020, 11:43 PMaloof-angle-91616
05/11/2020, 11:43 PMaloof-angle-91616
05/11/2020, 11:43 PMaloof-angle-91616
05/11/2020, 11:44 PMDigest
=> Vec<PathStat>
is currently slow for large snapshots. makes sensewitty-crayon-22786
05/11/2020, 11:45 PMaloof-angle-91616
05/11/2020, 11:45 PMaloof-angle-91616
05/11/2020, 11:45 PMaloof-angle-91616
05/11/2020, 11:46 PMaloof-angle-91616
05/11/2020, 11:46 PMaloof-angle-91616
05/11/2020, 11:46 PMwitty-crayon-22786
05/11/2020, 11:46 PMaloof-angle-91616
05/11/2020, 11:46 PMaloof-angle-91616
05/11/2020, 11:46 PMwitty-crayon-22786
05/11/2020, 11:47 PMStore::walk
, and we haven’t confirmed that any of the others are this slowaloof-angle-91616
05/11/2020, 11:47 PMaloof-angle-91616
05/11/2020, 11:47 PMaloof-angle-91616
05/11/2020, 11:47 PMwitty-crayon-22786
05/11/2020, 11:47 PMDigest -> Vec<PathStat>
that is slow. but i am not sure.aloof-angle-91616
05/11/2020, 11:47 PMaloof-angle-91616
05/11/2020, 11:48 PMaloof-angle-91616
05/11/2020, 11:48 PMStore::walk()
is likely to be badaloof-angle-91616
05/11/2020, 11:49 PMwitty-crayon-22786
05/11/2020, 11:52 PMmaterialize_directory
, which does the equivalent of walk
to read from the database, and writes a bunch of stuff to disk… only takes 6 seconds for 10k files.aloof-angle-91616
05/11/2020, 11:52 PM