Benchmarks of node-mysql vs node-mysql2 drivers
Test1:
for each http request, query first 3 rows of mysql.user table and render results using jade template.
Notes:
This tests column definition parser (user table has 43 columns), row parser (3x43 values) and access time to result.
Also this is test of how well event loop, GC, http parser and mysql driver work together. To compare mysql overhead with http + jade rendering + data transfer, there is another endpoint that renders exactly the same rows of data from memory without fetching them from mysql server.