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 483 246.0
flanders dash 111,674 90 1,236.7
flanders mksh 111,674 280 399.5
flanders osh-cpython 118,863 21,354 5.6
flanders osh-ovm 118,863 27,442 4.3
flanders zsh 118,863 3,674 32.4
lisa bash 118,863 200 593.4
lisa dash 111,674 46 2,422.4
lisa mksh 111,674 116 964.4
lisa osh-cpython 118,863 8,031 14.8
lisa osh-ovm 118,863 8,886 13.4
lisa zsh 118,863 1,219 97.5

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.6 1,679 t4014-format-patch.sh
flanders 14.0 26.9 1,733 functions
flanders 14.6 27.3 2,029 configure-helper.sh
flanders 16.4 29.3 2,512 abuild
flanders 15.0 27.9 2,698 Build.sh
flanders 11.1 24.2 3,123 t9300-fast-import.sh
flanders 27.5 40.2 5,160 test-cmd-util.sh
flanders 27.9 40.7 9,661 ltmain.sh
flanders 50.6 63.4 20,489 configure
flanders 122.8 135.7 69,779 configure-coreutils
lisa 10.9 23.6 1,679 t4014-format-patch.sh
lisa 14.2 26.9 1,733 functions
lisa 14.4 27.3 2,029 configure-helper.sh
lisa 16.4 29.3 2,512 abuild
lisa 15.2 27.9 2,698 Build.sh
lisa 11.0 24.2 3,123 t9300-fast-import.sh
lisa 27.4 40.2 5,160 test-cmd-util.sh
lisa 28.0 40.8 9,661 ltmain.sh
lisa 50.5 63.4 20,489 configure
lisa 122.7 135.7 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-caf2e2a4
osh-ovm osh-464fc14b
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2019-10-03__21-16-47.times.csv
lisa.2019-10-03__21-40-07.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 5 135 188 194 17.8 1,679 t4014-format-patch.sh
flanders 15 4 13 42 518 526 33.8 1,733 functions
flanders 20 NA NA 71 540 564 27.3 2,029 configure-helper.sh
flanders 20 5 18 60 770 778 38.7 2,512 abuild
flanders 14 4 11 141 566 524 40.4 2,698 Build.sh
flanders 16 3 8 185 199 196 12.3 3,123 t9300-fast-import.sh
flanders 40 NA NA 185 1,814 1,538 44.8 5,160 test-cmd-util.sh
flanders 44 11 31 217 2,228 1,706 50.1 9,661 ltmain.sh
flanders 82 18 52 529 6,022 3,376 73.4 20,489 configure
flanders 220 41 142 2,108 14,597 11,951 66.2 69,779 configure-coreutils
lisa 4 2 2 48 64 70 18.3 1,679 t4014-format-patch.sh
lisa 5 2 3 17 182 184 38.8 1,733 functions
lisa 6 NA NA 27 198 186 35.9 2,029 configure-helper.sh
lisa 10 3 5 22 274 262 28.0 2,512 abuild
lisa 5 2 4 48 235 200 45.2 2,698 Build.sh
lisa 5 2 2 57 82 74 16.3 3,123 t9300-fast-import.sh
lisa 19 NA NA 68 660 579 34.4 5,160 test-cmd-util.sh
lisa 20 4 12 83 744 694 37.0 9,661 ltmain.sh
lisa 37 9 24 193 1,643 1,474 44.9 20,489 configure
lisa 91 24 64 656 4,804 4,308 53.0 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 158.4 524.7 310.9 12.4 8.9 8.6 1,679 t4014-format-patch.sh
flanders 113.3 433.2 129.3 41.2 3.3 3.3 1,733 functions
flanders 102.5 NA NA 28.4 3.8 3.6 2,029 configure-helper.sh
flanders 126.2 512.7 143.5 41.9 3.3 3.2 2,512 abuild
flanders 192.7 599.6 254.5 19.1 4.8 5.2 2,698 Build.sh
flanders 194.0 918.5 390.4 16.8 15.7 15.9 3,123 t9300-fast-import.sh
flanders 127.4 NA NA 27.9 2.8 3.4 5,160 test-cmd-util.sh
flanders 217.1 886.3 314.7 44.5 4.3 5.7 9,661 ltmain.sh
flanders 249.6 1,132.0 391.8 38.7 3.4 6.1 20,489 configure
flanders 316.6 1,689.6 492.8 33.1 4.8 5.8 69,779 configure-coreutils
lisa 479.7 1,119.3 883.7 34.7 26.3 24.0 1,679 t4014-format-patch.sh
lisa 368.7 1,083.1 525.2 102.5 9.5 9.4 1,733 functions
lisa 368.9 NA NA 74.3 10.3 10.9 2,029 configure-helper.sh
lisa 256.3 966.2 546.1 114.2 9.2 9.6 2,512 abuild
lisa 518.8 1,420.0 710.0 56.6 11.5 13.5 2,698 Build.sh
lisa 624.6 2,082.0 1,419.5 54.6 38.3 42.4 3,123 t9300-fast-import.sh
lisa 268.8 NA NA 76.2 7.8 8.9 5,160 test-cmd-util.sh
lisa 480.6 2,300.2 779.1 116.8 13.0 13.9 9,661 ltmain.sh
lisa 559.8 2,251.5 857.3 106.1 12.5 13.9 20,489 configure
lisa 769.3 2,944.3 1,095.4 106.3 14.5 16.2 69,779 configure-coreutils