OSH Parser Performance

We run $sh -n $file for various files under various shells. This means that shell startup time is included in the elapsed time measurements, but long files are chosen to minimize its effect.

Parse Time Summary

host label shell label total lines total ms lines per ms
flanders bash 118,863 476 249.9
flanders dash 111,674 85 1,307.7
flanders mksh 111,674 261 427.9
flanders osh-cpython 118,863 20,582 5.8
flanders osh-ovm 118,863 22,133 5.4
flanders zsh 118,863 3,179 37.4
lisa bash 118,863 183 649.2
lisa dash 111,674 45 2,492.7
lisa mksh 111,674 112 1,000.7
lisa osh-cpython 118,863 7,851 15.1
lisa osh-ovm 118,863 8,402 14.1
lisa zsh 118,863 1,182 100.6

Memory Used to Parse

Running under osh-ovm. Memory usage is measured in MB (powers of 10), not MiB (powers of 2).

host VmRSS MB VmPeak MB num lines filename
flanders 10.8 23.4 1,679 t4014-format-patch.sh
flanders 13.8 26.6 1,733 functions
flanders 14.3 27.0 2,029 configure-helper.sh
flanders 16.3 28.8 2,512 abuild
flanders 15.0 27.6 2,698 Build.sh
flanders 10.9 23.8 3,123 t9300-fast-import.sh
flanders 27.2 39.9 5,160 test-cmd-util.sh
flanders 27.8 40.6 9,661 ltmain.sh
flanders 50.8 63.6 20,489 configure
flanders 123.3 136.0 69,779 configure-coreutils
lisa 10.8 23.4 1,679 t4014-format-patch.sh
lisa 13.8 26.6 1,733 functions
lisa 14.1 27.0 2,029 configure-helper.sh
lisa 16.2 28.8 2,512 abuild
lisa 15.0 27.6 2,698 Build.sh
lisa 11.0 23.8 3,123 t9300-fast-import.sh
lisa 27.1 39.9 5,160 test-cmd-util.sh
lisa 27.8 40.6 9,661 ltmain.sh
lisa 50.6 63.6 20,489 configure
lisa 123.2 136.2 69,779 configure-coreutils

Shell and Host Details

shell label shell id
bash bash-d685a43c
dash dash-2887d9e6
mksh mksh-ae7d165b
zsh zsh-ca7b4198
osh-cpython osh-f8e1ba4d
osh-ovm osh-ec94725f
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2019-07-17__10-50-21.times.csv
lisa.2019-07-17__11-02-16.times.csv

Parse Time Breakdown by File

Elasped Time in milliseconds

host label bash dash mksh zsh osh-ovm osh-cpython osh to bash ratio num lines filename
flanders 12 4 6 138 185 146 16.1 1,679 t4014-format-patch.sh
flanders 12 4 12 40 567 389 47.3 1,733 functions
flanders 21 NA NA 63 600 443 28.7 2,029 configure-helper.sh
flanders 18 5 18 51 841 602 47.8 2,512 abuild
flanders 18 6 10 131 627 458 33.9 2,698 Build.sh
flanders 17 4 7 183 215 178 12.5 3,123 t9300-fast-import.sh
flanders 43 NA NA 170 1,708 1,352 39.7 5,160 test-cmd-util.sh
flanders 48 11 29 194 1,934 1,795 40.7 9,661 ltmain.sh
flanders 83 16 52 489 3,764 4,007 45.4 20,489 configure
flanders 204 35 127 1,720 11,690 11,212 57.2 69,779 configure-coreutils
lisa 4 1 2 47 59 66 15.9 1,679 t4014-format-patch.sh
lisa 4 2 4 17 188 170 42.6 1,733 functions
lisa 6 NA NA 28 182 195 31.4 2,029 configure-helper.sh
lisa 6 2 5 24 264 235 44.1 2,512 abuild
lisa 5 2 3 46 218 204 45.4 2,698 Build.sh
lisa 5 2 2 56 68 77 12.5 3,123 t9300-fast-import.sh
lisa 16 NA NA 70 603 590 38.2 5,160 test-cmd-util.sh
lisa 22 6 12 83 680 622 30.6 9,661 ltmain.sh
lisa 34 8 23 190 1,524 1,432 44.3 20,489 configure
lisa 81 22 60 621 4,616 4,261 57.3 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 146.0 466.4 294.6 12.2 9.1 11.5 1,679 t4014-format-patch.sh
flanders 144.4 385.1 140.9 43.9 3.1 4.5 1,733 functions
flanders 97.1 NA NA 32.2 3.4 4.6 2,029 configure-helper.sh
flanders 142.7 483.1 135.8 48.9 3.0 4.2 2,512 abuild
flanders 145.8 473.3 284.0 20.6 4.3 5.9 2,698 Build.sh
flanders 180.5 867.5 466.1 17.0 14.5 17.5 3,123 t9300-fast-import.sh
flanders 120.0 NA NA 30.4 3.0 3.8 5,160 test-cmd-util.sh
flanders 203.4 870.4 330.9 49.7 5.0 5.4 9,661 ltmain.sh
flanders 247.2 1,241.8 394.0 41.9 5.4 5.1 20,489 configure
flanders 341.4 1,982.4 549.0 40.6 6.0 6.2 69,779 configure-coreutils
lisa 453.8 1,199.3 839.5 36.0 28.6 25.6 1,679 t4014-format-patch.sh
lisa 393.9 825.2 444.4 103.8 9.2 10.2 1,733 functions
lisa 349.8 NA NA 72.0 11.1 10.4 2,029 configure-helper.sh
lisa 418.7 1,322.1 534.5 103.8 9.5 10.7 2,512 abuild
lisa 562.1 1,587.1 843.1 59.2 12.4 13.3 2,698 Build.sh
lisa 578.3 1,951.9 1,561.5 55.6 46.3 40.4 3,123 t9300-fast-import.sh
lisa 326.6 NA NA 73.3 8.6 8.7 5,160 test-cmd-util.sh
lisa 435.2 1,637.5 785.4 116.4 14.2 15.5 9,661 ltmain.sh
lisa 595.6 2,626.8 875.6 107.8 13.4 14.3 20,489 configure
lisa 865.7 3,115.1 1,161.0 112.4 15.1 16.4 69,779 configure-coreutils