public inbox for [email protected]  
help / color / mirror / Atom feed
From: Hari Prasad <[email protected]>
To: [email protected]
Subject: [pgAdmin] Startup speed improvements + identified bottlenecks (related to issue #9770)
Date: Sun, 22 Mar 2026 00:22:35 +0530
Message-ID: <CAOXCN+zEsHU970s83oyHByYZC=602o9vBfbs_CJMS+p-WH_vZw@mail.gmail.com> (raw)

Hi,

I have been looking into *pgAdmin desktop startup performance and
identified multiple bottlenecks in the startup path. *A quick summary:

- Synchronous DB migrations blocking startup
- Redundant table validation on every launch
- Eager loading of all modules/blueprints
- Driver/auth registries loaded upfront
- 1s polling delay in backend readiness detection
- Sync logging during startup

As a first step, I have implemented a small fix for the polling issue
(adaptive polling instead of fixed 1000ms), which improves responsiveness
without touching backend logic. *Also, the startup feels noticeably
slower *than
expected due to the amount of synchronous work being done upfront, which is
what led me to dig into this.

*Before opening a PR *for this change, I wanted to check if this approach
is acceptable.

This is *part of ongoing work around issue #9770
<https://github.com/pgadmin-org/pgadmin4/issues/9770;, *and I plan to
address the other bottlenecks incrementally.

Thanks and regards
Hari


view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [pgAdmin] Startup speed improvements + identified bottlenecks (related to issue #9770)
  In-Reply-To: <CAOXCN+zEsHU970s83oyHByYZC=602o9vBfbs_CJMS+p-WH_vZw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox