Open l1t1 opened 2 years ago
web version only use one core?
Not all browsers support multi-threading in the browser. It is expected that certain browsers are limited to a single thread. Have you tried this on chrome as well?
@carlopi just to check if this is still a limitation on duck-wasm?
The docs mentioned:
By default, the WebAssembly client only uses a single thread.
Does this mean it is possible to allow multiple threads by rebuilding from source? Would this allow for queries to be performed faster on an interactive dashboard? I'm thinking about remote files (e.g. those that are served over httpfs/s3) as well as local files.
IIRC the COI version supports multithreading but it needs special server header flags to run https://shell.duckdb.org/docs/interfaces/index.DuckDBBundles.html.
What happens?
a sql run on duckdb web version took 9 sec. the same sql run on duckdb CLI took 2 sec.
To Reproduce
open the edge and visit
https://shell.duckdb.org/
, after it showsrun
and run same sql on duckdb CLI, compare the time costs.
OS:
windows 7
DuckDB Version:
v0.5.1
DuckDB Client:
Web version
Full Name:
lutao
Affiliation:
study
Have you tried this on the latest
master
branch?Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?