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 509 233.6
flanders dash 111,674 94 1,190.6
flanders mksh 111,674 275 405.9
flanders osh-cpython 118,863 31,203 3.8
flanders osh-ovm 118,863 33,496 3.5
flanders zsh 118,863 3,674 32.4
lisa bash 118,863 200 593.1
lisa dash 111,674 42 2,652.6
lisa mksh 111,674 115 967.7
lisa osh-cpython 118,863 8,936 13.3
lisa osh-ovm 118,863 9,947 11.9
lisa zsh 118,863 1,227 96.9

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.8 23.8 1,679 t4014-format-patch.sh
flanders 14.0 26.7 1,733 functions
flanders 14.5 27.4 2,029 configure-helper.sh
flanders 16.6 29.4 2,512 abuild
flanders 15.1 28.0 2,698 Build.sh
flanders 11.2 24.2 3,123 t9300-fast-import.sh
flanders 27.5 40.3 5,160 test-cmd-util.sh
flanders 28.0 40.7 9,661 ltmain.sh
flanders 50.5 63.5 20,489 configure
flanders 122.9 135.7 69,779 configure-coreutils
lisa 10.8 23.8 1,679 t4014-format-patch.sh
lisa 14.1 26.7 1,733 functions
lisa 14.4 27.4 2,029 configure-helper.sh
lisa 16.5 29.4 2,512 abuild
lisa 15.1 28.0 2,698 Build.sh
lisa 11.4 24.2 3,123 t9300-fast-import.sh
lisa 27.5 40.3 5,160 test-cmd-util.sh
lisa 27.9 40.7 9,661 ltmain.sh
lisa 50.5 63.5 20,489 configure
lisa 122.9 135.8 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-c117aef8
osh-ovm osh-be33fca1
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2019-11-11__13-03-19.times.csv
lisa.2019-11-11__13-03-14.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 144 282 256 25.2 1,679 t4014-format-patch.sh
flanders 13 5 14 45 921 734 69.8 1,733 functions
flanders 18 NA NA 78 990 789 53.8 2,029 configure-helper.sh
flanders 20 5 16 65 1,404 1,090 71.3 2,512 abuild
flanders 15 6 10 139 884 796 57.8 2,698 Build.sh
flanders 15 4 6 178 288 258 18.9 3,123 t9300-fast-import.sh
flanders 46 NA NA 208 2,653 2,095 57.3 5,160 test-cmd-util.sh
flanders 53 11 31 238 2,676 2,557 50.5 9,661 ltmain.sh
flanders 92 21 52 583 6,233 5,478 68.1 20,489 configure
flanders 225 39 140 1,996 17,165 17,151 76.3 69,779 configure-coreutils
lisa 4 2 2 49 68 82 16.6 1,679 t4014-format-patch.sh
lisa 5 2 4 16 203 206 39.0 1,733 functions
lisa 6 NA NA 28 227 207 41.2 2,029 configure-helper.sh
lisa 6 2 4 24 308 287 50.5 2,512 abuild
lisa 8 2 4 45 247 223 31.3 2,698 Build.sh
lisa 5 2 2 59 79 80 14.9 3,123 t9300-fast-import.sh
lisa 17 NA NA 75 784 640 47.2 5,160 test-cmd-util.sh
lisa 22 5 12 82 864 759 40.0 9,661 ltmain.sh
lisa 38 8 24 196 1,813 1,663 48.1 20,489 configure
lisa 90 20 62 653 5,354 4,788 59.2 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 149.9 453.8 289.5 11.6 5.9 6.6 1,679 t4014-format-patch.sh
flanders 131.3 376.7 127.4 38.8 1.9 2.4 1,733 functions
flanders 110.3 NA NA 26.0 2.0 2.6 2,029 configure-helper.sh
flanders 127.5 512.7 152.2 38.4 1.8 2.3 2,512 abuild
flanders 176.3 457.3 261.9 19.4 3.1 3.4 2,698 Build.sh
flanders 205.5 892.3 503.7 17.6 10.8 12.1 3,123 t9300-fast-import.sh
flanders 111.4 NA NA 24.8 1.9 2.5 5,160 test-cmd-util.sh
flanders 182.3 886.3 312.7 40.6 3.6 3.8 9,661 ltmain.sh
flanders 223.9 957.4 393.3 35.2 3.3 3.7 20,489 configure
flanders 310.1 1,793.8 499.5 35.0 4.1 4.1 69,779 configure-coreutils
lisa 409.5 932.8 799.5 34.1 24.7 20.5 1,679 t4014-format-patch.sh
lisa 333.3 1,155.3 403.0 109.0 8.5 8.4 1,733 functions
lisa 368.9 NA NA 73.5 9.0 9.8 2,029 configure-helper.sh
lisa 411.8 1,256.0 584.2 103.8 8.2 8.7 2,512 abuild
lisa 341.5 1,226.4 627.4 60.2 10.9 12.1 2,698 Build.sh
lisa 589.2 1,487.1 1,357.8 52.7 39.6 39.0 3,123 t9300-fast-import.sh
lisa 310.8 NA NA 68.9 6.6 8.1 5,160 test-cmd-util.sh
lisa 447.3 2,100.2 811.8 117.5 11.2 12.7 9,661 ltmain.sh
lisa 543.5 2,498.7 843.2 104.7 11.3 12.3 20,489 configure
lisa 771.9 3,542.1 1,127.3 106.9 13.0 14.6 69,779 configure-coreutils