I used hyperfine CLI tool to measure startup and shutdown times of several code interpreters
I used the hyperfine tool to measure the overhead of startup and shutdown of several code...

A blog post shows an example usage of hyperfine CLI tool to measure and plot time of startup and shutdown of several code interpreters.
histat - a simple history stats
bits and pieces. Contribute to serpent7776/bits development by creating an account on GitHub.

I created a very simple script that shows the history usage of your shell. Should work with bash and fish shells.
This basically goes through the history and counts the command names. So all of git push
, git pull
, etc will count as just git
.
Example output:
847 pacman 296 cd 206 git 203 time 180 vim 172 awk 166 aur 142 strace 141 cat 125 ls Total commands: 7008 Unique commands: 753
I can actually define this in TCL:
% proc ifn't {cond cmds} {if {!$cond} {uplevel $cmds}}
% ifn't false {puts 12}
12
% ifn't true {puts 12}
%