new Benchmark.Suite() .add('Sqorn - args', function() { sq .from('books') .where({ author: 'Joe' }) .return('title', 'author', 'year').query }) .add('Sqorn - template string', function() { sq.from`books`.where`author = ${'Joe'}`.return`title, author, year`.query }) .add('Sqorn - express', function() { .add('Sqorn - extend', function() { sq.extend( sq.from`books`, sq.where`author = ${'Joe'}`, sq.return`title, author, year` .add('Knex', function() { knex .from('books') .select('title', 'author', 'year') .where({ author: 'Joe' }) squel .select() .from('books') .where('author = ?', 'Jo') .fields(['title', 'author', 'year'])