fake-gcs-server icon indicating copy to clipboard operation
fake-gcs-server copied to clipboard

Do not read the objects data on list

Open ironsmile opened this issue 2 years ago • 2 comments

I am back with my object listing improvements :smile:

This optimization takes advantage of the fact that the object metadata could now be read from disk without reading its data. Previously the whole file was read from disk in order to obtain its size and nothing more. Instead, now a simple Stat is used.

ironsmile avatar Jul 29 '22 10:07 ironsmile

Hey @ironsmile, thanks for keeping working on this! Can you take a look at the test failure?

fsouza avatar Aug 14 '22 23:08 fsouza

Certainly! Did not realize there are failing tests originally.

ironsmile avatar Aug 15 '22 06:08 ironsmile