Open GithubPatrick91 opened 3 years ago
What is the underlying file system? It is usually that. 15-25 ms could be normal. It depends on the speed of the file system, the speed of the interface (example SPI), number of data lines and few other things.
I have some performance problem with the step() method of sqlite3. i would like to insert a std::vector (size 250) of these struct:
struct DATA{ pair<int, byte> id; pair<int, byte> value; pair<string, byte> s_timestamp; };
but all in all takes around >4500ms. the "slow" part is the sqlite3_step() function, which already takes 15-25ms (for each row).
i used prepared_v2(), bind() statements and Begin/End Transaction too.
Its running on a ESP32 at 240MHz. Is there any other method i could try?