oksh VS zsh-bench

Compare oksh vs zsh-bench and see what are their differences.

oksh

Portable OpenBSD ksh, based on the Public Domain Korn Shell (pdksh). (by ibara)

zsh-bench

Benchmark for interactive Zsh (by romkatv)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
oksh zsh-bench
8 24
338 494
- -
4.4 4.1
28 days ago 6 months ago
C Shell
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

oksh

Posts with mentions or reviews of oksh. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-26.
  • Oasis – a small, statically-linked Linux system
    12 projects | news.ycombinator.com | 26 Jan 2024
  • Faster Shell Startup with Shell Switching
    3 projects | news.ycombinator.com | 16 Jan 2024
    David Korn's ksh93 was passed on to a new set of developers, who attempted to release a new version; AT&T rolled back these changes due to performance problems which raised questions of support status. It does appear that ksh93 development has resumed, and a new version was released late last year.

    https://github.com/ksh93/ksh/releases

    The independent pdksh spawned mksh, which is the default shell used in Android (as it has a BSD license); mksh appears to be very much active.

    http://www.mirbsd.org/mksh.htm [https site has cert problems]

    OpenBSD also forked oksh from pdksh. This is certainly well-maintained.

    https://github.com/ibara/oksh

  • CVE-2022-45063: Xterm
    2 projects | news.ycombinator.com | 10 Nov 2022
    I don't know if this is helpful or just annoying unsolicited "advice"

    Anyway, for those of us who like openbsd ksh(all two of us) which is derived from pdksh. there is the project oksh.

    https://github.com/ibara/oksh

  • What is a good alternative to Zsh?
    4 projects | /r/suckless | 10 Jul 2022
    I like oksh: https://github.com/ibara/oksh
  • OpenBSD 7.0 Released
    5 projects | news.ycombinator.com | 14 Oct 2021
    ...and that ksh descended from pdksh, and is distributed as the oksh portable project here:

    https://github.com/ibara/oksh

    The MirBSD Korn Shell also descended from pdksh, and it can be found here:

    http://www.mirbsd.org/mksh.htm

    I don't know about the feature differences and code quality between these two; they both implement most of ksh88, and a small amount of ksh93.

    I prefer mksh when I need something more than a POSIX shell.

  • Which ksh is used in openbsd?
    3 projects | /r/openbsd | 19 Mar 2021
    Brian Callahan publishes a portable version here: https://github.com/ibara/oksh
  • What goes into porting a program/library?
    1 project | /r/openbsd | 16 Feb 2021
    Porting from OpenBSD, look for the portable versions and their compat layer. https://github.com/ibara/oksh/blob/master/portable.h

zsh-bench

Posts with mentions or reviews of zsh-bench. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-22.
  • Oh My Zsh
    19 projects | news.ycombinator.com | 22 Jan 2024
    Someone's made a benchmarking system for zsh: https://github.com/romkatv/zsh-bench#premade-configs

    Of course, their config is the best according to the benchmark (and ohmyzsh is the slowest option), but DIY configs are also covered, particularly possible performance optimizations.

  • Faster Shell Startup with Shell Switching
    3 projects | news.ycombinator.com | 16 Jan 2024
    Unfortunately, running exit is not a great strategy for running benchmarks. For zsh specifically, plugin managers are optimized for fast exit.

    romkatv did a great write-up and benchmark within the context of zsh[0]. It's a great read.

    [0] https://github.com/romkatv/zsh-bench#how-not-to-benchmark

  • Dynamic Aliases and Functions in Zsh
    5 projects | /r/zsh | 3 Apr 2023
  • Benchmark for interactive zsh – plugins, frameworks and plugin managers
    1 project | news.ycombinator.com | 15 Mar 2023
  • zsh-smartcache: another evalcache but can update the cache
    2 projects | /r/zsh | 11 Nov 2022
  • Announcing Spaceship v4.0 — a customizable Zsh prompt with asynchronous rendering
    1 project | /r/zsh | 6 Sep 2022
    Given the addition of async rendering in the latest release of spaceship, I wasn't sure whether I should include performance in the list of features found in powerlevel10kbut but not in spaceship. I used zsh-bench to benchmark powerlevel10k on my laptop running on battery (I'm writing this on a train) with a config that makes powerlevel10k looks similar to spaceship. I simply ran p10k configure and chose what looked most similar: Lean Style, UNICODE, 256 colors, two lines, etc. Here are the benchmark results:
  • 7x slowdown when modify $fpath and add completion script
    1 project | /r/zsh | 18 Aug 2022
    Obligatory link since you are engaging in profiling interactive zsh: https://github.com/romkatv/zsh-bench.
  • What is the best plugin manager in your opinion?
    13 projects | /r/zsh | 5 Jul 2022
    1.) It's fast. Like, really fast. 1.) It supports deferred loading via zsh-defer 1.) It supports local plugins as well as ones hosted via a git provider (aka: GitHub, GitLab, BitBucket, etc) 1.) The codebase is simple and easy to understand and contribute to 1.) It supports git branches (with tag/shas on the roadmap) 1.) It supports partial plugin loading such as loading Oh-My-Zsh plugins and Prezto modules without loading the whole framework. 1.) There's an easy migration path from legacy plugin managers like Antigen/Antibody. 1.) Plugins are managed via a simple plugins file that makes it easy to share your config with others. 1.) And lots more
  • Zsh significantly faster when sourced from bash with bash as default shell
    1 project | /r/zsh | 13 Jun 2022
    In any case, slow zsh startup is always caused by whatever you put in zsh startup files and it's always possible to reduce zsh startup to imperceptible levels without sacrificing any functionality by editing said startup files. There is a bit of info on interactive zsh performance at https://github.com/romkatv/zsh-bench.
  • Zpy is a simple zsh plugin manager written in python that don't add to the shell startup time.what to y'all think?
    2 projects | /r/zsh | 17 May 2022
    Why is this a good thing? Is this a proxy for performance? If so, you can measure performance directly with zsh-bench. This way you can describe the advantage in terms that have real value to end users. For example, you can say that the first prompt appears N milliseconds faster when using Zpy than if you were using something-else.

What are some alternatives?

When comparing oksh and zsh-bench you can also consider the following projects:

loksh - A Linux port of OpenBSD's ksh

fisher - A plugin manager for Fish

ksh - ksh 93u+m: KornShell lives! | Latest release: https://github.com/ksh93/ksh/releases

zinit - 🌻 Flexible and fast ZSH plugin manager

InitWare - The InitWare Suite of Middleware allows you to manage services and system resources as logical entities called units. Its main component is a service management ("init") system.

sheldon - :bowtie: Fast, configurable, shell plugin manager

openbsd-src - jcs's openbsd hax

powerlevel10k - A Zsh theme

cicada - An old-school bash-like Unix shell written in Rust

zsh4humans - A turnkey configuration for Zsh

ast - AST - AT&T Software Technology

oh-my-fish - The Fish Shell Framework