From 40215d80997566fb1ed53ac4770ac28f7406c3b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Garcia?= Date: Tue, 16 Nov 2021 21:55:09 -0300 Subject: [PATCH] Minor improvement on README file --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 650a332..5bbae8b 100644 --- a/README.md +++ b/README.md @@ -508,9 +508,12 @@ read the example tests available on our [example service](./examples/example_ser ### Benchmark Comparison -The benchmark is very good, the code is, in practical terms, as fast as sqlx. +The results of the benchmark are good: +they show that ksql is in practical terms, +as fast as sqlx which was our goal from the start. To understand the benchmark below you must know +that all tests are performed using Postgres 12.1 and that we are comparing the following tools: - ksql using the adapter that wraps database/sql @@ -520,6 +523,8 @@ that we are comparing the following tools: - pgx (with pgxpool) - gorm +For each of these tools we are running 3 different queries: + The `insert-one` query looks like: `INSERT INTO users (name, age) VALUES ($1, $2) RETURNING id`