From 3121528deb0fb8664baadee4ec57a52199f5ba2f Mon Sep 17 00:00:00 2001 From: larkee <31196561+larkee@users.noreply.github.com> Date: Tue, 23 Nov 2021 14:16:50 +1100 Subject: [PATCH 1/2] docs: update benchmarks --- BENCHMARKS.md | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/BENCHMARKS.md b/BENCHMARKS.md index 2d7c4f20..dcad9e86 100644 --- a/BENCHMARKS.md +++ b/BENCHMARKS.md @@ -8,17 +8,19 @@ The test suite requirements: Use `PROJECT`, `INSTANCE` and `DATABASE` module constants to set a project to execute tests on. -# 07-11-2021 +The following measurements were made on a VM instance. + +# 23-11-2021 |Test|mean, sec|error|std_dev| |----|-------|-----|--------| -|SPANNER insert_one_row_with_fetch_after| 0.91|0.01|0.09| -|ALCHEMY insert_one_row_with_fetch_after| 1.07| 0.0|0.03| -|SPANNER read_one_row| 0.33| 0.0| 0.01| -|ALCHEMY read_one_row| 0.3| 0.0| 0.01| -|SPANNER insert_many_rows| 1.37| 0.02| 0.12| -|ALCHEMY insert_many_rows| 24.41| 0.07| 0.49| -|SPANNER select_many_rows| 0.31| 0.02| 0.08| -|ALCHEMY select_many_rows| 0.22| 0.03| 0.01| -|SPANNER insert_many_rows_with_mutations| 0.34| 0.0| 0.03| -|SQLALCHEMY insert_many_rows_with_mutations| 25.1| 0.03| 0.31| +|SPANNER insert_one_row_with_fetch_after| 0.16|0.0|0.03| +|ALCHEMY insert_one_row_with_fetch_after| 0.11| 0.0|0.02| +|SPANNER read_one_row| 0.03| 0.0| 0.01| +|ALCHEMY read_one_row| 0.01| 0.0| 0.0| +|SPANNER insert_many_rows| 0.74| 0.01| 0.1| +|ALCHEMY insert_many_rows| 0.35| 0.01| 0.07| +|SPANNER select_many_rows| 0.04| 0.0| 0.01| +|ALCHEMY select_many_rows| 0.03| 0.0| 0.0| +|SPANNER insert_many_rows_with_mutations| 0.07| 0.0| 0.03| +|SQLALCHEMY insert_many_rows_with_mutations| 0.32| 0.01| 0.06| From adddfb44b29f88b513b6d9ab5d7b86b9ef955ff6 Mon Sep 17 00:00:00 2001 From: larkee Date: Thu, 25 Nov 2021 15:16:35 +1100 Subject: [PATCH 2/2] docs: update benchmark results --- BENCHMARKS.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/BENCHMARKS.md b/BENCHMARKS.md index dcad9e86..14c44358 100644 --- a/BENCHMARKS.md +++ b/BENCHMARKS.md @@ -10,17 +10,17 @@ Use `PROJECT`, `INSTANCE` and `DATABASE` module constants to set a project to ex The following measurements were made on a VM instance. -# 23-11-2021 +# 25-11-2021 |Test|mean, sec|error|std_dev| |----|-------|-----|--------| |SPANNER insert_one_row_with_fetch_after| 0.16|0.0|0.03| |ALCHEMY insert_one_row_with_fetch_after| 0.11| 0.0|0.02| -|SPANNER read_one_row| 0.03| 0.0| 0.01| +|SPANNER read_one_row| 0.04| 0.0| 0.01| |ALCHEMY read_one_row| 0.01| 0.0| 0.0| -|SPANNER insert_many_rows| 0.74| 0.01| 0.1| -|ALCHEMY insert_many_rows| 0.35| 0.01| 0.07| +|SPANNER insert_many_rows| 0.33| 0.01| 0.05| +|ALCHEMY insert_many_rows| 0.32| 0.01| 0.06| |SPANNER select_many_rows| 0.04| 0.0| 0.01| |ALCHEMY select_many_rows| 0.03| 0.0| 0.0| |SPANNER insert_many_rows_with_mutations| 0.07| 0.0| 0.03| -|SQLALCHEMY insert_many_rows_with_mutations| 0.32| 0.01| 0.06| +|SQLALCHEMY insert_many_rows_with_mutations| 0.31| 0.01| 0.07|