Closed athoscouto closed 6 months ago
It turns out this change is a no op. The shell does not split query for http/https -> https://github.com/tursodatabase/libsql-shell-go/blob/main/internal/db/db.go#L185
I will revert.
@haaawk I tested it and it reduce latency from 12s to 600ms for 1000 writes.
It wasn't this change but the fact that you made non-interactive shell use https which uses batches instead of websockets which don't use batching at all.
Description
Batch queries when using HTTP client.
For now, we cannot do it for all URL schemes, since the WS client doesn't support batching.