shunping commented on PR #34818:
URL: https://github.com/apache/beam/pull/34818#issuecomment-2848202795
I ran some tests on both apis, it does have some difference, though not big
```python
from google.cloud import storage
import timeit
storage_client = storage.Client()
bucket = storage_client.bucket("shunping-test")
time_taken = timeit.timeit(
lambda : bucket.get_blob("wordcount-output-00000-of-00001"),
number=100)
print(time_taken)
blob = bucket.blob("wordcount-output-00000-of-00001")
time_taken = timeit.timeit(blob.exists, number=100)
print(time_taken)
```
```
6.079686500015669
5.889628666976932
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]