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 477 249.0
flanders dash 111,674 87 1,279.2
flanders mksh 111,674 260 428.9
flanders osh-cpython 118,863 19,549 6.1
flanders osh-ovm 118,863 24,249 4.9
flanders zsh 118,863 3,203 37.1
lisa bash 118,863 201 590.5
lisa dash 111,674 40 2,778.0
lisa mksh 111,674 117 953.7
lisa osh-cpython 118,863 8,494 14.0
lisa osh-ovm 118,863 9,426 12.6
lisa zsh 118,863 1,251 95.0

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.5 20.7 1,679 t4014-format-patch.sh
flanders 7.5 20.7 1,733 functions
flanders 7.7 20.7 2,029 configure-helper.sh
flanders 7.5 20.7 2,512 abuild
flanders 7.5 20.7 2,698 Build.sh
flanders 7.5 20.7 3,123 t9300-fast-import.sh
flanders 7.5 20.7 5,160 test-cmd-util.sh
flanders 7.6 20.7 9,661 ltmain.sh
flanders 7.7 20.7 20,489 configure
flanders 7.5 20.7 69,779 configure-coreutils
lisa 7.5 20.9 1,679 t4014-format-patch.sh
lisa 7.5 20.9 1,733 functions
lisa 7.5 20.9 2,029 configure-helper.sh
lisa 7.5 20.9 2,512 abuild
lisa 7.5 20.9 2,698 Build.sh
lisa 7.5 20.9 3,123 t9300-fast-import.sh
lisa 7.5 20.9 5,160 test-cmd-util.sh
lisa 7.5 20.9 9,661 ltmain.sh
lisa 7.4 20.9 20,489 configure
lisa 7.4 20.9 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-02b74d7b
osh-ovm osh-9b77730f
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2019-02-15__23-23-14.times.csv
lisa.2019-02-15__23-32-01.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 12 4 6 140 160 130 13.0 1,679 t4014-format-patch.sh
flanders 17 4 13 35 496 364 28.7 1,733 functions
flanders 16 NA NA 68 534 390 33.8 2,029 configure-helper.sh
flanders 20 6 17 56 766 559 38.5 2,512 abuild
flanders 16 4 10 132 555 414 34.5 2,698 Build.sh
flanders 15 4 7 174 196 149 13.3 3,123 t9300-fast-import.sh
flanders 43 NA NA 171 1,623 1,242 37.5 5,160 test-cmd-util.sh
flanders 49 12 26 194 1,745 1,510 35.9 9,661 ltmain.sh
flanders 85 17 53 496 4,366 3,798 51.3 20,489 configure
flanders 204 36 129 1,736 13,808 10,993 67.6 69,779 configure-coreutils
lisa 4 1 2 53 60 66 17.2 1,679 t4014-format-patch.sh
lisa 4 2 4 14 199 173 47.4 1,733 functions
lisa 6 NA NA 26 199 182 35.0 2,029 configure-helper.sh
lisa 6 2 6 22 289 279 45.2 2,512 abuild
lisa 5 2 4 46 218 188 40.4 2,698 Build.sh
lisa 6 1 2 64 72 76 13.0 3,123 t9300-fast-import.sh
lisa 18 NA NA 74 670 595 36.2 5,160 test-cmd-util.sh
lisa 24 4 12 85 764 666 31.4 9,661 ltmain.sh
lisa 36 8 24 203 1,830 1,649 51.6 20,489 configure
lisa 92 21 64 663 5,124 4,622 55.5 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 136.5 399.8 294.6 12.0 10.5 12.9 1,679 t4014-format-patch.sh
flanders 100.2 412.6 129.3 49.2 3.5 4.8 1,733 functions
flanders 128.4 NA NA 29.7 3.8 5.2 2,029 configure-helper.sh
flanders 126.2 418.7 148.6 45.2 3.3 4.5 2,512 abuild
flanders 167.6 613.2 284.0 20.5 4.9 6.5 2,698 Build.sh
flanders 212.4 800.8 439.9 17.9 15.9 21.0 3,123 t9300-fast-import.sh
flanders 119.2 NA NA 30.2 3.2 4.2 5,160 test-cmd-util.sh
flanders 198.8 791.9 370.2 49.7 5.5 6.4 9,661 ltmain.sh
flanders 240.8 1,234.3 386.6 41.4 4.7 5.4 20,489 configure
flanders 341.7 1,949.1 542.2 40.2 5.1 6.3 69,779 configure-coreutils
lisa 479.7 1,399.2 883.7 31.5 27.8 25.3 1,679 t4014-format-patch.sh
lisa 412.6 1,155.3 403.0 119.5 8.7 10.0 1,733 functions
lisa 356.0 NA NA 77.1 10.2 11.2 2,029 configure-helper.sh
lisa 392.5 1,477.6 448.6 114.7 8.7 9.0 2,512 abuild
lisa 499.6 1,587.1 770.9 58.9 12.4 14.4 2,698 Build.sh
lisa 567.8 2,402.3 1,487.1 49.0 43.7 41.0 3,123 t9300-fast-import.sh
lisa 278.9 NA NA 69.8 7.7 8.7 5,160 test-cmd-util.sh
lisa 397.6 2,300.2 818.7 113.7 12.6 14.5 9,661 ltmain.sh
lisa 577.2 2,660.9 850.2 100.9 11.2 12.4 20,489 configure
lisa 756.0 3,338.7 1,093.7 105.2 13.6 15.1 69,779 configure-coreutils