{"thread":{"id":"58595","subject":"Git bug report","startedAt":"2022-10-10T23:12:14Z","lastAt":"2022-10-10T23:12:14Z","messageCount":1,"participants":["Camden Narzt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"464541","messageId":"7E47933A-00E7-4FD0-9A4E-4AE4EC0D34C9@phusion.nl","threadId":"58595","inReplyTo":null,"subject":"Git bug report","fromName":"Camden Narzt","fromEmail":"camden@phusion.nl","sentAt":"2022-10-10T23:09:38Z","receivedAt":"2022-10-10T23:12:14Z","isPatch":false,"sender":{"key":"camden@phusion.nl","avatar":null},"body":"What did you do before the bug happened? (Steps to reproduce your issue)\n\nEnabled core.fsmonitor in ~/.gitconfig\n\nWhat did you expect to happen? (Expected behavior)\n\nFaster git status, or at the very least not slower.\n\nWhat happened instead? (Actual behavior)\n\nSignificantly slower git status.\n\nWhat's different between what you expected and what actually happened?\n\nWith the fsmonitor git status takes like 2-8s when normally it's under 1s, I expected it to be faster than normal.\n\nAnything else you want to add:\n\nI've tried apple's git (used to generate this report) and the one from homebrew (2.38.0). The repo doesn’t seem to matter much, some are a bit faster than others, but they’re all really slow.\n\nI tried to track down the slowness using trace2.perfTarget and from that it seemed to spend a lot of time doing fsync.\n\n\n\n\n[System Info]\ngit version:\ngit version 2.37.0 (Apple Git-136)\ncpu: x86_64\nno commit associated with this build\nsizeof-long: 8\nsizeof-size_t: 8\nshell-path: /bin/sh\nfeature: fsmonitor--daemon\nuname: Darwin 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22 20:17:10 PDT 2022; root:xnu-8020.140.49~2/RELEASE_X86_64 x86_64\ncompiler info: clang: 14.0.0 (clang-1400.0.29.201)\nlibc info: no libc information available\n$SHELL (typically, interactive shell): /usr/local/bin/bash\n\n\n[Enabled Hooks]"}]}