tursodatabase / turso-cli

Command line interface to Turso.
https://turso.tech
MIT License
215 stars 35 forks source link

Show database size in `db list` #40

Closed penberg closed 1 year ago

penberg commented 1 year ago

Show the database size as part of db list. Requires API work & integration with Fly.

athoscouto commented 1 year ago

This makes db list considerably slower, especially as databases grow bigger. Even running db list against the local API with empty databases takes a few seconds.

https://github.com/chiselstrike/turso-cli/assets/7853668/c1e66846-b330-4d68-83a0-64429eb1f4ce

I'd revert it, at least in db list, until we have a faster way of getting database size. WDYT? @penberg @haaawk

haaawk commented 1 year ago

This should improve the situation @athoscouto https://github.com/chiselstrike/turso-cli/pull/414