Mysql can cache to memory and and defer write operation for latter the most used storage engine (MyIsam) seems to be less resilient and have limited feature compared to sqlite, plus SQLite support for transaction bring some latency and is designed to be resistant to corruption due to power loss or unexpected program crash.
A more fair comparison would be memory stored database benchmark.
A more fair comparison would be memory stored database benchmark.