Skip to content

exists calls much slower between 2025.3.0 and 2025.9.0 #704

@APatrickJ

Description

@APatrickJ

After #696, we're still seeing slow performance for exists calls. Version 2025.9.0 performs significantly slower than 2025.3.0.

I have a small benchmarking script to show the difference (see attached).

Here's the benchmark I'm running:

python benchmark.py gs://earth-system-public-tiles-a86c/lima/tiles/10

With 2025.3.0:

Benchmarking: gs://earth-system-public-tiles-a86c/lima/tiles/10
--------------------------------------------------

==================================================
RESULTS
==================================================
Path: gs://earth-system-public-tiles-a86c/lima/tiles/10
Exists: True
Time: 2.877585 seconds
Time: 2877.58 milliseconds

With 2025.9.0:

Benchmarking: gs://earth-system-public-tiles-a86c/lima/tiles/10
--------------------------------------------------

==================================================
RESULTS
==================================================
Path: gs://earth-system-public-tiles-a86c/lima/tiles/10
Exists: True
Time: 37.475832 seconds
Time: 37475.83 milliseconds

And updating the command with the --debug flag is still showing this log output repeatedly with 2025.9.0 that isn't appearing in the log output for 2025.3.0:

2025-10-16 11:41:43,261 - gcsfs - DEBUG - GET: b/{}/o, ('earth-system-public-tiles-a86c',), None
2025-10-16 11:41:43,300 - gcsfs - DEBUG - _call -- GET: b/{}/o, ('earth-system-public-tiles-a86c',), None

benchmark.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions