-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbenchmarks.html
40 lines (37 loc) · 35.3 KB
/
benchmarks.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!doctype html>
<html lang="en-US" data-theme="light">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="generator" content="VuePress 2.0.0-rc.9" />
<meta name="theme" content="VuePress Theme Hope 2.0.0-rc.36" />
<style>
html {
background: var(--bg-color, #fff);
}
html[data-theme="dark"] {
background: var(--bg-color, #1d1e1f);
}
body {
background: var(--bg-color);
}
</style>
<script>
const userMode = localStorage.getItem("vuepress-theme-hope-scheme");
const systemDarkMode =
window.matchMedia &&
window.matchMedia("(prefers-color-scheme: dark)").matches;
if (userMode === "dark" || (userMode !== "light" && systemDarkMode)) {
document.documentElement.setAttribute("data-theme", "dark");
}
</script>
<meta property="og:url" content="https://psqlpy-python.github.io/benchmarks.html"><meta property="og:site_name" content="PSQLPy"><meta property="og:title" content="Benchmarks"><meta property="og:description" content="You can find our benchmark setup here. These benchmarks aren't isolated from real-production situation. We've performed benchmarks with: AioHTTP as a web framework External and ..."><meta property="og:type" content="article"><meta property="og:locale" content="en-US"><meta property="og:updated_time" content="2025-01-26T23:31:07.000Z"><meta property="article:modified_time" content="2025-01-26T23:31:07.000Z"><script type="application/ld+json">{"@context":"https://schema.org","@type":"Article","headline":"Benchmarks","image":[""],"dateModified":"2025-01-26T23:31:07.000Z","author":[]}</script><title>Benchmarks | PSQLPy</title><meta name="description" content="You can find our benchmark setup here. These benchmarks aren't isolated from real-production situation. We've performed benchmarks with: AioHTTP as a web framework External and ...">
<link rel="preload" href="/assets/style-DvihyBqM.css" as="style"><link rel="stylesheet" href="/assets/style-DvihyBqM.css">
<link rel="modulepreload" href="/assets/app-93rTScaB.js"><link rel="modulepreload" href="/assets/benchmarks.html-Ddsm_OO-.js"><link rel="modulepreload" href="/assets/plugin-vue_export-helper-DlAUqK2U.js">
<link rel="prefetch" href="/assets/index.html-9HfzK_D4.js" as="script"><link rel="prefetch" href="/assets/contribute.html-B91-CnZy.js" as="script"><link rel="prefetch" href="/assets/faq.html-DE4l6kMG.js" as="script"><link rel="prefetch" href="/assets/components_overview.html-Br0ZIjUr.js" as="script"><link rel="prefetch" href="/assets/connection.html-CFO_fcHH.js" as="script"><link rel="prefetch" href="/assets/connection_pool.html-BCLFJUz6.js" as="script"><link rel="prefetch" href="/assets/connection_pool_builder.html-DKlmldwQ.js" as="script"><link rel="prefetch" href="/assets/cursor.html-Cv2_xDrk.js" as="script"><link rel="prefetch" href="/assets/exceptions.html-DhlqVKoK.js" as="script"><link rel="prefetch" href="/assets/listener.html-Bc_4Qudi.js" as="script"><link rel="prefetch" href="/assets/results.html-fSYtSkKI.js" as="script"><link rel="prefetch" href="/assets/transaction.html-Cs8I6cQs.js" as="script"><link rel="prefetch" href="/assets/components_overview.html-7ywvaD2U.js" as="script"><link rel="prefetch" href="/assets/introduction.html-CAnQR2sC.js" as="script"><link rel="prefetch" href="/assets/lets_start.html-CSoeVZpZ.js" as="script"><link rel="prefetch" href="/assets/usage.html-5sH1KGQy.js" as="script"><link rel="prefetch" href="/assets/aiohttp.html-Ic0WR2Ql.js" as="script"><link rel="prefetch" href="/assets/blacksheep.html-xDNxAEnZ.js" as="script"><link rel="prefetch" href="/assets/fastapi.html-DOBy8A5D.js" as="script"><link rel="prefetch" href="/assets/frameworks.html-D45yF4Wm.js" as="script"><link rel="prefetch" href="/assets/litestar.html-BQS2Q-_x.js" as="script"><link rel="prefetch" href="/assets/robyn.html-x6-Qjb6q.js" as="script"><link rel="prefetch" href="/assets/predefined_row_factories.html-DH02s9R9.js" as="script"><link rel="prefetch" href="/assets/row_factories.html-uyzoohrT.js" as="script"><link rel="prefetch" href="/assets/advanced_type_usage.html-wplnacxA.js" as="script"><link rel="prefetch" href="/assets/array_types.html-frSyxH0v.js" as="script"><link rel="prefetch" href="/assets/extra_types.html-CQoZ0uXS.js" as="script"><link rel="prefetch" href="/assets/supported_types.html-BvOHYrVR.js" as="script"><link rel="prefetch" href="/assets/types.html-RL8TBeBE.js" as="script"><link rel="prefetch" href="/assets/404.html-C_ag9Cmq.js" as="script"><link rel="prefetch" href="/assets/index.html-C6ddLgVK.js" as="script"><link rel="prefetch" href="/assets/index.html-Crj4Qf_B.js" as="script"><link rel="prefetch" href="/assets/index.html-DgnKYuzF.js" as="script"><link rel="prefetch" href="/assets/index.html-BFPZRV_0.js" as="script"><link rel="prefetch" href="/assets/index.html-e1HQIq-u.js" as="script"><link rel="prefetch" href="/assets/index.html-DMcqCLQ1.js" as="script"><link rel="prefetch" href="/assets/auto-BmtazRt5.js" as="script"><link rel="prefetch" href="/assets/mermaid.core-BJQHLIlK.js" as="script"><link rel="prefetch" href="/assets/photoswipe.esm-CMg0yb1C.js" as="script"><link rel="prefetch" href="/assets/SearchResult-MxaWY33j.js" as="script">
</head>
<body>
<div id="app"><!--[--><!--[--><!--[--><span tabindex="-1"></span><a href="#main-content" class="vp-skip-link sr-only">Skip to main content</a><!--]--><!--[--><div class="theme-container has-toc"><!--[--><header id="navbar" class="vp-navbar"><div class="vp-navbar-start"><button type="button" class="vp-toggle-sidebar-button" title="Toggle Sidebar"><span class="icon"></span></button><!--[--><!----><!--]--><!--[--><a class="route-link vp-brand" href="/"><!----><!----><span class="vp-site-name">PSQLPy</span></a><!--]--><!--[--><!----><!--]--></div><div class="vp-navbar-center"><!--[--><!----><!--]--><!--[--><!----><!--]--><!--[--><!----><!--]--></div><div class="vp-navbar-end"><!--[--><!----><!--]--><!--[--><!----><div class="vp-nav-item vp-action"><a class="vp-action-link" href="https://github.com/psqlpy-python/psqlpy" target="_blank" rel="noopener noreferrer" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" class="icon github-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="github icon" style="width:1.25rem;height:1.25rem;vertical-align:middle;"><path d="M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"></path></svg></a></div><div class="vp-nav-item hide-in-mobile"><button type="button" id="appearance-switch"><svg xmlns="http://www.w3.org/2000/svg" class="icon auto-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="auto icon" style="display:block;"><path d="M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" class="icon dark-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="dark icon" style="display:none;"><path d="M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"></path></svg><svg xmlns="http://www.w3.org/2000/svg" class="icon light-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="light icon" style="display:none;"><path d="M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"></path></svg></button></div><!--[--><button type="button" class="search-pro-button" aria-label="Search"><svg xmlns="http://www.w3.org/2000/svg" class="icon search-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="search icon"><path d="M192 480a256 256 0 1 1 512 0 256 256 0 0 1-512 0m631.776 362.496-143.2-143.168A318.464 318.464 0 0 0 768 480c0-176.736-143.264-320-320-320S128 303.264 128 480s143.264 320 320 320a318.016 318.016 0 0 0 184.16-58.592l146.336 146.368c12.512 12.48 32.768 12.48 45.28 0 12.48-12.512 12.48-32.768 0-45.28"></path></svg><div class="search-pro-placeholder">Search</div><div class="search-pro-key-hints"><kbd class="search-pro-key">Ctrl</kbd><kbd class="search-pro-key">K</kbd></div></button><!--]--><!--]--><!--[--><!----><!--]--><button type="button" class="vp-toggle-navbar-button" aria-label="Toggle Navbar" aria-expanded="false" aria-controls="nav-screen"><span><span class="vp-top"></span><span class="vp-middle"></span><span class="vp-bottom"></span></span></button></div></header><!----><!--]--><!----><div class="toggle-sidebar-wrapper"><span class="arrow start"></span></div><aside id="sidebar" class="vp-sidebar"><!--[--><!----><!--]--><ul class="vp-sidebar-links"><li><a class="route-link nav-link vp-sidebar-link vp-sidebar-page" href="/" aria-label="PSQLPy documentation"><span class="font-icon icon home" style=""></span>PSQLPy documentation<!----></a></li><li><section class="vp-sidebar-group"><button class="vp-sidebar-header clickable" type="button"><!----><span class="vp-sidebar-title">The PSQLPy</span><span class="vp-arrow end"></span></button><!----></section></li><li><section class="vp-sidebar-group"><button class="vp-sidebar-header clickable" type="button"><!----><span class="vp-sidebar-title">Components Overview</span><span class="vp-arrow end"></span></button><!----></section></li><li><section class="vp-sidebar-group"><button class="vp-sidebar-header clickable" type="button"><!----><span class="vp-sidebar-title">Usage</span><span class="vp-arrow end"></span></button><!----></section></li><li><a class="route-link nav-link vp-sidebar-link vp-sidebar-page" href="/contribute.html" aria-label="Contribution guide"><!---->Contribution guide<!----></a></li><li><a class="route-link nav-link active vp-sidebar-link vp-sidebar-page active" href="/benchmarks.html" aria-label="Benchmarks"><!---->Benchmarks<!----></a></li><li><a class="route-link nav-link vp-sidebar-link vp-sidebar-page" href="/faq.html" aria-label="FAQ"><!---->FAQ<!----></a></li></ul><!--[--><!----><!--]--></aside><!--[--><main id="main-content" class="vp-page"><!--[--><!--[--><!----><!--]--><!----><nav class="vp-breadcrumb disable"></nav><div class="vp-page-title"><h1><!---->Benchmarks</h1><div class="page-info"><!----><!----><span class="page-date-info" aria-label="Writing Date📅" data-balloon-pos="up"><svg xmlns="http://www.w3.org/2000/svg" class="icon calendar-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="calendar icon"><path d="M716.4 110.137c0-18.753-14.72-33.473-33.472-33.473-18.753 0-33.473 14.72-33.473 33.473v33.473h66.993v-33.473zm-334.87 0c0-18.753-14.72-33.473-33.473-33.473s-33.52 14.72-33.52 33.473v33.473h66.993v-33.473zm468.81 33.52H716.4v100.465c0 18.753-14.72 33.473-33.472 33.473a33.145 33.145 0 01-33.473-33.473V143.657H381.53v100.465c0 18.753-14.72 33.473-33.473 33.473a33.145 33.145 0 01-33.473-33.473V143.657H180.6A134.314 134.314 0 0046.66 277.595v535.756A134.314 134.314 0 00180.6 947.289h669.74a134.36 134.36 0 00133.94-133.938V277.595a134.314 134.314 0 00-133.94-133.938zm33.473 267.877H147.126a33.145 33.145 0 01-33.473-33.473c0-18.752 14.72-33.473 33.473-33.473h736.687c18.752 0 33.472 14.72 33.472 33.473a33.145 33.145 0 01-33.472 33.473z"></path></svg><span><!----></span><meta property="datePublished" content="2025-01-26T23:31:07.000Z"></span><span class="page-pageview-info" aria-label="Page views🔢" data-balloon-pos="up"><svg xmlns="http://www.w3.org/2000/svg" class="icon eye-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="eye icon"><path d="M992 512.096c0-5.76-.992-10.592-1.28-11.136-.192-2.88-1.152-8.064-2.08-10.816-.256-.672-.544-1.376-.832-2.08-.48-1.568-1.024-3.104-1.6-4.32C897.664 290.112 707.104 160 512 160c-195.072 0-385.632 130.016-473.76 322.592-1.056 2.112-1.792 4.096-2.272 5.856a55.512 55.512 0 00-.64 1.6c-1.76 5.088-1.792 8.64-1.632 7.744-.832 3.744-1.568 11.168-1.568 11.168-.224 2.272-.224 4.032.032 6.304 0 0 .736 6.464 1.088 7.808.128 1.824.576 4.512 1.12 6.976h-.032c.448 2.08 1.12 4.096 1.984 6.08.48 1.536.992 2.976 1.472 4.032C126.432 733.856 316.992 864 512 864c195.136 0 385.696-130.048 473.216-321.696 1.376-2.496 2.24-4.832 2.848-6.912.256-.608.48-1.184.672-1.728 1.536-4.48 1.856-8.32 1.728-8.32l-.032.032c.608-3.104 1.568-7.744 1.568-13.28zM512 672c-88.224 0-160-71.776-160-160s71.776-160 160-160 160 71.776 160 160-71.776 160-160 160z"></path></svg><span id="ArtalkPV" class="vp-pageview waline-pageview-count" data-path="/benchmarks.html" data-page-key="/benchmarks.html">...</span></span><!----><!----><!----></div><hr></div><div class="vp-toc-placeholder"><aside id="toc"><!--[--><!----><!--]--><div class="vp-toc-header">On This Page<button type="button" class="print-button" title="Print"><svg xmlns="http://www.w3.org/2000/svg" class="icon print-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="print icon"><path d="M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z"></path></svg></button><div class="arrow end"></div></div><div class="vp-toc-wrapper"><ul class="vp-toc-list"><!--[--><li class="vp-toc-item"><a class="route-link vp-toc-link level2" href="#key-findings">Key findings</a></li><!----><!--]--><!--[--><li class="vp-toc-item"><a class="route-link vp-toc-link level2" href="#local-database">Local Database</a></li><!----><!--]--><!--[--><li class="vp-toc-item"><a class="route-link vp-toc-link level2" href="#external-database">External Database</a></li><!----><!--]--></ul><div class="vp-toc-marker" style="top:-1.7rem;"></div></div><!--[--><!----><!--]--></aside></div><!--[--><!----><!--]--><div class="theme-hope-content"><p>You can find our benchmark setup <a href="https://github.com/psqlpy-python/psqlpy/tree/main/psqlpy-stress" target="_blank" rel="noopener noreferrer">here<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span></a>. These benchmarks aren't isolated from real-production situation. We've performed benchmarks with:</p><ul><li>AioHTTP as a web framework</li><li>External and Local Database</li></ul><p>We checked the maximum possible RPS for the same SQL query in the same configuration.</p><p>There are two types of benchmarks:</p><ol><li>With local database</li><li>With external database</li></ol><p>In a real production system database doesn't usually locate on the same server where application runs, so if you application and database are located on the different servers, we recommend you to check <code>External Database</code>.</p><div class="hint-container important"><p class="hint-container-title">Important</p><p>For local benchmarks we use 5 connections in a connection pool and 10 processes make requests to the application, while for external database checks we use 40 connections and 100 processes make requests to the application. The main reason is external database is located on a very powerful server and can serve more requests.</p></div><h2 id="key-findings" tabindex="-1"><a class="header-anchor" href="#key-findings"><span>Key findings</span></a></h2><p>If your application and database are located on the same server, there is no significant difference between <code>AsyncPG</code>, <code>PsycoPG</code> and <code>PSQLPy</code> but still you will have performance improve by approximately 10%. However, if you have application and database located on different machines, you can get significant (up to 3 times) boost in performance.</p><h2 id="local-database" tabindex="-1"><a class="header-anchor" href="#local-database"><span>Local Database</span></a></h2><div class="vp-tabs"><div class="vp-tabs-nav" role="tablist"><button type="button" class="vp-tab-nav active" role="tab" aria-controls="tab-50-0" aria-selected="true">Simple Connection Select</button><button type="button" class="vp-tab-nav" role="tab" aria-controls="tab-50-1" aria-selected="false">Hard Connection Select</button><button type="button" class="vp-tab-nav" role="tab" aria-controls="tab-50-2" aria-selected="false">Combined Connection Query</button><button type="button" class="vp-tab-nav" role="tab" aria-controls="tab-50-3" aria-selected="false">Simple Transaction Select</button><button type="button" class="vp-tab-nav" role="tab" aria-controls="tab-50-4" aria-selected="false">Hard Transaction Select</button><button type="button" class="vp-tab-nav" role="tab" aria-controls="tab-50-5" aria-selected="false">Combined Transaction Query</button></div><!--[--><div class="vp-tab active" id="tab-50-0" role="tabpanel" aria-expanded="true"><div class="vp-tab-title">Simple Connection Select</div><!--[--><!--[--><div class="chartjs-title">Simple Connection Select</div><div class="loading-icon-wrapper chartjs-loading" style="display:flex;align-items:center;justify-content:center;height:192px;"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" preserveAspectRatio="xMidYMid" viewBox="25 25 50 50"><animateTransform attributeName="transform" type="rotate" dur="2s" keyTimes="0;1" repeatCount="indefinite" values="0;360"></animateTransform><circle cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="1,200;90,200;1,200"></animate><animate attributeName="stroke-dashoffset" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="0;-35px;-125px"></animate></circle></svg></div><div class="chartjs-wrapper" id="chart-52" style="display:none;"><canvas height="400"></canvas></div><!--]--><!--]--></div><div class="vp-tab" id="tab-50-1" role="tabpanel" aria-expanded="false"><div class="vp-tab-title">Hard Connection Select</div><!--[--><!--[--><div class="chartjs-title">Hard Connection Select</div><div class="loading-icon-wrapper chartjs-loading" style="display:flex;align-items:center;justify-content:center;height:192px;"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" preserveAspectRatio="xMidYMid" viewBox="25 25 50 50"><animateTransform attributeName="transform" type="rotate" dur="2s" keyTimes="0;1" repeatCount="indefinite" values="0;360"></animateTransform><circle cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="1,200;90,200;1,200"></animate><animate attributeName="stroke-dashoffset" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="0;-35px;-125px"></animate></circle></svg></div><div class="chartjs-wrapper" id="chart-57" style="display:none;"><canvas height="400"></canvas></div><!--]--><!--]--></div><div class="vp-tab" id="tab-50-2" role="tabpanel" aria-expanded="false"><div class="vp-tab-title">Combined Connection Query</div><!--[--><!--[--><div class="chartjs-title">Combined Connection Query</div><div class="loading-icon-wrapper chartjs-loading" style="display:flex;align-items:center;justify-content:center;height:192px;"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" preserveAspectRatio="xMidYMid" viewBox="25 25 50 50"><animateTransform attributeName="transform" type="rotate" dur="2s" keyTimes="0;1" repeatCount="indefinite" values="0;360"></animateTransform><circle cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="1,200;90,200;1,200"></animate><animate attributeName="stroke-dashoffset" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="0;-35px;-125px"></animate></circle></svg></div><div class="chartjs-wrapper" id="chart-62" style="display:none;"><canvas height="400"></canvas></div><!--]--><!--]--></div><div class="vp-tab" id="tab-50-3" role="tabpanel" aria-expanded="false"><div class="vp-tab-title">Simple Transaction Select</div><!--[--><!--[--><div class="chartjs-title">Simple Transaction Select</div><div class="loading-icon-wrapper chartjs-loading" style="display:flex;align-items:center;justify-content:center;height:192px;"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" preserveAspectRatio="xMidYMid" viewBox="25 25 50 50"><animateTransform attributeName="transform" type="rotate" dur="2s" keyTimes="0;1" repeatCount="indefinite" values="0;360"></animateTransform><circle cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="1,200;90,200;1,200"></animate><animate attributeName="stroke-dashoffset" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="0;-35px;-125px"></animate></circle></svg></div><div class="chartjs-wrapper" id="chart-67" style="display:none;"><canvas height="400"></canvas></div><!--]--><!--]--></div><div class="vp-tab" id="tab-50-4" role="tabpanel" aria-expanded="false"><div class="vp-tab-title">Hard Transaction Select</div><!--[--><!--[--><div class="chartjs-title">Hard Transaction Select</div><div class="loading-icon-wrapper chartjs-loading" style="display:flex;align-items:center;justify-content:center;height:192px;"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" preserveAspectRatio="xMidYMid" viewBox="25 25 50 50"><animateTransform attributeName="transform" type="rotate" dur="2s" keyTimes="0;1" repeatCount="indefinite" values="0;360"></animateTransform><circle cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="1,200;90,200;1,200"></animate><animate attributeName="stroke-dashoffset" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="0;-35px;-125px"></animate></circle></svg></div><div class="chartjs-wrapper" id="chart-72" style="display:none;"><canvas height="400"></canvas></div><!--]--><!--]--></div><div class="vp-tab" id="tab-50-5" role="tabpanel" aria-expanded="false"><div class="vp-tab-title">Combined Transaction Query</div><!--[--><!--[--><div class="chartjs-title">Combined Transaction Query</div><div class="loading-icon-wrapper chartjs-loading" style="display:flex;align-items:center;justify-content:center;height:192px;"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" preserveAspectRatio="xMidYMid" viewBox="25 25 50 50"><animateTransform attributeName="transform" type="rotate" dur="2s" keyTimes="0;1" repeatCount="indefinite" values="0;360"></animateTransform><circle cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="1,200;90,200;1,200"></animate><animate attributeName="stroke-dashoffset" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="0;-35px;-125px"></animate></circle></svg></div><div class="chartjs-wrapper" id="chart-77" style="display:none;"><canvas height="400"></canvas></div><!--]--><!--]--></div><!--]--></div><h2 id="external-database" tabindex="-1"><a class="header-anchor" href="#external-database"><span>External Database</span></a></h2><div class="vp-tabs"><div class="vp-tabs-nav" role="tablist"><button type="button" class="vp-tab-nav active" role="tab" aria-controls="tab-85-0" aria-selected="true">Simple Connection Select</button><button type="button" class="vp-tab-nav" role="tab" aria-controls="tab-85-1" aria-selected="false">Hard Connection Select</button><button type="button" class="vp-tab-nav" role="tab" aria-controls="tab-85-2" aria-selected="false">Combined Connection Query</button><button type="button" class="vp-tab-nav" role="tab" aria-controls="tab-85-3" aria-selected="false">Simple Transaction Select</button><button type="button" class="vp-tab-nav" role="tab" aria-controls="tab-85-4" aria-selected="false">Hard Transaction Select</button><button type="button" class="vp-tab-nav" role="tab" aria-controls="tab-85-5" aria-selected="false">Combined Transaction Query</button></div><!--[--><div class="vp-tab active" id="tab-85-0" role="tabpanel" aria-expanded="true"><div class="vp-tab-title">Simple Connection Select</div><!--[--><!--[--><div class="chartjs-title">Simple Connection Select</div><div class="loading-icon-wrapper chartjs-loading" style="display:flex;align-items:center;justify-content:center;height:192px;"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" preserveAspectRatio="xMidYMid" viewBox="25 25 50 50"><animateTransform attributeName="transform" type="rotate" dur="2s" keyTimes="0;1" repeatCount="indefinite" values="0;360"></animateTransform><circle cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="1,200;90,200;1,200"></animate><animate attributeName="stroke-dashoffset" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="0;-35px;-125px"></animate></circle></svg></div><div class="chartjs-wrapper" id="chart-87" style="display:none;"><canvas height="400"></canvas></div><!--]--><!--]--></div><div class="vp-tab" id="tab-85-1" role="tabpanel" aria-expanded="false"><div class="vp-tab-title">Hard Connection Select</div><!--[--><!--[--><div class="chartjs-title">Hard Connection Select</div><div class="loading-icon-wrapper chartjs-loading" style="display:flex;align-items:center;justify-content:center;height:192px;"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" preserveAspectRatio="xMidYMid" viewBox="25 25 50 50"><animateTransform attributeName="transform" type="rotate" dur="2s" keyTimes="0;1" repeatCount="indefinite" values="0;360"></animateTransform><circle cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="1,200;90,200;1,200"></animate><animate attributeName="stroke-dashoffset" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="0;-35px;-125px"></animate></circle></svg></div><div class="chartjs-wrapper" id="chart-92" style="display:none;"><canvas height="400"></canvas></div><!--]--><!--]--></div><div class="vp-tab" id="tab-85-2" role="tabpanel" aria-expanded="false"><div class="vp-tab-title">Combined Connection Query</div><!--[--><!--[--><div class="chartjs-title">Combined Connection Query</div><div class="loading-icon-wrapper chartjs-loading" style="display:flex;align-items:center;justify-content:center;height:192px;"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" preserveAspectRatio="xMidYMid" viewBox="25 25 50 50"><animateTransform attributeName="transform" type="rotate" dur="2s" keyTimes="0;1" repeatCount="indefinite" values="0;360"></animateTransform><circle cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="1,200;90,200;1,200"></animate><animate attributeName="stroke-dashoffset" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="0;-35px;-125px"></animate></circle></svg></div><div class="chartjs-wrapper" id="chart-97" style="display:none;"><canvas height="400"></canvas></div><!--]--><!--]--></div><div class="vp-tab" id="tab-85-3" role="tabpanel" aria-expanded="false"><div class="vp-tab-title">Simple Transaction Select</div><!--[--><!--[--><div class="chartjs-title">Simple Transaction Select</div><div class="loading-icon-wrapper chartjs-loading" style="display:flex;align-items:center;justify-content:center;height:192px;"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" preserveAspectRatio="xMidYMid" viewBox="25 25 50 50"><animateTransform attributeName="transform" type="rotate" dur="2s" keyTimes="0;1" repeatCount="indefinite" values="0;360"></animateTransform><circle cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="1,200;90,200;1,200"></animate><animate attributeName="stroke-dashoffset" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="0;-35px;-125px"></animate></circle></svg></div><div class="chartjs-wrapper" id="chart-102" style="display:none;"><canvas height="400"></canvas></div><!--]--><!--]--></div><div class="vp-tab" id="tab-85-4" role="tabpanel" aria-expanded="false"><div class="vp-tab-title">Hard Transaction Select</div><!--[--><!--[--><div class="chartjs-title">Hard Transaction Select</div><div class="loading-icon-wrapper chartjs-loading" style="display:flex;align-items:center;justify-content:center;height:192px;"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" preserveAspectRatio="xMidYMid" viewBox="25 25 50 50"><animateTransform attributeName="transform" type="rotate" dur="2s" keyTimes="0;1" repeatCount="indefinite" values="0;360"></animateTransform><circle cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="1,200;90,200;1,200"></animate><animate attributeName="stroke-dashoffset" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="0;-35px;-125px"></animate></circle></svg></div><div class="chartjs-wrapper" id="chart-107" style="display:none;"><canvas height="400"></canvas></div><!--]--><!--]--></div><div class="vp-tab" id="tab-85-5" role="tabpanel" aria-expanded="false"><div class="vp-tab-title">Combined Transaction Query</div><!--[--><!--[--><div class="chartjs-title">Combined Transaction Query</div><div class="loading-icon-wrapper chartjs-loading" style="display:flex;align-items:center;justify-content:center;height:192px;"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" preserveAspectRatio="xMidYMid" viewBox="25 25 50 50"><animateTransform attributeName="transform" type="rotate" dur="2s" keyTimes="0;1" repeatCount="indefinite" values="0;360"></animateTransform><circle cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="1,200;90,200;1,200"></animate><animate attributeName="stroke-dashoffset" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="0;-35px;-125px"></animate></circle></svg></div><div class="chartjs-wrapper" id="chart-112" style="display:none;"><canvas height="400"></canvas></div><!--]--><!--]--></div><!--]--></div></div><!--[--><!----><!--]--><footer class="vp-page-meta"><div class="vp-meta-item edit-link"><a href="https://github.com/psqlpy-python/psqlpy/edit/main/benchmarks.md" rel="noopener noreferrer" target="_blank" aria-label="Edit this page" class="nav-link vp-meta-label"><!--[--><svg xmlns="http://www.w3.org/2000/svg" class="icon edit-icon" viewBox="0 0 1024 1024" fill="currentColor" aria-label="edit icon"><path d="M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"></path><path d="M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"></path></svg><!--]-->Edit this page<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">open in new window</span></span><!----></a></div><div class="vp-meta-item git-info"><div class="update-time"><span class="vp-meta-label">Last update: </span><!----></div><div class="contributors"><span class="vp-meta-label">Contributors: </span><!--[--><!--[--><span class="vp-meta-info" title="email: chandr@chandr.net">chandr-andr (Kiselev Aleksandr)</span><!--]--><!--]--></div></div></footer><nav class="vp-page-nav"><a class="route-link nav-link prev" href="/contribute.html" aria-label="Contribution guide"><div class="hint"><span class="arrow start"></span>Prev</div><div class="link"><!---->Contribution guide</div></a><a class="route-link nav-link next" href="/faq.html" aria-label="FAQ"><div class="hint">Next<span class="arrow end"></span></div><div class="link">FAQ<!----></div></a></nav><!----><!--[--><!----><!--]--><!--]--></main><!--]--><!----></div><!--]--><!--]--><!--[--><!----><!----><!--]--><!--]--></div>
<script type="module" src="/assets/app-93rTScaB.js" defer></script>
</body>
</html>