Skip to content

Skate is painfully slow #120

@DarkblooM-IO

Description

@DarkblooM-IO

Is this normal?

image

System info:

  • OS: Linux Mint
  • Shell: Bash
  • Terminal: Kitty

Activity

caarlos0

caarlos0 commented on Feb 3, 2025

@caarlos0
Member

cannot reproduce it here... are you sure you're using the latest version (v1.0.0)?

DarkblooM-IO

DarkblooM-IO commented on Feb 3, 2025

@DarkblooM-IO
Author

Yup

$ skate --version
skate version v1.0.0 (16b84e6)
caarlos0

caarlos0 commented on Feb 4, 2025

@caarlos0
Member

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?

DarkblooM-IO

DarkblooM-IO commented on Feb 4, 2025

@DarkblooM-IO
Author

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)
caarlos0

caarlos0 commented on Feb 12, 2025

@caarlos0
Member

I can't see why it could be slow, and also cannot reproduce it...

caarlos0

caarlos0 commented on Feb 12, 2025

@caarlos0
Member

my wild guess would be badger.

v4.3.0 has some perf updates, its already on main, could you try it?

DarkblooM-IO

DarkblooM-IO commented on Feb 12, 2025

@DarkblooM-IO
Author

Sorry I'm not sure what you mean by "try it"
What should I do with Badger?

caarlos0

caarlos0 commented on Mar 5, 2025

@caarlos0
Member

sorry, I meant skate on main branch (which has the latest version of badger)

DarkblooM-IO

DarkblooM-IO commented on Mar 5, 2025

@DarkblooM-IO
Author

Is the brew package not the on main branch?

caarlos0

caarlos0 commented on Mar 6, 2025

@caarlos0
Member

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

DarkblooM-IO

DarkblooM-IO commented on Mar 7, 2025

@DarkblooM-IO
Author

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

caarlos0

caarlos0 commented on Mar 10, 2025

@caarlos0
Member

weird... i have no other ideas on what can be causing this... and I cannot reproduce it here either 🤔

DarkblooM-IO

DarkblooM-IO commented on Mar 10, 2025

@DarkblooM-IO
Author

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.

spaghetti-coder

spaghetti-coder commented on May 30, 2025

@spaghetti-coder
$ 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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @caarlos0@spaghetti-coder@DarkblooM-IO

        Issue actions

          Skate is painfully slow · Issue #120 · charmbracelet/skate