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 465 255.4
flanders dash 111,674 93 1,196.9
flanders mksh 111,674 259 431.3
flanders osh-cpython 118,863 21,157 5.6
flanders osh-ovm 118,863 20,256 5.9
flanders zsh 118,863 3,132 38.0
lisa bash 118,863 188 633.6
lisa dash 111,674 38 2,923.4
lisa mksh 111,674 108 1,032.1
lisa osh-cpython 118,863 8,292 14.3
lisa osh-ovm 118,863 8,227 14.4
lisa zsh 118,863 1,033 115.0

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 12.0 24.9 1,679 t4014-format-patch.sh
flanders 16.2 29.1 1,733 functions
flanders 17.3 30.0 2,029 configure-helper.sh
flanders 19.4 32.3 2,512 abuild
flanders 17.6 30.5 2,698 Build.sh
flanders 12.8 25.6 3,123 t9300-fast-import.sh
flanders 36.0 48.6 5,160 test-cmd-util.sh
flanders 36.0 48.9 9,661 ltmain.sh
flanders 68.1 81.0 20,489 configure
flanders 171.7 184.5 69,779 configure-coreutils
lisa 12.0 24.9 1,679 t4014-format-patch.sh
lisa 16.0 29.1 1,733 functions
lisa 17.2 30.0 2,029 configure-helper.sh
lisa 19.5 32.3 2,512 abuild
lisa 17.7 30.5 2,698 Build.sh
lisa 12.7 25.5 3,123 t9300-fast-import.sh
lisa 35.8 48.6 5,160 test-cmd-util.sh
lisa 35.8 49.1 9,661 ltmain.sh
lisa 68.0 81.0 20,489 configure
lisa 171.5 184.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-1aec03fe
osh-ovm osh-c55743ff
host label host id
flanders flanders-d5e3a44e
lisa lisa-02485150

Raw Data

filename
flanders.2018-01-24__11-25-29.times.csv
lisa.2018-01-24__11-24-31.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 133 150 170 14.1 1,679 t4014-format-patch.sh
flanders 13 5 14 37 425 413 31.9 1,733 functions
flanders 16 NA NA 64 466 449 29.0 2,029 configure-helper.sh
flanders 20 5 15 50 651 674 31.7 2,512 abuild
flanders 14 5 10 128 470 517 32.4 2,698 Build.sh
flanders 16 3 7 171 181 213 11.1 3,123 t9300-fast-import.sh
flanders 39 NA NA 171 1,375 1,504 35.4 5,160 test-cmd-util.sh
flanders 47 11 29 190 1,460 1,929 31.3 9,661 ltmain.sh
flanders 85 23 50 477 3,506 4,430 41.0 20,489 configure
flanders 203 37 128 1,709 11,573 10,858 57.0 69,779 configure-coreutils
lisa 3 1 2 49 60 73 17.6 1,679 t4014-format-patch.sh
lisa 4 2 4 12 164 179 39.9 1,733 functions
lisa 6 NA NA 22 178 190 32.4 2,029 configure-helper.sh
lisa 6 2 5 19 263 275 43.1 2,512 abuild
lisa 5 2 4 41 180 205 36.8 2,698 Build.sh
lisa 6 2 3 50 71 84 12.6 3,123 t9300-fast-import.sh
lisa 18 NA NA 60 572 627 31.9 5,160 test-cmd-util.sh
lisa 19 4 12 68 635 692 33.6 9,661 ltmain.sh
lisa 38 8 22 170 1,596 1,589 41.9 20,489 configure
lisa 83 19 56 544 4,509 4,378 54.3 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 156.9 390.5 270.8 12.6 11.2 9.9 1,679 t4014-format-patch.sh
flanders 130.3 339.8 126.5 46.6 4.1 4.2 1,733 functions
flanders 126.0 NA NA 31.8 4.4 4.5 2,029 configure-helper.sh
flanders 122.5 523.3 166.4 49.9 3.9 3.7 2,512 abuild
flanders 186.1 574.0 261.9 21.1 5.7 5.2 2,698 Build.sh
flanders 191.6 975.9 473.2 18.2 17.2 14.7 3,123 t9300-fast-import.sh
flanders 133.0 NA NA 30.1 3.8 3.4 5,160 test-cmd-util.sh
flanders 207.3 902.9 330.9 50.8 6.6 5.0 9,661 ltmain.sh
flanders 239.9 883.1 409.0 42.9 5.8 4.6 20,489 configure
flanders 343.4 1,870.8 546.4 40.8 6.0 6.4 69,779 configure-coreutils
lisa 493.8 1,399.2 987.6 34.4 28.1 23.0 1,679 t4014-format-patch.sh
lisa 422.7 1,019.4 393.9 144.4 10.6 9.7 1,733 functions
lisa 368.9 NA NA 93.9 11.4 10.7 2,029 configure-helper.sh
lisa 411.8 1,395.6 502.4 132.9 9.6 9.1 2,512 abuild
lisa 550.6 1,349.0 642.4 66.5 15.0 13.1 2,698 Build.sh
lisa 557.7 2,082.0 1,076.9 62.5 44.2 37.0 3,123 t9300-fast-import.sh
lisa 288.3 NA NA 86.7 9.0 8.2 5,160 test-cmd-util.sh
lisa 511.2 2,760.3 840.1 141.4 15.2 14.0 9,661 ltmain.sh
lisa 537.8 2,660.9 922.9 120.7 12.8 12.9 20,489 configure
lisa 839.7 3,711.6 1,239.4 128.3 15.5 15.9 69,779 configure-coreutils