I donβt know about my own database, but HTML5 WebSQL is very slow on iPhone when using tables with hundreds of rows, mostly 3G, 4G is a little better. On Android, there are no problems launching quite pleasant queries - we thought that it would be the same on the iPhone, but we had to abandon the use of WebSQL in our project and rewrite everything to JSON and many other functions that had the functionality of several simple WebSQL queries.
It's a shame that WebSQL support has been officially canceled, but is currently supported on both Android and iPhone, and this is very convenient for some cases. Therefore, I hope, and I think, that WebSQL will be supported "not officially", but still in Android and iPhone in the future.
As for your question - my experience tells me that it depends on the structure of your tables, on complex queries and, mainly, on the number of rows in the tables. If you have dozens of rows, this is fine for using WebSQL, but if you click 100 or more rows in a table, the iPhone will be slow.
source share