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 512 232.1
flanders dash 111,674 94 1,184.2
flanders mksh 111,674 318 351.4
flanders osh-cpython 118,863 24,431 4.9
flanders osh-ovm 118,863 26,840 4.4
flanders zsh 118,863 3,946 30.1
lisa bash 118,863 203 585.0
lisa dash 111,674 41 2,717.1
lisa mksh 111,674 113 990.0
lisa osh-cpython 118,863 7,846 15.1
lisa osh-ovm 118,863 8,466 14.0
lisa zsh 118,863 1,193 99.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.9 23.5 1,679 t4014-format-patch.sh
flanders 13.7 26.6 1,733 functions
flanders 14.5 27.3 2,029 configure-helper.sh
flanders 16.4 29.1 2,512 abuild
flanders 15.0 27.9 2,698 Build.sh
flanders 11.3 23.9 3,123 t9300-fast-import.sh
flanders 27.2 40.0 5,160 test-cmd-util.sh
flanders 27.9 40.6 9,661 ltmain.sh
flanders 50.8 63.7 20,489 configure
flanders 123.3 136.0 69,779 configure-coreutils
lisa 10.8 23.5 1,679 t4014-format-patch.sh
lisa 13.8 26.6 1,733 functions
lisa 14.5 27.3 2,029 configure-helper.sh
lisa 16.3 29.1 2,512 abuild
lisa 15.0 27.9 2,698 Build.sh
lisa 11.3 23.9 3,123 t9300-fast-import.sh
lisa 27.2 40.0 5,160 test-cmd-util.sh
lisa 27.7 40.6 9,661 ltmain.sh
lisa 50.8 63.7 20,489 configure
lisa 123.4 136.3 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-bc56b9c3
osh-ovm osh-32414f3a
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2019-07-24__23-02-31.times.csv
lisa.2019-07-24__23-10-19.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 16 4 5 143 180 177 11.2 1,679 t4014-format-patch.sh
flanders 13 4 14 49 551 462 43.0 1,733 functions
flanders 19 NA NA 89 587 492 31.5 2,029 configure-helper.sh
flanders 18 5 13 69 863 677 47.9 2,512 abuild
flanders 15 6 10 151 698 516 47.2 2,698 Build.sh
flanders 16 4 6 194 249 199 15.4 3,123 t9300-fast-import.sh
flanders 45 NA NA 236 2,171 1,673 48.0 5,160 test-cmd-util.sh
flanders 48 14 32 269 2,188 1,920 45.3 9,661 ltmain.sh
flanders 93 18 67 656 5,050 5,349 54.2 20,489 configure
flanders 229 39 171 2,090 14,303 12,965 62.4 69,779 configure-coreutils
lisa 5 1 2 51 58 76 12.7 1,679 t4014-format-patch.sh
lisa 5 2 3 16 180 181 39.0 1,733 functions
lisa 6 NA NA 27 194 187 29.8 2,029 configure-helper.sh
lisa 7 2 5 23 263 235 36.0 2,512 abuild
lisa 7 2 4 45 203 181 29.4 2,698 Build.sh
lisa 6 2 2 58 72 74 12.4 3,123 t9300-fast-import.sh
lisa 16 NA NA 73 605 544 37.3 5,160 test-cmd-util.sh
lisa 20 4 12 80 685 623 33.6 9,661 ltmain.sh
lisa 34 8 24 188 1,515 1,428 44.2 20,489 configure
lisa 97 20 60 631 4,691 4,317 48.6 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 104.9 409.5 310.9 11.8 9.3 9.5 1,679 t4014-format-patch.sh
flanders 135.4 403.0 128.4 35.2 3.1 3.8 1,733 functions
flanders 109.1 NA NA 22.9 3.5 4.1 2,029 configure-helper.sh
flanders 139.6 474.0 196.2 36.4 2.9 3.7 2,512 abuild
flanders 182.3 442.3 272.5 17.8 3.9 5.2 2,698 Build.sh
flanders 194.0 844.1 480.5 16.1 12.6 15.7 3,123 t9300-fast-import.sh
flanders 114.2 NA NA 21.9 2.4 3.1 5,160 test-cmd-util.sh
flanders 200.0 700.1 301.9 35.9 4.4 5.0 9,661 ltmain.sh
flanders 219.8 1,144.6 307.2 31.2 4.1 3.8 20,489 configure
flanders 304.6 1,784.6 408.1 33.4 4.9 5.4 69,779 configure-coreutils
lisa 365.0 1,291.5 763.2 32.9 28.8 22.0 1,679 t4014-format-patch.sh
lisa 376.7 1,083.1 525.2 109.7 9.6 9.6 1,733 functions
lisa 312.2 NA NA 75.4 10.5 10.9 2,029 configure-helper.sh
lisa 344.1 1,196.2 465.2 108.3 9.5 10.7 2,512 abuild
lisa 391.0 1,226.4 691.8 59.7 13.3 14.9 2,698 Build.sh
lisa 538.4 1,951.9 1,301.2 54.3 43.3 42.0 3,123 t9300-fast-import.sh
lisa 318.5 NA NA 70.6 8.5 9.5 5,160 test-cmd-util.sh
lisa 473.6 2,246.7 818.7 120.0 14.1 15.5 9,661 ltmain.sh
lisa 597.3 2,593.5 843.2 108.7 13.5 14.4 20,489 configure
lisa 722.3 3,471.6 1,172.8 110.5 14.9 16.2 69,779 configure-coreutils