2026-05-15 15:56:53 -04:00
2026-05-15 15:56:53 -04:00
2026-05-15 15:56:53 -04:00
2026-05-15 15:56:53 -04:00
2026-05-15 15:56:53 -04:00
2026-05-15 15:56:53 -04:00
2026-05-15 15:56:53 -04:00

The Benchmarks

Info

If you want to measure the time and memory you can use the time function. In zsh and bash (maybe others) there is a built in time but you probably have one at /usr/sbin/time

Here is the TIMEFMT I used to display the stats

export TIMEFMT='%J'$'\n'\
'user                       %U'$'\n'\
'system                     %S'$'\n'\
'total                      %E'$'\n'\
'cpu                        %P'$'\n'\
'max memory:                %M KB'$'\n'

Each directory contains a Makefile and the build.sh and clean.sh just go into each directory and call make and make clean

This is the GitHub repo for the Speed Tests repo

You can watch this video here

S
Description
simple benchmark testing for C vs C3 vs Odin
Readme 39 KiB
Languages
Odin 32%
C3 30.5%
C 29.9%
Shell 4.4%
Makefile 3.2%