add insert benchmarks comparing myxql/postgrex/exqlite#111
Conversation
|
Specs: Disk is a 1TB Sabrent Rocket Q SSD. |
|
That is amazing. Did you try it without WAL? |
|
Nope, I'd be curious to see that too, just for comparison, even if I can't think of situations I wouldn't use WAL. I hope to fix up the rest of the benchmark tests and run each test suite for comparison, probably once the rest of the main "1.0" functional issues are done. The "micro" ones they have around testing how long the adapter takes to build up the query is pretty interesting, too. The main reason I wanted this driver was for use in moderate size applications, but was quite worried about the insert speed. It's good to know that this little database can truly handle 99% of load profiles :) |
|
Yea I'm excited for it. Wondering if we should pull together a docker compose file to benchmark the library repeatedly. |
These benchmarks are forked from
ecto_sql.I only ran the Insert benchmarks, so will need to update the other benchmarks at some point and run them too. Was interested in Insert since SQLite can only have one active writer. I knew that SQLite in WAL mode was faster than most know, but the results nevertheless surprised me.
Results from running:
Wow!