Commit Graph

20 Commits

Author SHA1 Message Date
Nikita Volkov
7dd3b2b72a Add benchmarks 2024-04-22 20:08:18 +03:00
Nikita Volkov
f2f747e6c6 Switch to ImportQualifiedPost 2024-04-19 07:38:30 +03:00
Nikita Volkov
afab914c86 Lint 2024-01-27 00:14:28 +03:00
Nikita Volkov
c6c5715a45 Modernize 2024-01-27 00:12:18 +03:00
nikita-volkov
55dc24bbd5 Format 2023-10-12 23:24:12 +00:00
Nikita Volkov
75ffa3f13c Format 2022-09-25 15:28:34 +03:00
Nikita Volkov
b64a7015a1 Format with ormolu 2022-06-20 13:55:04 +03:00
Nikita Volkov
3941628285 Fix the benchmarks 2021-03-23 16:16:06 +03:00
Nikita Volkov
35435c0e01 Update the deps 2021-03-23 15:06:42 +03:00
Nikita Volkov
3de214198a Fix the compatibility issues in benchmarks and tests 2020-03-21 20:48:16 +03:00
Nikita Volkov
590be494bc Redesign decoders 2019-05-21 01:20:57 +03:00
Nikita Volkov
509dafdfbf Rename Query to Statement 2018-05-23 18:33:34 +08:00
Nikita Volkov
726097efd5 Rename some result decoders 2018-05-23 18:11:16 +08:00
Nikita Volkov
8eb3830a7f Make the codec names more consistent 2018-05-23 18:09:16 +08:00
Nikita Volkov
ea4874ca7e Reimplement to add support for query param printing in failed queries 2018-05-23 17:58:24 +08:00
Nikita Volkov
3e6ce84d1e Update the benchmark
Results:
benchmarking largeResultInVector
time                 652.5 μs   (647.1 μs .. 660.1 μs)
                     0.999 R²   (0.998 R² .. 1.000 R²)
mean                 659.8 μs   (654.2 μs .. 673.0 μs)
std dev              28.95 μs   (14.60 μs .. 52.43 μs)
variance introduced by outliers: 36% (moderately inflated)

benchmarking largeResultInList
time                 692.7 μs   (686.9 μs .. 700.0 μs)
                     0.999 R²   (0.998 R² .. 0.999 R²)
mean                 708.7 μs   (701.4 μs .. 721.6 μs)
std dev              31.04 μs   (22.26 μs .. 49.84 μs)
variance introduced by outliers: 36% (moderately inflated)

benchmarking manyLargeResults
time                 794.9 ms   (778.6 ms .. 817.3 ms)
                     1.000 R²   (1.000 R² .. 1.000 R²)
mean                 810.9 ms   (803.9 ms .. 816.7 ms)
std dev              9.339 ms   (0.0 s .. 10.14 ms)
variance introduced by outliers: 19% (moderately inflated)

benchmarking manySmallResults
time                 35.02 ms   (34.67 ms .. 35.26 ms)
                     0.999 R²   (0.999 R² .. 1.000 R²)
mean                 34.93 ms   (34.60 ms .. 35.22 ms)
std dev              609.2 μs   (433.5 μs .. 924.9 μs)
2017-10-09 18:44:11 +03:00
Nikita Volkov
2d5a248f3f Connect through socket in benchmarks 2017-06-06 09:38:02 +03:00
Nikita Volkov
22b5f8bb33 Revert "Enlarge the benchmark samples"
This reverts commit e41f83fbfe.
2017-04-14 00:43:39 +03:00
Nikita Volkov
e41f83fbfe Enlarge the benchmark samples
Results:

benchmarking largeResultInVector
time                 7.644 ms   (7.531 ms .. 7.805 ms)
                     0.999 R²   (0.998 R² .. 1.000 R²)
mean                 7.590 ms   (7.552 ms .. 7.633 ms)
std dev              114.4 μs   (84.40 μs .. 168.9 μs)

benchmarking largeResultInList
time                 9.688 ms   (9.597 ms .. 9.762 ms)
                     0.999 R²   (0.999 R² .. 1.000 R²)
mean                 9.686 ms   (9.631 ms .. 9.763 ms)
std dev              181.3 μs   (120.3 μs .. 291.4 μs)

benchmarking manySmallResults
time                 53.05 ms   (52.51 ms .. 53.65 ms)
                     1.000 R²   (0.999 R² .. 1.000 R²)
mean                 52.71 ms   (52.46 ms .. 52.98 ms)
std dev              468.0 μs   (315.9 μs .. 607.8 μs)
2017-04-13 15:41:32 +03:00
Nikita Volkov
e9cf07fb30 New benchmarks 2017-04-10 17:55:58 +03:00