Skip to content

Commit 4d8085a

Browse files
authored
Merge branch 'main' into feature/add-geo-types
2 parents 027f01f + ac92908 commit 4d8085a

File tree

7 files changed

+704
-17
lines changed

7 files changed

+704
-17
lines changed

README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,4 @@ async def main() -> None:
6565

6666
## Benchmarks
6767

68-
We have made some benchmark to compare `PSQLPy`, `AsyncPG`, `Psycopg3`.
69-
Main idea is do not compare clear drivers because there are a few situations in which you need to use only driver without any other dependencies.
70-
71-
**So infrastructure consists of:**
72-
73-
1. AioHTTP
74-
2. PostgreSQL driver (`PSQLPy`, `AsyncPG`, `Psycopg3`)
75-
3. PostgreSQL v15. Server is located in other part of the world, because we want to simulate network problems.
76-
4. Grafana (dashboards)
77-
5. InfluxDB
78-
6. JMeter (for load testing)
79-
80-
The results are very promising! `PSQLPy` is faster than `AsyncPG` at best by 2 times, at worst by 45%. `PsycoPG` is 3.5 times slower than `PSQLPy` in the worst case, 60% in the best case.
68+
You can find benchmarks with visualization on our [docs](https://psqlpy-python.github.io/benchmarks.html)

docs/.vuepress/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export default defineUserConfig({
3737
mdEnhance: {
3838
tabs: true,
3939
mermaid: true,
40+
chart: true,
4041
},
4142

4243
sitemap: {

docs/.vuepress/sidebar.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,10 @@ export default sidebar({
7070
prefix: "/contribution_guide",
7171
link: "/contribute.md"
7272
},
73+
{
74+
text: "Benchmarks",
75+
prefix: "/benchmarks",
76+
link: "/benchmarks.md"
77+
},
7378
],
7479
});

docs/.vuepress/theme.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export default hopeTheme({
5555
imgSize: true,
5656
include: true,
5757
mark: true,
58+
chart: true,
5859
stylize: [
5960
{
6061
matcher: "Recommended",

0 commit comments

Comments
 (0)