{"push_id":1873256838,"size":1,"distinct_size":1,"ref":"refs/heads/pr-skip-repo-checks","head":"5a4a91878e52cad8283023e77f9be5dec63091c4","before":"cdfe6fab5b0b291971f41b54d50590473044c138","commits":[{"sha":"5a4a91878e52cad8283023e77f9be5dec63091c4","author":{"name":"Dmitry Konishchev","email":"6a8f6572d86b7720c68403fb98e64e5f3ca98ccc@gmail.com"},"message":"Add an option to skip checking of items that already exist in the database\n\nAt this time `photobak` always checks all items stored on filesystem: it\nchecks that they are exist and recalculates their checksums which leads\nto high CPU and disk I/O usage and too excessive in the case when you\nrun `photobak` every day in append-only mode when there is no reason for\nfiles to be corrupted or missing. So I added this option to be able to\nrun `photobak` at least most of the times without these checks.\n\nThe result on my 11GB repository:\n\n```\n$ time photobak -v -concurrency 2 ...\nreal  8m34.654s\nuser  2m34.612s\nsys   0m9.788s\n\n$ time photobak -v -concurrency 2 -skiprepochecks ...\nreal  3m45.256s\nuser  0m5.716s\nsys   0m0.848s\n```\n\nI/O utilization in `atop` is even more representative.","distinct":true,"url":"https://api.github.com/repos/KonishchevDmitry/photobak/commits/5a4a91878e52cad8283023e77f9be5dec63091c4"}]}
{"actor":{"display_login":"KonishchevDmitry"}}