Skip to content

Enjoy the 50x speedup

Compare
Choose a tag to compare
@unixorn unixorn released this 03 Oct 00:56
· 43 commits to main since this release
3ce307a

Rewrite in Python, mainly because the bash code was starting to get too large to work with comfortably, and Python's way more maintainable.

On top of that, the original bash version was slow, because there were a lot of cases where it was running lima nerdctl XYZ | jq to parse out information about containers and images, and it wasn't caching the output.

The python version caches the image and container information, and is much faster - 0.355 seconds on my MBP, the shell version takes 17.332 seconds.