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 464 255.9
flanders dash 111,674 82 1,365.2
flanders mksh 111,674 247 452.1
flanders osh-cpython 118,863 18,516 6.4
flanders osh-ovm 118,863 20,854 5.7
flanders zsh 118,863 3,145 37.8
lisa bash 118,863 218 545.2
lisa dash 111,674 39 2,863.4
lisa mksh 111,674 116 963.5
lisa osh-cpython 118,863 8,912 13.3
lisa osh-ovm 118,863 9,632 12.3
lisa zsh 118,863 1,089 109.2

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.6 24.6 1,679 t4014-format-patch.sh
flanders 16.0 28.9 1,733 functions
flanders 16.9 29.8 2,029 configure-helper.sh
flanders 19.2 32.2 2,512 abuild
flanders 17.6 30.3 2,698 Build.sh
flanders 12.5 25.4 3,123 t9300-fast-import.sh
flanders 35.5 48.5 5,160 test-cmd-util.sh
flanders 35.7 48.7 9,661 ltmain.sh
flanders 67.9 80.8 20,489 configure
flanders 171.3 184.3 69,779 configure-coreutils
lisa 11.7 24.7 1,679 t4014-format-patch.sh
lisa 15.9 28.9 1,733 functions
lisa 16.7 29.8 2,029 configure-helper.sh
lisa 19.2 32.2 2,512 abuild
lisa 17.4 30.3 2,698 Build.sh
lisa 12.6 25.4 3,123 t9300-fast-import.sh
lisa 35.5 48.5 5,160 test-cmd-util.sh
lisa 35.7 48.7 9,661 ltmain.sh
lisa 67.8 80.8 20,489 configure
lisa 171.2 184.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-4015679c
osh-ovm osh-7fced4b6
host label host id
flanders flanders-2ee9956b
lisa lisa-02485150

Raw Data

filename
flanders.2018-02-02__22-20-32.times.csv
lisa.2018-02-02__22-20-41.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 10 3 5 132 150 171 14.4 1,679 t4014-format-patch.sh
flanders 17 4 9 34 422 413 25.0 1,733 functions
flanders 20 NA NA 63 525 448 26.3 2,029 configure-helper.sh
flanders 20 4 13 54 817 612 41.3 2,512 abuild
flanders 15 4 11 134 586 470 38.5 2,698 Build.sh
flanders 16 3 6 184 221 192 14.3 3,123 t9300-fast-import.sh
flanders 44 NA NA 164 1,796 1,397 41.3 5,160 test-cmd-util.sh
flanders 44 11 26 191 1,775 1,523 40.8 9,661 ltmain.sh
flanders 82 17 48 480 3,883 3,443 47.1 20,489 configure
flanders 197 35 128 1,708 10,678 9,846 54.2 69,779 configure-coreutils
lisa 4 1 2 47 60 81 17.2 1,679 t4014-format-patch.sh
lisa 4 1 4 14 190 196 46.5 1,733 functions
lisa 6 NA NA 25 190 201 34.0 2,029 configure-helper.sh
lisa 6 2 6 19 284 330 48.9 2,512 abuild
lisa 5 2 4 44 197 220 40.3 2,698 Build.sh
lisa 5 1 2 51 76 86 15.0 3,123 t9300-fast-import.sh
lisa 24 NA NA 62 612 705 25.7 5,160 test-cmd-util.sh
lisa 26 4 11 76 674 737 25.9 9,661 ltmain.sh
lisa 39 9 23 174 1,927 1,750 49.7 20,489 configure
lisa 100 19 64 576 5,421 4,606 54.0 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 161.4 541.6 316.8 12.7 11.2 9.8 1,679 t4014-format-patch.sh
flanders 102.5 412.6 192.6 51.3 4.1 4.2 1,733 functions
flanders 101.5 NA NA 32.1 3.9 4.5 2,029 configure-helper.sh
flanders 126.9 558.2 199.4 46.9 3.1 4.1 2,512 abuild
flanders 177.5 613.2 240.9 20.2 4.6 5.7 2,698 Build.sh
flanders 201.5 975.9 503.7 17.0 14.1 16.2 3,123 t9300-fast-import.sh
flanders 118.6 NA NA 31.4 2.9 3.7 5,160 test-cmd-util.sh
flanders 222.1 902.9 367.3 50.5 5.4 6.3 9,661 ltmain.sh
flanders 248.4 1,226.9 422.5 42.6 5.3 6.0 20,489 configure
flanders 354.0 1,993.7 545.6 40.8 6.5 7.1 69,779 configure-coreutils
lisa 479.7 1,199.3 799.5 35.9 27.9 20.6 1,679 t4014-format-patch.sh
lisa 422.7 1,237.9 433.2 119.5 9.1 8.8 1,733 functions
lisa 362.3 NA NA 80.2 10.7 10.1 2,029 configure-helper.sh
lisa 433.1 1,395.6 456.7 132.9 8.9 7.6 2,512 abuild
lisa 550.6 1,420.0 729.2 61.2 13.7 12.3 2,698 Build.sh
lisa 612.4 2,402.3 1,301.2 61.0 40.9 36.5 3,123 t9300-fast-import.sh
lisa 216.8 NA NA 83.4 8.4 7.3 5,160 test-cmd-util.sh
lisa 371.6 2,542.4 847.5 126.8 14.3 13.1 9,661 ltmain.sh
lisa 528.1 2,355.1 902.6 118.1 10.6 11.7 20,489 configure
lisa 695.0 3,731.5 1,088.6 121.0 12.9 15.2 69,779 configure-coreutils