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 474 250.9
flanders dash 111,674 95 1,173.0
flanders mksh 111,674 255 437.3
flanders osh-cpython 118,863 16,995 7.0
flanders osh-ovm 118,863 21,221 5.6
flanders zsh 118,863 3,199 37.2
lisa bash 118,863 196 606.1
lisa dash 111,674 38 2,970.1
lisa mksh 111,674 116 960.2
lisa osh-cpython 118,863 8,142 14.6
lisa osh-ovm 118,863 8,966 13.3
lisa zsh 118,863 1,195 99.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 7.7 20.5 1,679 t4014-format-patch.sh
flanders 7.8 20.5 1,733 functions
flanders 7.8 20.5 2,029 configure-helper.sh
flanders 7.8 20.5 2,512 abuild
flanders 7.7 20.5 2,698 Build.sh
flanders 7.6 20.5 3,123 t9300-fast-import.sh
flanders 7.8 20.5 5,160 test-cmd-util.sh
flanders 7.7 20.5 9,661 ltmain.sh
flanders 7.9 20.5 20,489 configure
flanders 7.8 20.5 69,779 configure-coreutils
lisa 7.8 20.5 1,679 t4014-format-patch.sh
lisa 7.8 20.5 1,733 functions
lisa 7.7 20.5 2,029 configure-helper.sh
lisa 7.7 20.5 2,512 abuild
lisa 7.8 20.5 2,698 Build.sh
lisa 7.7 20.5 3,123 t9300-fast-import.sh
lisa 7.7 20.5 5,160 test-cmd-util.sh
lisa 7.8 20.5 9,661 ltmain.sh
lisa 7.6 20.5 20,489 configure
lisa 7.7 20.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-0e745446
osh-ovm osh-6f738c4a
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2019-01-29__22-24-30.times.csv
lisa.2019-01-29__22-41-57.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 6 138 140 136 8.8 1,679 t4014-format-patch.sh
flanders 17 5 9 35 405 369 24.4 1,733 functions
flanders 16 NA NA 64 436 397 26.4 2,029 configure-helper.sh
flanders 21 5 16 51 626 559 30.4 2,512 abuild
flanders 16 5 11 138 448 411 28.0 2,698 Build.sh
flanders 15 4 7 194 164 159 11.1 3,123 t9300-fast-import.sh
flanders 42 NA NA 172 1,391 1,237 32.9 5,160 test-cmd-util.sh
flanders 46 16 29 195 1,555 1,387 33.8 9,661 ltmain.sh
flanders 86 20 51 493 3,816 3,231 44.2 20,489 configure
flanders 199 37 126 1,718 12,239 9,110 61.6 69,779 configure-coreutils
lisa 3 1 2 50 73 60 21.4 1,679 t4014-format-patch.sh
lisa 4 2 3 14 185 168 44.1 1,733 functions
lisa 6 NA NA 26 194 185 32.9 2,029 configure-helper.sh
lisa 6 2 5 21 277 252 48.6 2,512 abuild
lisa 6 2 3 47 207 180 34.5 2,698 Build.sh
lisa 6 1 2 59 73 68 11.4 3,123 t9300-fast-import.sh
lisa 16 NA NA 71 629 569 38.1 5,160 test-cmd-util.sh
lisa 20 4 12 84 726 669 36.1 9,661 ltmain.sh
lisa 35 8 28 191 1,754 1,596 50.0 20,489 configure
lisa 93 18 61 632 4,849 4,394 52.2 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 104.9 466.4 294.6 12.2 12.0 12.3 1,679 t4014-format-patch.sh
flanders 104.4 368.7 192.6 49.2 4.3 4.7 1,733 functions
flanders 123.0 NA NA 31.8 4.6 5.1 2,029 configure-helper.sh
flanders 121.9 483.1 153.2 49.3 4.0 4.5 2,512 abuild
flanders 168.6 562.1 254.5 19.6 6.0 6.6 2,698 Build.sh
flanders 211.0 800.8 439.9 16.1 19.0 19.6 3,123 t9300-fast-import.sh
flanders 122.0 NA NA 29.9 3.7 4.2 5,160 test-cmd-util.sh
flanders 210.0 596.4 332.0 49.5 6.2 7.0 9,661 ltmain.sh
flanders 237.4 1,045.4 399.4 41.6 5.4 6.3 20,489 configure
flanders 351.4 1,875.8 552.9 40.6 5.7 7.7 69,779 configure-coreutils
lisa 493.8 1,291.5 883.7 33.2 23.1 28.0 1,679 t4014-format-patch.sh
lisa 412.6 962.8 541.6 128.4 9.4 10.3 1,733 functions
lisa 343.9 NA NA 78.3 10.5 10.9 2,029 configure-helper.sh
lisa 440.7 1,196.2 465.2 119.1 9.1 10.0 2,512 abuild
lisa 449.7 1,587.1 793.5 57.8 13.1 15.0 2,698 Build.sh
lisa 488.0 2,602.5 1,487.1 53.0 42.7 46.0 3,123 t9300-fast-import.sh
lisa 312.7 NA NA 72.6 8.2 9.1 5,160 test-cmd-util.sh
lisa 480.6 2,611.1 798.4 114.9 13.3 14.4 9,661 ltmain.sh
lisa 583.7 2,660.9 742.4 107.1 11.7 12.8 20,489 configure
lisa 751.9 3,855.2 1,151.5 110.4 14.4 15.9 69,779 configure-coreutils