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 586 202.8
flanders dash 111,674 110 1,014.3
flanders mksh 111,674 325 343.9
flanders osh-cpython 118,863 26,377 4.5
flanders osh-ovm 118,863 26,425 4.5
flanders zsh 118,863 4,842 24.6
lisa bash 118,863 197 604.6
lisa dash 111,674 44 2,567.2
lisa mksh 111,674 126 886.3
lisa osh-cpython 118,863 8,201 14.5
lisa osh-ovm 118,863 8,886 13.4
lisa zsh 118,863 1,280 92.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 10.0 31.0 1,679 t4014-format-patch.sh
flanders 13.0 34.0 1,733 functions
flanders 13.6 34.6 2,029 configure-helper.sh
flanders 15.3 36.5 2,512 abuild
flanders 14.2 35.3 2,698 Build.sh
flanders 10.4 31.5 3,123 t9300-fast-import.sh
flanders 26.6 47.6 5,160 test-cmd-util.sh
flanders 27.1 48.3 9,661 ltmain.sh
flanders 50.0 71.2 20,489 configure
flanders 122.6 143.7 69,779 configure-coreutils
lisa 10.0 31.0 1,679 t4014-format-patch.sh
lisa 12.8 34.0 1,733 functions
lisa 13.4 34.6 2,029 configure-helper.sh
lisa 15.3 36.5 2,512 abuild
lisa 14.0 35.3 2,698 Build.sh
lisa 10.2 31.4 3,123 t9300-fast-import.sh
lisa 26.4 47.6 5,160 test-cmd-util.sh
lisa 27.1 48.2 9,661 ltmain.sh
lisa 50.0 71.2 20,489 configure
lisa 122.4 143.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-a5e52340
osh-ovm osh-35c56535
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2019-05-14__11-28-22.times.csv
lisa.2019-05-14__11-34-30.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 4 6 150 171 229 15.7 1,679 t4014-format-patch.sh
flanders 14 5 11 50 546 584 39.0 1,733 functions
flanders 17 NA NA 88 585 608 34.2 2,029 configure-helper.sh
flanders 18 7 17 70 724 854 40.2 2,512 abuild
flanders 16 5 12 148 536 630 34.4 2,698 Build.sh
flanders 17 4 7 191 184 229 11.0 3,123 t9300-fast-import.sh
flanders 45 NA NA 234 1,677 1,799 37.4 5,160 test-cmd-util.sh
flanders 52 17 34 269 2,070 1,891 39.8 9,661 ltmain.sh
flanders 112 23 64 813 5,419 4,604 48.3 20,489 configure
flanders 285 47 172 2,828 14,513 14,948 51.0 69,779 configure-coreutils
lisa 4 1 2 57 65 60 17.5 1,679 t4014-format-patch.sh
lisa 4 2 3 17 181 171 40.3 1,733 functions
lisa 7 NA NA 27 200 173 27.8 2,029 configure-helper.sh
lisa 6 2 5 22 291 259 44.8 2,512 abuild
lisa 5 2 4 48 206 202 41.2 2,698 Build.sh
lisa 6 2 2 68 68 73 11.4 3,123 t9300-fast-import.sh
lisa 18 NA NA 73 682 590 38.6 5,160 test-cmd-util.sh
lisa 22 4 13 86 791 702 35.1 9,661 ltmain.sh
lisa 35 7 26 200 1,655 1,542 47.0 20,489 configure
lisa 88 23 70 683 4,746 4,428 53.7 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 154.0 453.8 266.5 11.2 9.8 7.3 1,679 t4014-format-patch.sh
flanders 123.8 368.7 157.5 34.9 3.2 3.0 1,733 functions
flanders 118.7 NA NA 23.1 3.5 3.3 2,029 configure-helper.sh
flanders 139.6 380.6 145.2 35.9 3.5 2.9 2,512 abuild
flanders 172.9 509.1 230.6 18.2 5.0 4.3 2,698 Build.sh
flanders 187.0 780.8 427.8 16.3 17.0 13.7 3,123 t9300-fast-import.sh
flanders 115.2 NA NA 22.0 3.1 2.9 5,160 test-cmd-util.sh
flanders 185.8 582.0 282.5 35.9 4.7 5.1 9,661 ltmain.sh
flanders 182.6 906.6 317.7 25.2 3.8 4.5 20,489 configure
flanders 245.0 1,497.4 404.8 24.7 4.8 4.7 69,779 configure-coreutils
lisa 453.8 1,199.3 883.7 29.5 25.9 27.8 1,679 t4014-format-patch.sh
lisa 385.1 1,155.3 525.2 104.4 9.6 10.1 1,733 functions
lisa 281.8 NA NA 74.1 10.1 11.7 2,029 configure-helper.sh
lisa 386.5 1,395.6 474.0 113.2 8.6 9.7 2,512 abuild
lisa 539.6 1,173.0 770.9 56.8 13.1 13.4 2,698 Build.sh
lisa 520.5 1,951.9 1,301.2 46.2 45.7 42.7 3,123 t9300-fast-import.sh
lisa 291.5 NA NA 71.1 7.6 8.7 5,160 test-cmd-util.sh
lisa 429.4 2,246.7 743.2 112.6 12.2 13.8 9,661 ltmain.sh
lisa 582.1 2,768.8 773.2 102.2 12.4 13.3 20,489 configure
lisa 790.2 3,007.7 995.4 102.2 14.7 15.8 69,779 configure-coreutils