lakeFS
lakeFS copied to clipboard
Parallel commits compare
Another try
Thanks Itai! I have read through this, and though I don't have any substantial comments - it seems like the ListCommits function became very long, and at points very complicated to understand. I think that if there's a way to break this into smaller logical units it would be much easier to read
I agree. Improved it some more. Breaking it for path / non-paths log-commits usage should make the code clearer at least for the common flow (non-paths). LMKWYT
Tested it locally by adding 200ms delay to block adapter read and zeroing out the cache. For 200 commits we currently log all of them in 78 seconds. This change reduces that number to 6 seconds.
Tested locally again after all changes applied, the above numbers are still valid. Thanks all for the improvements and the review! Pulling..