-
Notifications
You must be signed in to change notification settings - Fork 270
Closed
Description
Current Behavior (bug)
gelus ➜ ~ REPORTTIME=1
gelus ➜ ~ devbox global shellenv
export PATH="${XDG_DATA_HOME:-$HOME/.local/share}/devbox/global/current/bin${PATH+:$PATH}";
hash -r
devbox global shellenv 10.39s user 0.65s system 128% cpu 8.575 total
gelus ➜ ~ DO_NOT_TRACK=1 devbox global shellenv # executes instantly
export PATH="${XDG_DATA_HOME:-$HOME/.local/share}/devbox/global/current/bin${PATH+:$PATH}";
hash -r
Expected Behavior (fix)
Telemetry doesn't slowdown the tool.
From the source code, looks like an event is sent to segment for every invocation of the command line tool, cd
-ing with direnv and opening a new shell are unusably slow. Thanks for keeping the DO_NOT_TRACK flag to disable it!
Additional context
gelus ➜ ~ devbox version -v
Version: 0.4.9
Platform: linux_amd64
Commit: b03f0d26da3df4318f2a8d70c0531c0c77d0d33c
Commit Time: 2023-05-02T23:26:52Z
Go Version: go1.20.3
Launcher: 0.2.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working