Skip to content

Directory listing speed regression with large numbers of folders #14775

@metadaddy

Description

@metadaddy

Describe the bug
Despite #14542, buckets with large numbers of 'folders' in the root take a long time to load in Cyberduck 8.6.0. The log shows that Cyberduck is calling b2_list_file_names for every 'folder' in the root of the bucket.

To Reproduce
Steps to reproduce the behavior:

  1. Create a bucket in B2 with tens of thousands of 'folders'.
  2. Browse around the bucket in Cyberduck 8.6.0 vs the previous 8.5.7.

Expected behavior
Listing bucket contents should be as fast as it was in prior versions

Desktop:

  • OS: macOS
  • Version 13.4

Screenshots
If applicable, add screenshots to help explain your problem.

Log Files
As a test, I created 1,000 'folders' in a bucket. Cyberduck took 42 seconds to display the bucket listing.

See https://gist.github.com/metadaddy/2447edfa8076742e6e692113705df525

Metadata

Metadata

Assignees

No one assigned

    Labels

    b2Backblaze B2 Protocol Implementation

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions