Fokko opened a new issue, #8566:
URL: https://github.com/apache/iceberg/issues/8566
### Feature Request / Improvement
Just an issue to keep track of what's slow:
```python
from datetime import datetime
p = datetime.now()
from pyiceberg.catalog import load_catalog
print(f"import: {(datetime.now()-p).total_seconds()} seconds")
p = datetime.now()
cat = load_catalog("local")
print(f"catalog: {(datetime.now()-p).total_seconds()} seconds")
p = datetime.now()
tbl = cat.load_table("nyc.taxis")
print(f"table: {(datetime.now()-p).total_seconds()} seconds")
p = datetime.now()
result = tbl.scan(row_filter="tpep_pickup_datetime >=
'2022-02-24T00:00:00+00:00' and tpep_pickup_datetime <
'2022-02-25T00:00:00+00:00'").to_arrow()
print(f"scan: {(datetime.now()-p).total_seconds()} seconds")
p = datetime.now()
print(f"Rows: {len(result)}")
```
```sh
python3 -m cProfile -o myLog.profile /tmp/benchmark.py && gprof2dot -f
pstats myLog.profile -o callingGraph.dot && dot -Tpng callingGraph.dot >
output.png && open output.png
```

### Query engine
None
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]