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 575 206.7
flanders dash 111,674 98 1,144.2
flanders mksh 111,674 304 367.2
flanders osh-cpython 118,863 32,572 3.6
flanders osh-ovm 118,863 39,327 3.0
flanders zsh 118,863 4,043 29.4
lisa bash 118,863 189 627.9
lisa dash 111,674 42 2,652.6
lisa mksh 111,674 116 964.4
lisa osh-cpython 118,863 9,872 12.0
lisa osh-ovm 118,863 10,829 11.0
lisa zsh 118,863 1,185 100.3

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 11.1 23.8 1,679 t4014-format-patch.sh
flanders 14.2 27.0 1,733 functions
flanders 14.6 27.4 2,029 configure-helper.sh
flanders 16.5 29.3 2,512 abuild
flanders 15.2 28.0 2,698 Build.sh
flanders 11.2 24.2 3,123 t9300-fast-import.sh
flanders 27.5 40.3 5,160 test-cmd-util.sh
flanders 27.9 40.8 9,661 ltmain.sh
flanders 50.6 63.4 20,489 configure
flanders 122.8 135.5 69,779 configure-coreutils
lisa 10.8 23.8 1,679 t4014-format-patch.sh
lisa 14.1 27.0 1,733 functions
lisa 14.7 27.4 2,029 configure-helper.sh
lisa 16.5 29.3 2,512 abuild
lisa 15.2 28.0 2,698 Build.sh
lisa 11.5 24.2 3,123 t9300-fast-import.sh
lisa 27.5 40.3 5,160 test-cmd-util.sh
lisa 27.8 40.8 9,661 ltmain.sh
lisa 50.5 63.5 20,489 configure
lisa 122.5 135.6 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-39925332
osh-ovm osh-b8c26a03
host label host id
flanders flanders-3492acc1
lisa lisa-b43270f9

Raw Data

filename
flanders.2019-12-05__19-42-44.times.csv
lisa.2019-12-05__19-53-36.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 15 4 6 165 277 195 18.3 1,679 t4014-format-patch.sh
flanders 14 4 11 54 1,043 610 77.3 1,733 functions
flanders 21 NA NA 91 996 693 47.2 2,029 configure-helper.sh
flanders 21 6 17 72 1,472 965 70.8 2,512 abuild
flanders 16 5 13 159 1,185 709 73.6 2,698 Build.sh
flanders 19 4 8 218 365 246 19.0 3,123 t9300-fast-import.sh
flanders 50 NA NA 237 3,314 2,484 66.7 5,160 test-cmd-util.sh
flanders 56 12 33 263 3,415 3,077 61.0 9,661 ltmain.sh
flanders 109 21 61 641 7,220 6,357 66.2 20,489 configure
flanders 255 42 155 2,142 20,042 17,236 78.7 69,779 configure-coreutils
lisa 4 1 2 50 77 81 20.7 1,679 t4014-format-patch.sh
lisa 4 2 4 15 232 218 51.6 1,733 functions
lisa 6 NA NA 25 246 236 43.1 2,029 configure-helper.sh
lisa 6 2 4 22 348 321 57.0 2,512 abuild
lisa 5 2 3 42 260 241 52.0 2,698 Build.sh
lisa 5 2 2 60 85 85 17.7 3,123 t9300-fast-import.sh
lisa 16 NA NA 70 808 749 49.5 5,160 test-cmd-util.sh
lisa 22 4 12 85 938 833 42.8 9,661 ltmain.sh
lisa 35 9 25 192 2,073 1,836 59.7 20,489 configure
lisa 87 21 63 623 5,763 5,270 66.5 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 111.2 466.4 275.2 10.2 6.1 8.6 1,679 t4014-format-patch.sh
flanders 128.4 385.1 163.5 32.0 1.7 2.8 1,733 functions
flanders 96.2 NA NA 22.3 2.0 2.9 2,029 configure-helper.sh
flanders 120.8 433.1 146.9 34.9 1.7 2.6 2,512 abuild
flanders 167.6 499.6 204.4 16.9 2.3 3.8 2,698 Build.sh
flanders 162.7 800.8 410.9 14.3 8.6 12.7 3,123 t9300-fast-import.sh
flanders 103.8 NA NA 21.8 1.6 2.1 5,160 test-cmd-util.sh
flanders 172.5 805.1 293.6 36.7 2.8 3.1 9,661 ltmain.sh
flanders 188.0 980.3 334.2 32.0 2.8 3.2 20,489 configure
flanders 274.1 1,681.4 449.3 32.6 3.5 4.0 69,779 configure-coreutils
lisa 453.8 1,291.5 839.5 33.6 21.9 20.6 1,679 t4014-format-patch.sh
lisa 385.1 1,083.1 412.6 114.8 7.5 8.0 1,733 functions
lisa 356.0 NA NA 80.8 8.3 8.6 2,029 configure-helper.sh
lisa 411.8 1,322.1 558.2 112.1 7.2 7.8 2,512 abuild
lisa 539.6 1,498.9 817.6 63.6 10.4 11.2 2,698 Build.sh
lisa 650.6 1,951.9 1,561.5 52.2 36.7 36.8 3,123 t9300-fast-import.sh
lisa 316.6 NA NA 73.8 6.4 6.9 5,160 test-cmd-util.sh
lisa 441.1 2,300.2 811.8 113.7 10.3 11.6 9,661 ltmain.sh
lisa 590.5 2,251.5 816.3 106.7 9.9 11.2 20,489 configure
lisa 805.8 3,387.3 1,111.1 111.9 12.1 13.2 69,779 configure-coreutils