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 475 250.4
flanders dash 111,674 83 1,350.4
flanders mksh 111,674 255 438.1
flanders osh-cpython 118,863 18,734 6.3
flanders osh-ovm 118,863 20,448 5.8
flanders zsh 118,863 3,239 36.7
lisa bash 118,863 183 650.2
lisa dash 111,674 41 2,717.1
lisa mksh 111,674 110 1,013.4
lisa osh-cpython 118,863 8,113 14.7
lisa osh-ovm 118,863 8,744 13.6
lisa zsh 118,863 1,183 100.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.4 23.2 1,679 t4014-format-patch.sh
flanders 14.2 26.9 1,733 functions
flanders 15.1 27.8 2,029 configure-helper.sh
flanders 17.1 29.9 2,512 abuild
flanders 15.6 28.3 2,698 Build.sh
flanders 11.0 23.8 3,123 t9300-fast-import.sh
flanders 32.1 44.8 5,160 test-cmd-util.sh
flanders 32.4 45.1 9,661 ltmain.sh
flanders 61.5 74.3 20,489 configure
flanders 156.8 169.5 69,779 configure-coreutils
lisa 10.3 23.2 1,679 t4014-format-patch.sh
lisa 14.2 26.9 1,733 functions
lisa 15.0 27.8 2,029 configure-helper.sh
lisa 16.9 29.9 2,512 abuild
lisa 15.6 28.3 2,698 Build.sh
lisa 10.8 23.8 3,123 t9300-fast-import.sh
lisa 32.1 44.8 5,160 test-cmd-util.sh
lisa 32.4 45.1 9,661 ltmain.sh
lisa 61.4 74.3 20,489 configure
lisa 156.5 169.4 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-3cabbfbd
osh-ovm osh-b2e5f9e3
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2018-08-18__23-35-14.times.csv
lisa.2018-08-19__00-23-00.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 16 4 5 141 139 166 8.9 1,679 t4014-format-patch.sh
flanders 13 4 9 42 407 408 31.6 1,733 functions
flanders 19 NA NA 71 447 444 23.2 2,029 configure-helper.sh
flanders 17 5 16 55 637 621 37.5 2,512 abuild
flanders 19 5 14 136 455 464 24.5 2,698 Build.sh
flanders 15 4 6 174 169 186 11.3 3,123 t9300-fast-import.sh
flanders 44 NA NA 171 1,410 1,396 32.3 5,160 test-cmd-util.sh
flanders 46 11 29 198 1,583 1,544 34.3 9,661 ltmain.sh
flanders 85 17 50 505 3,883 3,681 45.8 20,489 configure
flanders 201 34 125 1,746 11,317 9,825 56.2 69,779 configure-coreutils
lisa 4 1 2 53 61 70 15.6 1,679 t4014-format-patch.sh
lisa 4 2 3 14 182 169 46.6 1,733 functions
lisa 7 NA NA 28 187 193 27.5 2,029 configure-helper.sh
lisa 6 2 5 20 287 276 52.3 2,512 abuild
lisa 6 2 4 47 188 207 30.8 2,698 Build.sh
lisa 6 1 2 57 69 85 11.8 3,123 t9300-fast-import.sh
lisa 15 NA NA 72 607 593 40.0 5,160 test-cmd-util.sh
lisa 20 4 11 84 686 702 34.3 9,661 ltmain.sh
lisa 36 7 21 188 1,698 1,563 47.6 20,489 configure
lisa 80 22 63 620 4,779 4,254 59.8 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 106.9 419.8 335.8 11.9 12.1 10.1 1,679 t4014-format-patch.sh
flanders 134.3 468.4 192.6 41.2 4.3 4.2 1,733 functions
flanders 105.1 NA NA 28.7 4.5 4.6 2,029 configure-helper.sh
flanders 147.8 523.3 155.1 45.8 3.9 4.0 2,512 abuild
flanders 145.1 586.5 188.7 19.9 5.9 5.8 2,698 Build.sh
flanders 208.2 780.8 495.7 17.9 18.5 16.8 3,123 t9300-fast-import.sh
flanders 118.1 NA NA 30.2 3.7 3.7 5,160 test-cmd-util.sh
flanders 209.1 878.3 334.3 48.7 6.1 6.3 9,661 ltmain.sh
flanders 241.6 1,226.9 411.4 40.6 5.3 5.6 20,489 configure
flanders 346.5 2,058.4 556.5 40.0 6.2 7.1 69,779 configure-coreutils
lisa 430.5 1,199.3 932.8 31.7 27.5 24.0 1,679 t4014-format-patch.sh
lisa 444.4 1,155.3 559.0 119.5 9.5 10.3 1,733 functions
lisa 298.4 NA NA 73.0 10.9 10.5 2,029 configure-helper.sh
lisa 456.7 1,092.2 546.1 126.2 8.7 9.1 2,512 abuild
lisa 442.3 1,587.1 710.0 57.5 14.4 13.0 2,698 Build.sh
lisa 538.4 2,402.3 1,487.1 55.0 45.5 36.7 3,123 t9300-fast-import.sh
lisa 339.5 NA NA 71.6 8.5 8.7 5,160 test-cmd-util.sh
lisa 483.1 2,477.2 902.9 114.6 14.1 13.8 9,661 ltmain.sh
lisa 573.9 2,845.7 957.4 109.3 12.1 13.1 20,489 configure
lisa 873.3 3,200.9 1,112.9 112.5 14.6 16.4 69,779 configure-coreutils