Skate is painfully slow
Is this normal?
System info:
- OS: Linux Mint
- Shell: Bash
- Terminal: Kitty
cannot reproduce it here... are you sure you're using the latest version (v1.0.0)?
Yup
$ skate --version
skate version v1.0.0 (16b84e6)
i can't think of anything that would cause it, and also cannot reproduce it myself :/
any other info you could give? how you installed skate? uname -a? maybe also output of mount?
how you installed skate?
Brew
uname -a?
Linux bookworm 6.8.0-48-generic #48-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 14:04:52 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
maybe also output of
mount?
$ mount | column -t
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=7796384k,nr_inodes=1949096,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1567480k,mode=755,inode64)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
/dev/nvme0n1p2 on / type ext4 (rw,relatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1524)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,nosuid,nodev,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
/dev/nvme0n1p1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1567476k,nr_inodes=391869,mode=700,uid=1000,gid=1000,inode64)
/home/.ecryptfs/darkbloom/.Private on /home/darkbloom type ecryptfs (rw,nosuid,nodev,relatime,ecryptfs_fnek_sig=054831fa4ebec05d,ecryptfs_sig=e235b73d2cd645f6,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
I can't see why it could be slow, and also cannot reproduce it...
Sorry I'm not sure what you mean by "try it"
What should I do with Badger?
sorry, I meant skate on main branch (which has the latest version of badger)
Is the brew package not the on main branch?
just released v1.0.1, can you try updating?
Is the brew package not the on main branch?
no, brew package is always the latest tag
just released v1.0.1, can you try updating?
It still takes around 6 seconds to list items
Tried downloading the executable directly but I get the same result
weird... i have no other ideas on what can be causing this... and I cannot reproduce it here either 🤔
What's weird is that it doesn't occur on my other PC, I really don't know what's wrong with my laptop for it to be doing this.
$ time skate list
real 0m3,589s
user 0m0,015s
sys 0m3,424s
Same on my machine.
skate is bullet fast on all my personal machines (different hardware, all run Linux Mint), but really slow on my office laptop (Linux Mint again).
The only difference I can spot is encrypted home directory on my office lappy (due to the company security policy).