Activity log for bug #2073306

Date Who What changed Old value New value Message
2024-07-16 21:25:37 bombela bug added bug
2024-07-16 21:27:35 bombela description On my machine, fish shell takes ~9ms to startup. With the flatpak package installed, it takes ~21ms. Timing with /bin/time (resolution 10ms): ~> exec sh $ time -f '%es' /bin/fish -c exit 0.00s $ sudo apt-get install flatpak -y >/dev/null $ time -f '%es' /bin/fish -c exit 0.01s $ sudo apt-get purge flatpak -y >/dev/null $ time -f '%es' /bin/fish -c exit 0.00s Time with fish timer (resolution 1µs, includes active fish shell processing time): ~> time /bin/fish -c exit ________________________________________________________ Executed in 9.14 millis fish external usr time 5.23 millis 269.00 micros 4.96 millis sys time 4.25 millis 176.00 micros 4.07 millis ~> sudo apt-get install flatpak -y > /dev/null ~> time /bin/fish -c exit ________________________________________________________ Executed in 21.02 millis fish external usr time 10.53 millis 0.00 micros 10.53 millis sys time 10.88 millis 465.00 micros 10.42 millis ~> sudo apt-get purge flatpak -y > /dev/null ~> time /bin/fish -c exit ________________________________________________________ Executed in 9.66 millis fish external usr time 6.52 millis 0.00 micros 6.52 millis sys time 3.49 millis 482.00 micros 3.00 millis I suppose the flatpak package is installing some system fish configuration, that fish processes by default. I noticed the extra latency when starting my shell. I used the fish profiler to find out it was flatpak. On my machine, fish shell takes ~9ms to startup. With the flatpak package installed, it takes ~21ms. Timing with /bin/time (resolution 10ms): ~> exec sh $ time -f '%es' /bin/fish -c exit 0.00s $ sudo apt-get install flatpak -y >/dev/null $ time -f '%es' /bin/fish -c exit 0.01s $ sudo apt-get purge flatpak -y >/dev/null $ time -f '%es' /bin/fish -c exit 0.00s Time with fish timer (resolution 1µs, includes active fish shell processing time): ~> time /bin/fish -c exit ________________________________________________________ Executed in 9.14 millis fish external    usr time 5.23 millis 269.00 micros 4.96 millis    sys time 4.25 millis 176.00 micros 4.07 millis ~> sudo apt-get install flatpak -y > /dev/null ~> time /bin/fish -c exit ________________________________________________________ Executed in 21.02 millis fish external    usr time 10.53 millis 0.00 micros 10.53 millis    sys time 10.88 millis 465.00 micros 10.42 millis ~> sudo apt-get purge flatpak -y > /dev/null ~> time /bin/fish -c exit ________________________________________________________ Executed in 9.66 millis fish external    usr time 6.52 millis 0.00 micros 6.52 millis    sys time 3.49 millis 482.00 micros 3.00 millis I suppose the flatpak package is installing some system fish configuration, that fish processes by default. I noticed the extra latency when starting my shell. I used the fish profiler to find out it was flatpak. Ubuntu 24.04 LTS, Package: flatpak, Version: 1.14.6-1