Title: Opening a new connection takes time in GUI · Issue #66 · squirrel-sql-client/squirrel-sql-code · GitHub
Open Graph Title: Opening a new connection takes time in GUI · Issue #66 · squirrel-sql-client/squirrel-sql-code
X Title: Opening a new connection takes time in GUI · Issue #66 · squirrel-sql-client/squirrel-sql-code
Description: Among other things, looks like opening a new connection takes a lot of time in the GUI. Here's a snap of AWT thread. This is the capture only for the time before opening the new connection till the "Connecting..." dialog disappears. It t...
Open Graph Description: Among other things, looks like opening a new connection takes a lot of time in the GUI. Here's a snap of AWT thread. This is the capture only for the time before opening the new connection till the...
X Description: Among other things, looks like opening a new connection takes a lot of time in the GUI. Here's a snap of AWT thread. This is the capture only for the time before opening the new connection till...
Opengraph URL: https://github.com/squirrel-sql-client/squirrel-sql-code/issues/66
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Opening a new connection takes time in GUI","articleBody":"Among other things, looks like opening a new connection takes a lot of time in the GUI. Here's a snap of AWT thread. This is the capture only for the time before opening the new connection till the \"Connecting...\" dialog disappears. It takes more than 2 seconds for that to happen. Some of it is looks like GUI-related only, so might be something worth taking a look:\n\n```\n\"AWT-EventQueue-1\",\"3,098 ms (-0%)\",\"917 ms (-0%)\",\"3\"\n\" java.awt.EventDispatchThread.run ()\",\"3,098 ms (-0%)\",\"917 ms (-0%)\",\"3\"\n\" java.awt.EventDispatchThread.pumpEvents ()\",\"3,098 ms (-0%)\",\"917 ms (-0%)\",\"3\"\n\" java.awt.EventDispatchThread.pumpEvents ()\",\"3,098 ms (-0%)\",\"917 ms (-0%)\",\"3\"\n\" java.awt.EventDispatchThread.pumpEventsForHierarchy ()\",\"3,098 ms (-0%)\",\"917 ms (-0%)\",\"3\"\n\" java.awt.EventDispatchThread.pumpEventsForFilter ()\",\"3,098 ms (-0%)\",\"917 ms (-0%)\",\"3\"\n\" java.awt.EventDispatchThread.pumpOneEventForFilters ()\",\"3,098 ms (-0%)\",\"917 ms (-0%)\",\"3\"\n\" net.sourceforge.squirrel_sql.client.Main$1.dispatchEvent ()\",\"3,098 ms (-0%)\",\"917 ms (-0%)\",\"3\"\n\" java.awt.EventQueue.dispatchEvent ()\",\"3,098 ms (-0%)\",\"917 ms (-0%)\",\"3\"\n\" java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege ()\",\"2,796 ms (-0%)\",\"615 ms (-0%)\",\"1\"\n\" java.security.AccessController.doPrivileged ()\",\"2,796 ms (-0%)\",\"615 ms (-0%)\",\"1\"\n\" java.security.AccessController.executePrivileged ()\",\"2,796 ms (-0%)\",\"615 ms (-0%)\",\"1\"\n\" java.awt.EventQueue$4.run ()\",\"2,796 ms (-0%)\",\"615 ms (-0%)\",\"1\"\n\" java.awt.EventQueue$4.run ()\",\"2,796 ms (-0%)\",\"615 ms (-0%)\",\"1\"\n\" java.awt.EventQueue.dispatchEventImpl ()\",\"2,796 ms (-0%)\",\"615 ms (-0%)\",\"1\"\n\" java.awt.event.InvocationEvent.dispatch ()\",\"2,796 ms (-0%)\",\"615 ms (-0%)\",\"1\"\n\" net.sourceforge.squirrel_sql.client.gui.db.ConnectionInternalFrameHandler$$Lambda$374.0x00000008013038b0.run ()\",\"2,390 ms (-0%)\",\"315 ms (-0%)\",\"1\"\n\" net.sourceforge.squirrel_sql.client.gui.db.ConnectionInternalFrameHandler.lambda$createSession$1 ()\",\"2,390 ms (-0%)\",\"315 ms (-0%)\",\"1\"\n\" net.sourceforge.squirrel_sql.client.gui.db.ConnectionInternalFrameHandler.createSessionFrame ()\",\"2,390 ms (-0%)\",\"315 ms (-0%)\",\"1\"\n\" net.sourceforge.squirrel_sql.client.gui.WindowManager.createInternalFrame ()\",\"2,390 ms (-0%)\",\"315 ms (-0%)\",\"1\"\n\" net.sourceforge.squirrel_sql.client.gui.session.SessionInternalFrame.\u003cinit\u003e ()\",\"1,394 ms (-0%)\",\"118 ms (-0%)\",\"1\"\n\" net.sourceforge.squirrel_sql.client.gui.session.SessionInternalFrame.createGUI ()\",\"1,394 ms (-0%)\",\"118 ms (-0%)\",\"1\"\n\" net.sourceforge.squirrel_sql.client.gui.session.SessionPanel.initialize ()\",\"1,394 ms (-0%)\",\"118 ms (-0%)\",\"1\"\n\" net.sourceforge.squirrel_sql.client.gui.session.SessionPanel.createGUI ()\",\"1,090 ms (-0%)\",\"118 ms (-0%)\",\"1\"\n\" net.sourceforge.squirrel_sql.client.gui.session.MainPanel.\u003cinit\u003e ()\",\"1,090 ms (-0%)\",\"118 ms (-0%)\",\"1\"\n\" net.sourceforge.squirrel_sql.client.gui.session.MainPanel.addMainPanelTab ()\",\"1,090 ms (-0%)\",\"118 ms (-0%)\",\"2\"\n\" net.sourceforge.squirrel_sql.client.session.mainpanel.sqltab.BaseSQLTab.getComponent ()\",\"972 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" net.sourceforge.squirrel_sql.client.session.mainpanel.sqltab.SQLTab.createSqlPanel ()\",\"972 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" net.sourceforge.squirrel_sql.client.session.mainpanel.SQLPanel.\u003cinit\u003e ()\",\"972 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" net.sourceforge.squirrel_sql.client.session.SQLPanelAPI.\u003cinit\u003e ()\",\"972 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" net.sourceforge.squirrel_sql.client.session.filemanager.FileHandler.\u003cinit\u003e ()\",\"972 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" net.sourceforge.squirrel_sql.client.session.filemanager.FileManagementCore.\u003cinit\u003e ()\",\"972 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" net.sourceforge.squirrel_sql.client.session.filemanager.FileChooserManager.\u003cinit\u003e ()\",\"972 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" net.sourceforge.squirrel_sql.client.session.filemanager.FileChooserManager.initNewFileChooser ()\",\"972 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.JFileChooser.\u003cinit\u003e ()\",\"972 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.JFileChooser.\u003cinit\u003e ()\",\"493 ms (-0%)\",\"0.0 ms (0%)\",\"2\"\n\" javax.swing.JFileChooser.setCurrentDirectory ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" java.awt.Component.firePropertyChange ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" java.beans.PropertyChangeSupport.firePropertyChange ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" java.beans.PropertyChangeSupport.firePropertyChange ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" java.beans.PropertyChangeSupport.fire ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.plaf.metal.MetalFileChooserUI$5.propertyChange ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.plaf.metal.MetalFileChooserUI.doDirectoryChanged ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.plaf.metal.MetalFileChooserUI$DirectoryComboBoxModel.addItem ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.plaf.metal.MetalFileChooserUI$DirectoryComboBoxModel.setSelectedItem ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.AbstractListModel.fireContentsChanged ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.JComboBox.contentsChanged ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.JComboBox.selectedItemChanged ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.JComboBox.fireItemStateChanged ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.plaf.basic.BasicComboPopup$Handler.itemStateChanged ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.plaf.basic.BasicComboPopup.setListSelection ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.JList.setSelectedIndex ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.DefaultListSelectionModel.setSelectionInterval ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.DefaultListSelectionModel.changeSelection ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.DefaultListSelectionModel.changeSelection ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.DefaultListSelectionModel.fireValueChanged ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.DefaultListSelectionModel.fireValueChanged ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.DefaultListSelectionModel.fireValueChanged ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" com.formdev.flatlaf.ui.FlatListUI$$Lambda$221.0x0000000801180c78.valueChanged ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" com.formdev.flatlaf.ui.FlatListUI.lambda$createListSelectionListener$2 ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.plaf.basic.BasicListUI$Handler.valueChanged ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.plaf.basic.BasicListUI.updateLayoutState ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" com.formdev.flatlaf.ui.FlatComboBoxUI$FlatComboPopup$PopupListCellRenderer.getListCellRendererComponent ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.plaf.metal.MetalFileChooserUI$DirectoryComboBoxRenderer.getListCellRendererComponent ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.JFileChooser.getIcon ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" com.formdev.flatlaf.ui.FlatFileChooserUI$FlatFileView.getIcon ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n\" javax.swing.filechooser.FileSystemView.getSystemIcon ()\",\"399 ms (-0%)\",\"0.0 ms (0%)\",\"1\"\n```","author":{"url":"https://github.com/cebaa","@type":"Person","name":"cebaa"},"datePublished":"2025-09-08T14:26:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/66/squirrel-sql-code/issues/66"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6701e5aa-5126-1414-88c0-b459ab8b0726 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9238:3523AF:B101C98:E41D9C4:697F2D0D |
| html-safe-nonce | 02d4836c4259d494682fcdc0f2fd299223c9a552fd67c9302a8d386406b0a9eb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjM4OjM1MjNBRjpCMTAxQzk4OkU0MUQ5QzQ6Njk3RjJEMEQiLCJ2aXNpdG9yX2lkIjoiODI1NjMxMjEyNTYwNjAxNDIyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 19f4bafef531d12eadb1749bb9a893bdfaea02d401663a4508998df920f71f12 |
| hovercard-subject-tag | issue:3394461840 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/squirrel-sql-client/squirrel-sql-code/66/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e1272639ef7a099394df135cb9e20710c54b71f2b4691d8c80c0dc06ea3f39a4/squirrel-sql-client/squirrel-sql-code/issues/66 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e1272639ef7a099394df135cb9e20710c54b71f2b4691d8c80c0dc06ea3f39a4/squirrel-sql-client/squirrel-sql-code/issues/66 |
| og:image:alt | Among other things, looks like opening a new connection takes a lot of time in the GUI. Here's a snap of AWT thread. This is the capture only for the time before opening the new connection till the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cebaa |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/squirrel-sql-client/squirrel-sql-code git https://github.com/squirrel-sql-client/squirrel-sql-code.git |
| octolytics-dimension-user_id | 108697363 |
| octolytics-dimension-user_login | squirrel-sql-client |
| octolytics-dimension-repository_id | 510507055 |
| octolytics-dimension-repository_nwo | squirrel-sql-client/squirrel-sql-code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 510507055 |
| octolytics-dimension-repository_network_root_nwo | squirrel-sql-client/squirrel-sql-code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width