Skip to content

Instantly share code, notes, and snippets.

@PedroHLC
Last active November 23, 2023 13:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PedroHLC/f0cd277c16d61356441b8af1c134e75f to your computer and use it in GitHub Desktop.
Save PedroHLC/f0cd277c16d61356441b8af1c134e75f to your computer and use it in GitHub Desktop.
Some benchmarks for chaotic#pkgsx86_64_v3

Ran on /tmp (with useTmpfs), where the files are, and directly from TTY1 (without any DE running).


  • Shell A: nix shell nixpkgs#hyperfine nixpkgs#ffmpeg-headless

  • Shell B: nix shell nixpkgs#hyperfine chaotic#pkgsx86_64_v3.ffmpeg-headless

  • Benchmark parameter: hyperfine -w 3 -M 10

  • Benchmark command: ffmpeg -threads 1 -y -i 01._Radio_Ga_Ga.flac -f ogg /dev/null

Benchmark A: /nix/store/3f8nyvxhrcrhcyby0wb7an2clw5db7pl-ffmpeg-headless-6.0-bin/bin/ffmpeg -threads 1 -y -i 01._Radio_Ga_Ga.flac -f ogg /dev/null
  Time (mean ± σ):      6.489 s ±  0.024 s    [User: 6.848 s, System: 0.068 s]
  Range (min … max):    6.459 s …  6.517 s    10 runs
Benchmark B: /nix/store/4gww1p6q8chlj5w1lpqby49yxq62zrpn-ffmpeg-headless-6.0-bin/bin/ffmpeg -threads 1 -y -i 01._Radio_Ga_Ga.flac -f ogg /dev/null
  Time (mean ± σ):      5.762 s ±  0.124 s    [User: 6.110 s, System: 0.069 s]
  Range (min … max):    5.665 s …  6.009 s    10 runs

  • Shell C: nix shell nixpkgs#hyperfine nixpkgs#imagemagick7

  • Shell D: nix shell nixpkgs#hyperfine chaotic#pkgsx86_64_v3.imagemagick7

  • Benchmark parameter: hyperfine -w 5 -M 10

  • Benchmark command: magick convert ./Aenami-Lost-in-Between.jpg -monochrome /dev/null

Benchmark C: /nix/store/bgmy5jyi2scqwv1drz9ik7cg8fdx28zq-imagemagick-7.1.1-21/bin/magick convert ./Aenami-Lost-in-Between.jpg -monochrome /dev/null
  Time (mean ± σ):     365.4 ms ±   1.7 ms    [User: 687.4 ms, System: 23.4 ms]
  Range (min … max):   363.9 ms … 369.4 ms    10 runs 
Benchmark D: /nix/store/g2iprm7ffagmd76j0zkhh4vrm84h0skb-imagemagick-7.1.1-21/bin/magick convert ./Aenami-Lost-in-Between.jpg -monochrome /dev/null
  Time (mean ± σ):     321.5 ms ±   0.8 ms    [User: 642.2 ms, System: 17.0 ms]
  Range (min … max):   320.6 ms … 323.0 ms    10 runs

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