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 516 230.4
flanders dash 111,674 95 1,178.0
flanders mksh 111,674 251 444.2
flanders osh-cpython 118,863 19,984 5.9
flanders osh-ovm 118,863 24,682 4.8
flanders zsh 118,863 3,201 37.1
lisa bash 118,863 197 603.1
lisa dash 111,674 42 2,646.3
lisa mksh 111,674 117 952.0
lisa osh-cpython 118,863 7,512 15.8
lisa osh-ovm 118,863 8,344 14.2
lisa zsh 118,863 1,170 101.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.7 1,679 t4014-format-patch.sh
flanders 13.8 26.7 1,733 functions
flanders 14.3 27.3 2,029 configure-helper.sh
flanders 16.2 29.2 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.4 40.0 5,160 test-cmd-util.sh
flanders 27.9 40.6 9,661 ltmain.sh
flanders 51.0 63.7 20,489 configure
flanders 123.4 136.3 69,779 configure-coreutils
lisa 10.8 23.8 1,679 t4014-format-patch.sh
lisa 13.9 26.7 1,733 functions
lisa 14.4 27.3 2,029 configure-helper.sh
lisa 16.3 29.2 2,512 abuild
lisa 15.1 27.9 2,698 Build.sh
lisa 11.3 23.9 3,123 t9300-fast-import.sh
lisa 27.1 40.0 5,160 test-cmd-util.sh
lisa 28.0 40.6 9,661 ltmain.sh
lisa 51.0 63.7 20,489 configure
lisa 123.5 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-8e204e52
osh-ovm osh-6352b3d1
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2019-08-09__11-12-08.times.csv
lisa.2019-08-09__11-12-24.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 13 4 7 147 166 148 12.9 1,679 t4014-format-patch.sh
flanders 17 4 10 37 494 384 29.0 1,733 functions
flanders 16 NA NA 65 529 404 32.0 2,029 configure-helper.sh
flanders 21 5 12 51 738 553 35.3 2,512 abuild
flanders 19 4 12 137 550 420 29.4 2,698 Build.sh
flanders 15 4 7 180 194 167 12.6 3,123 t9300-fast-import.sh
flanders 46 NA NA 168 1,520 1,230 33.2 5,160 test-cmd-util.sh
flanders 52 13 31 198 1,726 1,552 33.4 9,661 ltmain.sh
flanders 95 22 50 488 4,118 3,604 43.5 20,489 configure
flanders 222 37 124 1,731 14,648 11,522 65.9 69,779 configure-coreutils
lisa 4 1 2 48 59 69 16.8 1,679 t4014-format-patch.sh
lisa 4 2 5 13 186 164 43.1 1,733 functions
lisa 5 NA NA 29 194 181 35.9 2,029 configure-helper.sh
lisa 6 2 4 21 264 246 47.2 2,512 abuild
lisa 7 2 3 47 197 180 29.8 2,698 Build.sh
lisa 5 2 2 58 67 78 14.6 3,123 t9300-fast-import.sh
lisa 16 NA NA 70 591 551 36.2 5,160 test-cmd-util.sh
lisa 22 4 15 82 713 629 32.7 9,661 ltmain.sh
lisa 34 8 27 191 1,522 1,373 45.0 20,489 configure
lisa 95 21 58 611 4,553 4,042 47.8 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 131.2 430.5 250.6 11.4 10.1 11.3 1,679 t4014-format-patch.sh
flanders 101.9 385.1 178.7 47.3 3.5 4.5 1,733 functions
flanders 123.0 NA NA 31.3 3.8 5.0 2,029 configure-helper.sh
flanders 120.2 483.1 211.1 49.4 3.4 4.5 2,512 abuild
flanders 144.3 613.2 234.6 19.7 4.9 6.4 2,698 Build.sh
flanders 202.8 867.5 459.3 17.3 16.1 18.7 3,123 t9300-fast-import.sh
flanders 112.7 NA NA 30.7 3.4 4.2 5,160 test-cmd-util.sh
flanders 186.9 721.0 311.6 48.9 5.6 6.2 9,661 ltmain.sh
flanders 216.4 914.7 411.4 42.0 5.0 5.7 20,489 configure
flanders 313.9 1,865.7 562.7 40.3 4.8 6.1 69,779 configure-coreutils
lisa 479.7 1,199.3 839.5 34.7 28.5 24.4 1,679 t4014-format-patch.sh
lisa 403.0 1,083.1 368.7 129.3 9.3 10.6 1,733 functions
lisa 375.7 NA NA 70.9 10.5 11.2 2,029 configure-helper.sh
lisa 448.6 1,322.1 570.9 118.5 9.5 10.2 2,512 abuild
lisa 408.8 1,173.0 817.6 57.0 13.7 15.0 2,698 Build.sh
lisa 678.9 1,951.9 1,561.5 53.5 46.6 40.1 3,123 t9300-fast-import.sh
lisa 316.6 NA NA 73.9 8.7 9.4 5,160 test-cmd-util.sh
lisa 443.2 2,356.3 639.8 118.4 13.6 15.4 9,661 ltmain.sh
lisa 606.2 2,561.1 750.5 107.2 13.5 14.9 20,489 configure
lisa 733.0 3,276.0 1,192.8 114.3 15.3 17.3 69,779 configure-coreutils