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 480 247.7
flanders dash 111,674 99 1,130.3
flanders mksh 111,674 255 438.5
flanders osh-cpython 118,863 16,720 7.1
flanders osh-ovm 118,863 19,447 6.1
flanders zsh 118,863 3,184 37.3
lisa bash 118,863 194 612.7
lisa dash 111,674 40 2,798.8
lisa mksh 111,674 117 952.0
lisa osh-cpython 118,863 8,433 14.1
lisa osh-ovm 118,863 9,275 12.8
lisa zsh 118,863 1,253 94.8

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 7.9 20.6 1,679 t4014-format-patch.sh
flanders 8.0 20.6 1,733 functions
flanders 8.0 20.6 2,029 configure-helper.sh
flanders 8.0 20.6 2,512 abuild
flanders 7.9 20.6 2,698 Build.sh
flanders 7.9 20.6 3,123 t9300-fast-import.sh
flanders 7.9 20.6 5,160 test-cmd-util.sh
flanders 7.8 20.6 9,661 ltmain.sh
flanders 7.9 20.6 20,489 configure
flanders 8.0 20.6 69,779 configure-coreutils
lisa 7.6 20.5 1,679 t4014-format-patch.sh
lisa 7.4 20.5 1,733 functions
lisa 7.6 20.5 2,029 configure-helper.sh
lisa 7.5 20.5 2,512 abuild
lisa 7.5 20.5 2,698 Build.sh
lisa 7.6 20.5 3,123 t9300-fast-import.sh
lisa 7.5 20.5 5,160 test-cmd-util.sh
lisa 7.6 20.5 9,661 ltmain.sh
lisa 7.5 20.5 20,489 configure
lisa 7.3 20.5 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-5dec60c5
osh-ovm osh-78fec4e8
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2019-02-09__10-38-21.times.csv
lisa.2019-02-09__10-51-58.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 11 3 6 145 137 136 12.8 1,679 t4014-format-patch.sh
flanders 12 5 10 36 411 369 34.0 1,733 functions
flanders 21 NA NA 65 438 393 20.7 2,029 configure-helper.sh
flanders 20 6 12 53 631 557 32.2 2,512 abuild
flanders 16 4 10 125 459 409 28.9 2,698 Build.sh
flanders 15 3 7 175 166 160 11.3 3,123 t9300-fast-import.sh
flanders 45 NA NA 171 1,409 1,231 31.6 5,160 test-cmd-util.sh
flanders 49 16 26 196 1,581 1,378 32.3 9,661 ltmain.sh
flanders 85 22 54 491 3,636 3,194 42.8 20,489 configure
flanders 207 38 129 1,727 10,579 8,893 51.0 69,779 configure-coreutils
lisa 4 1 2 56 65 61 16.6 1,679 t4014-format-patch.sh
lisa 4 2 5 16 186 203 44.2 1,733 functions
lisa 6 NA NA 29 204 183 35.7 2,029 configure-helper.sh
lisa 6 2 5 25 300 293 49.9 2,512 abuild
lisa 5 2 4 50 220 205 43.1 2,698 Build.sh
lisa 6 1 2 60 77 68 12.7 3,123 t9300-fast-import.sh
lisa 16 NA NA 72 660 585 40.5 5,160 test-cmd-util.sh
lisa 23 4 13 84 777 669 34.1 9,661 ltmain.sh
lisa 37 9 24 206 1,810 1,625 49.5 20,489 configure
lisa 87 19 62 656 4,977 4,541 57.0 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 156.9 508.8 275.2 11.6 12.2 12.3 1,679 t4014-format-patch.sh
flanders 143.2 320.9 173.3 48.8 4.2 4.7 1,733 functions
flanders 96.2 NA NA 31.3 4.6 5.2 2,029 configure-helper.sh
flanders 128.2 411.8 209.3 47.4 4.0 4.5 2,512 abuild
flanders 169.7 613.2 264.5 21.6 5.9 6.6 2,698 Build.sh
flanders 212.4 975.9 473.2 17.8 18.8 19.5 3,123 t9300-fast-import.sh
flanders 115.7 NA NA 30.2 3.7 4.2 5,160 test-cmd-util.sh
flanders 197.6 589.1 365.9 49.2 6.1 7.0 9,661 ltmain.sh
flanders 241.0 944.2 376.6 41.8 5.6 6.4 20,489 configure
flanders 336.6 1,821.9 540.9 40.4 6.6 7.8 69,779 configure-coreutils
lisa 430.5 1,399.2 883.7 30.0 25.9 27.3 1,679 t4014-format-patch.sh
lisa 412.6 962.8 346.6 109.0 9.3 8.6 1,733 functions
lisa 356.0 NA NA 70.2 10.0 11.1 2,029 configure-helper.sh
lisa 418.7 1,395.6 523.3 100.9 8.4 8.6 2,512 abuild
lisa 529.0 1,686.2 691.8 54.3 12.3 13.2 2,698 Build.sh
lisa 512.0 2,230.7 1,487.1 52.4 40.4 45.7 3,123 t9300-fast-import.sh
lisa 316.6 NA NA 71.5 7.8 8.8 5,160 test-cmd-util.sh
lisa 423.7 2,246.7 731.9 114.6 12.4 14.4 9,661 ltmain.sh
lisa 559.8 2,302.1 857.3 99.3 11.3 12.6 20,489 configure
lisa 799.3 3,692.0 1,116.5 106.5 14.0 15.4 69,779 configure-coreutils