You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Been using git-butler on WSL for a while now, running it in linux with it rendering via xwindows/wslg, and this issue has been persistent since the mid v0.13's.
Essentially on startup, it will open the window, render a blank screen and hang for ~5-10 minutes, then eventually get through whatever is going on and work fine. While it's hanging, things like update notifications will still popup, but they can't be interacted with.
The repo in question is big, but not massive:
❯ git ls-files | wc -l
10855
I've pulled a log with debug from the last instance, I've put line breaks in at the point where it hangs, you can see from the timestamps this one took ~7 minutes.
Would welcome any thoughts or ideas here, I've seen a few issues on the topic of performance, and tried various fixes. At the moment I'm still able to use git-butler and it's so far worth it even despite the slow startup time. But it does irk sometimes esp b/c if it does go down for any reason and I need to push a quick change, I can't actually interact with the repo via the command line anymore either without git-butler opening up so that I can 'unload' it.
How to reproduce (Optional)
No response
Expected behavior (Optional)
No response
Relevant log output (Optional)
2025-01-23T20:59:17.387452Z INFO get_user: crates/gitbutler-tauri/src/users.rs:10: close time.busy=888µs time.idle=52.7µs
2025-01-23T20:59:17.392664Z DEBUG resolve: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.9/src/client/legacy/connect/dns.rs:124: resolving host="app.gitbutler.com" host=app.gitbutler.com
2025-01-23T20:59:17.418046Z DEBUG resolve: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.9/src/client/legacy/connect/dns.rs:121: close time.busy=25.4ms time.idle=223µs host=app.gitbutler.com
2025-01-23T20:59:17.418310Z DEBUG /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.9/src/client/legacy/connect/http.rs:646: connecting to 52.201.161.45:443
2025-01-23T20:59:17.471046Z INFO list_projects: crates/gitbutler-tauri/src/projects.rs:46: close time.busy=35.4µs time.idle=41.4µs
2025-01-23T20:59:17.520869Z DEBUG /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.9/src/client/legacy/connect/http.rs:649: connected to 52.201.161.45:443
2025-01-23T20:59:17.547647Z INFO get_project: crates/gitbutler-tauri/src/projects.rs:32: close time.busy=4.58ms time.idle=44.4µs id=8bdfdf16-006a-4ca8-b21a-c348e398d84f no_validation=None
2025-01-23T20:59:17.851149Z DEBUG /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.9/src/client/legacy/pool.rs:396: pooling idle connection for ("https", app.gitbutler.com)
<==== hangs here ====>
2025-01-23T21:06:27.941804Z DEBUG set_project_active:set_project_to_window: crates/gitbutler-tauri/src/window.rs:167: Maintaining 1 Windows id=8bdfdf16-006a-4ca8-b21a-c348e398d84f window="main"
2025-01-23T21:06:27.941815Z DEBUG set_project_active:set_project_to_window:file monitor: crates/gitbutler-watcher/src/file_monitor.rs:116: file watcher started project_id=8bdfdf16-006a-4ca8-b21a-c348e398d84f id=8bdfdf16-006a-4ca8-b21a-c348e398d84f window="main" project_id=8bdfdf16-006a-4ca8-b21a-c348e398d84f
2025-01-23T21:06:27.972889Z INFO git_head: crates/gitbutler-tauri/src/commands.rs:56: close time.busy=236µs time.idle=42.2µs project_id=8bdfdf16-006a-4ca8-b21a-c348e398d84f
2025-01-23T21:06:27.974522Z INFO get_base_branch_data:get_base_branch_data: crates/gitbutler-branch-actions/src/actions.rs:140: close time.busy=4.10ms time.idle=43.7µs project_id=8bdfdf16-006a-4ca8-b21a-c348e398d84f
2025-01-23T21:06:27.974577Z INFO get_base_branch_data: crates/gitbutler-tauri/src/virtual_branches.rs:138: close time.busy=4.22ms time.idle=38.5µs project_id=8bdfdf16-006a-4ca8-b21a-c348e398d84f
2025-01-23T21:06:27.986129Z INFO list_branches: crates/gitbutler-tauri/src/virtual_branches.rs:433: close time.busy=18.9ms time.idle=45.2µs project_id=8bdfdf16-006a-4ca8-b21a-c348e398d84f filter=Some(BranchListingFilter { local: None, applied: None })
2025-01-23T21:06:27.993336Z INFO operating_mode: crates/gitbutler-tauri/src/modes.rs:16: close time.busy=297µs time.idle=45.1µs project_id=8bdfdf16-006a-4ca8-b21a-c348e398d84f
2025-01-23T21:06:28.019279Z INFO get_branch_listing_details: crates/gitbutler-tauri/src/virtual_branches.rs:445: close time.busy=7.44ms time.idle=67.1µs project_id=8bdfdf16-006a-4ca8-b21a-c348e398d84f branch_names=[]
2025-01-23T21:06:28.110980Z DEBUG list_virtual_branches:get_workspace_head: crates/gitbutler-branch-actions/src/integration.rs:34: close time.busy=15.7ms time.idle=45.3µs project_id=8bdfdf16-006a-4ca8-b21a-c348e398d84f
2025-01-23T21:06:28.140316Z DEBUG list_virtual_branches:workdir:ignore_large_files_in_diffs: crates/gitbutler-command-context/src/repository_ext.rs:15: close time.busy=23.7ms time.idle=58.8µs project_id=8bdfdf16-006a-4ca8-b21a-c348e398d84f commit_oid=12b0962e0b3c1a8d741800c92c6d9ff87c90be61 limit_in_bytes=50000000
2025-01-23T21:06:28.198481Z DEBUG crates/gitbutler-watcher/vendor/debouncer/src/lib.rs:610: Flushed 4 events
2025-01-23T21:06:28.198649Z INFO set_project_active:set_project_to_window:file monitor:handle debounced events: crates/gitbutler-watcher/src/file_monitor.rs:119: close time.busy=70.1µs time.idle=40.9µs id=8bdfdf16-006a-4ca8-b21a-c348e398d84f window="main" project_id=8bdfdf16-006a-4ca8-b21a-c348e398d84f fs_events=4 fs_events=4 ignored=0 ignored=0 git_noop=1 git_noop=1 git=1 git=1 project=0 project=0 git_dedup=1 git_dedup=1
2025-01-23T21:06:28.198957Z INFO handle: crates/gitbutler-watcher/src/handler.rs:54: close time.busy=71.8µs time.idle=35.1µs event=GitFileChange(8bdfdf16-006a-4ca8-b21a-c348e398d84f, FETCH_HEAD)
2025-01-23T21:06:28.203512Z DEBUG list_virtual_branches:workdir: crates/gitbutler-diff/src/diff.rs:139: close time.busy=92.5ms time.idle=44.7µs project_id=8bdfdf16-006a-4ca8-b21a-c348e398d84f commit_oid=12b0962e0b3c1a8d741800c92c6d9ff87c90be61
2025-01-23T21:06:28.242871Z DEBUG list_virtual_branches:list_virtual_branches_cached:get_applied_status_cached: crates/gitbutler-branch-actions/src/status.rs:47: close time.busy=39.1ms time.idle=42.3µs project_id=8bdfdf16-006a-4ca8-b21a-c348e398d84f
2025-01-23T21:06:28.246847Z DEBUG list_virtual_branches:list_virtual_branches_cached:handle branches: crates/gitbutler-branch-actions/src/virtual.rs:346: close time.busy=3.90ms time.idle=47.0µs project_id=8bdfdf16-006a-4ca8-b21a-c348e398d84f num_branches=3
2025-01-23T21:06:28.247048Z DEBUG list_virtual_branches:list_virtual_branches_cached: crates/gitbutler-branch-actions/src/virtual.rs:319: close time.busy=43.5ms time.idle=39.9µs project_id=8bdfdf16-006a-4ca8-b21a-c348e398d84f
2025-01-23T21:06:28.250567Z INFO list_virtual_branches: crates/gitbutler-tauri/src/virtual_branches.rs:48: close time.busy=156ms time.idle=46.6µs project_id=8bdfdf16-006a-4ca8-b21a-c348e398d84f
2025-01-23T21:06:28.283916Z INFO list_branches: crates/gitbutler-tauri/src/virtual_branches.rs:433: close time.busy=9.04ms time.idle=52.6µs project_id=8bdfdf16-006a-4ca8-b21a-c348e398d84f filter=Some(BranchListingFilter { local: None, applied: None })
The text was updated successfully, but these errors were encountered:
Thanks so much for reporting, it's super helpful to learn how GitButler is used so we are aware and can make it better!
We are working on version 0.15 which will definitely address these issues even though it's hard to say how that translates to performance exactly. I hope you will be able to try it when it is released in the coming months, and also that we will be able to test on WSL as well.
Version
0.14.6
Operating System
Linux
Distribution Method
AppImage (Linux)
Describe the issue
Been using git-butler on WSL for a while now, running it in linux with it rendering via xwindows/wslg, and this issue has been persistent since the mid v0.13's.
Essentially on startup, it will open the window, render a blank screen and hang for ~5-10 minutes, then eventually get through whatever is going on and work fine. While it's hanging, things like update notifications will still popup, but they can't be interacted with.
The repo in question is big, but not massive:
❯ git ls-files | wc -l 10855
I've pulled a log with debug from the last instance, I've put line breaks in at the point where it hangs, you can see from the timestamps this one took ~7 minutes.
Would welcome any thoughts or ideas here, I've seen a few issues on the topic of performance, and tried various fixes. At the moment I'm still able to use git-butler and it's so far worth it even despite the slow startup time. But it does irk sometimes esp b/c if it does go down for any reason and I need to push a quick change, I can't actually interact with the repo via the command line anymore either without git-butler opening up so that I can 'unload' it.
How to reproduce (Optional)
No response
Expected behavior (Optional)
No response
Relevant log output (Optional)
The text was updated successfully, but these errors were encountered: