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 496 239.4
flanders dash 111,674 95 1,175.5
flanders mksh 111,674 290 385.0
flanders osh-cpython 118,863 61,347 1.9
flanders osh-ovm 118,863 65,060 1.8
flanders zsh 118,863 1,863 63.8
lisa bash 118,863 176 674.2
lisa dash 111,674 35 3,190.7
lisa mksh 111,674 107 1,046.6
lisa osh-cpython 118,863 27,787 4.3
lisa osh-ovm 118,863 28,645 4.1
lisa zsh 118,863 738 161.1

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 15.8 28.4 1,679 t4014-format-patch.sh
flanders 30.3 43.2 1,733 functions
flanders 34.4 47.2 2,029 configure-helper.sh
flanders 42.2 55.2 2,512 abuild
flanders 35.3 48.1 2,698 Build.sh
flanders 17.5 30.4 3,123 t9300-fast-import.sh
flanders 100.8 113.7 5,160 test-cmd-util.sh
flanders 97.9 110.9 9,661 ltmain.sh
flanders 206.2 219.0 20,489 configure
flanders 558.4 571.1 69,779 configure-coreutils
lisa 15.7 28.4 1,679 t4014-format-patch.sh
lisa 30.6 43.2 1,733 functions
lisa 34.4 47.2 2,029 configure-helper.sh
lisa 42.1 55.2 2,512 abuild
lisa 35.4 48.4 2,698 Build.sh
lisa 17.6 30.4 3,123 t9300-fast-import.sh
lisa 100.6 113.7 5,160 test-cmd-util.sh
lisa 98.0 110.9 9,661 ltmain.sh
lisa 206.2 219.3 20,489 configure
lisa 558.4 571.5 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-fa169c3c
osh-ovm osh-43c82ed3
host label host id
flanders flanders-6268bd32
lisa lisa-8cad9f6e

Raw Data

filename
flanders.2017-12-08__10-18-47.times.csv
lisa.2017-12-08__10-18-26.times.csv

Parse Time Breakdown by File

Elasped Time in milliseconds

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 8 3 5 102 363 331 1,679 t4014-format-patch.sh
flanders 8 3 8 32 1,349 1,218 1,733 functions
flanders 17 NA NA 43 1,410 1,366 2,029 configure-helper.sh
flanders 20 3 20 30 1,916 1,879 2,512 abuild
flanders 11 4 9 72 1,564 1,392 2,698 Build.sh
flanders 24 5 4 71 473 413 3,123 t9300-fast-import.sh
flanders 50 NA NA 113 4,961 4,713 5,160 test-cmd-util.sh
flanders 54 7 23 122 5,702 5,083 9,661 ltmain.sh
flanders 84 13 51 268 11,758 11,560 20,489 configure
flanders 220 57 170 1,010 35,565 33,392 69,779 configure-coreutils
lisa 3 1 2 36 156 163 1,679 t4014-format-patch.sh
lisa 4 1 4 8 534 534 1,733 functions
lisa 6 NA NA 16 616 665 2,029 configure-helper.sh
lisa 6 2 4 12 860 930 2,512 abuild
lisa 5 2 3 31 606 648 2,698 Build.sh
lisa 5 1 2 42 185 172 3,123 t9300-fast-import.sh
lisa 15 NA NA 39 2,193 2,452 5,160 test-cmd-util.sh
lisa 18 4 11 44 2,361 2,411 9,661 ltmain.sh
lisa 34 7 23 123 6,149 5,089 20,489 configure
lisa 82 18 58 387 14,985 14,723 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 223.9 508.8 322.9 16.5 4.6 5.1 1,679 t4014-format-patch.sh
flanders 208.8 509.7 231.1 54.5 1.3 1.4 1,733 functions
flanders 121.5 NA NA 47.1 1.4 1.5 2,029 configure-helper.sh
flanders 125.6 785.0 124.4 85.2 1.3 1.3 2,512 abuild
flanders 240.9 749.4 290.1 37.2 1.7 1.9 2,698 Build.sh
flanders 128.5 678.9 726.3 43.9 6.6 7.6 3,123 t9300-fast-import.sh
flanders 104.0 NA NA 45.6 1.0 1.1 5,160 test-cmd-util.sh
flanders 177.6 1,323.4 423.7 79.0 1.7 1.9 9,661 ltmain.sh
flanders 242.5 1,626.1 401.0 76.3 1.7 1.8 20,489 configure
flanders 317.2 1,224.2 411.2 69.1 2.0 2.1 69,779 configure-coreutils
lisa 508.8 1,399.2 1,049.4 46.8 10.8 10.3 1,679 t4014-format-patch.sh
lisa 444.4 1,237.9 481.4 216.6 3.2 3.2 1,733 functions
lisa 356.0 NA NA 124.5 3.3 3.1 2,029 configure-helper.sh
lisa 448.6 1,570.0 558.2 207.6 2.9 2.7 2,512 abuild
lisa 586.5 1,798.7 843.1 87.9 4.5 4.2 2,698 Build.sh
lisa 664.5 2,602.5 1,487.1 75.1 16.9 18.1 3,123 t9300-fast-import.sh
lisa 337.3 NA NA 132.0 2.4 2.1 5,160 test-cmd-util.sh
lisa 552.1 2,542.4 894.5 222.1 4.1 4.0 9,661 ltmain.sh
lisa 611.6 3,104.4 883.1 166.2 3.3 4.0 20,489 configure
lisa 848.9 3,942.3 1,209.3 180.3 4.7 4.7 69,779 configure-coreutils