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 982 121.0
flanders dash 111,674 147 758.7
flanders mksh 111,674 776 143.8
flanders osh-cpython 118,863 51,036 2.3
flanders osh-ovm 118,863 65,766 1.8
flanders zsh 118,863 8,518 14.0
lisa bash 118,863 180 659.6
lisa dash 111,674 38 2,915.8
lisa mksh 111,674 114 977.9
lisa osh-cpython 118,863 7,914 15.0
lisa osh-ovm 118,863 8,958 13.3
lisa zsh 118,863 1,178 100.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 7.3 20.4 1,679 t4014-format-patch.sh
flanders 7.3 20.4 1,733 functions
flanders 7.3 20.4 2,029 configure-helper.sh
flanders 7.2 20.4 2,512 abuild
flanders 7.3 20.4 2,698 Build.sh
flanders 7.3 20.4 3,123 t9300-fast-import.sh
flanders 7.2 20.4 5,160 test-cmd-util.sh
flanders 7.3 20.4 9,661 ltmain.sh
flanders 7.3 20.4 20,489 configure
flanders 7.2 20.4 69,779 configure-coreutils
lisa 7.2 20.4 1,679 t4014-format-patch.sh
lisa 7.2 20.4 1,733 functions
lisa 7.2 20.4 2,029 configure-helper.sh
lisa 7.2 20.4 2,512 abuild
lisa 7.3 20.4 2,698 Build.sh
lisa 7.3 20.4 3,123 t9300-fast-import.sh
lisa 7.2 20.4 5,160 test-cmd-util.sh
lisa 7.2 20.4 9,661 ltmain.sh
lisa 7.5 20.4 20,489 configure
lisa 7.3 20.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-ef2d5221
osh-ovm osh-bd63fc2b
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2018-12-15__00-34-22.times.csv
lisa.2018-12-15__00-18-53.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 17 5 8 332 376 465 22.5 1,679 t4014-format-patch.sh
flanders 19 6 15 106 1,555 1,238 83.6 1,733 functions
flanders 26 NA NA 196 1,716 1,256 65.3 2,029 configure-helper.sh
flanders 30 8 33 168 2,214 1,935 73.3 2,512 abuild
flanders 30 6 23 312 1,416 1,510 47.2 2,698 Build.sh
flanders 26 6 13 379 551 599 21.6 3,123 t9300-fast-import.sh
flanders 79 NA NA 459 5,194 4,659 66.1 5,160 test-cmd-util.sh
flanders 102 15 92 562 5,600 5,146 55.1 9,661 ltmain.sh
flanders 182 35 190 1,288 12,984 11,398 71.4 20,489 configure
flanders 473 66 402 4,715 34,162 22,830 72.2 69,779 configure-coreutils
lisa 3 1 2 47 64 62 18.8 1,679 t4014-format-patch.sh
lisa 5 2 3 15 171 162 35.6 1,733 functions
lisa 5 NA NA 28 221 168 40.9 2,029 configure-helper.sh
lisa 6 2 6 22 290 242 51.7 2,512 abuild
lisa 6 2 4 47 217 171 35.6 2,698 Build.sh
lisa 5 1 2 54 69 75 15.1 3,123 t9300-fast-import.sh
lisa 17 NA NA 67 623 565 36.6 5,160 test-cmd-util.sh
lisa 17 4 13 80 702 618 40.6 9,661 ltmain.sh
lisa 36 7 25 196 1,813 1,540 50.6 20,489 configure
lisa 80 20 58 624 4,789 4,310 59.7 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 100.5 335.8 215.3 5.0 4.5 3.6 1,679 t4014-format-patch.sh
flanders 93.2 304.0 118.7 16.3 1.1 1.4 1,733 functions
flanders 77.1 NA NA 10.4 1.2 1.6 2,029 configure-helper.sh
flanders 83.2 302.7 75.7 14.9 1.1 1.3 2,512 abuild
flanders 89.9 465.2 117.3 8.6 1.9 1.8 2,698 Build.sh
flanders 122.5 557.7 236.6 8.2 5.7 5.2 3,123 t9300-fast-import.sh
flanders 65.6 NA NA 11.2 1.0 1.1 5,160 test-cmd-util.sh
flanders 95.1 648.4 104.7 17.2 1.7 1.9 9,661 ltmain.sh
flanders 112.6 578.8 107.6 15.9 1.6 1.8 20,489 configure
flanders 147.5 1,049.3 173.6 14.8 2.0 3.1 69,779 configure-coreutils
lisa 493.8 1,291.5 730.0 36.0 26.3 27.0 1,679 t4014-format-patch.sh
lisa 361.0 1,083.1 559.0 115.5 10.1 10.7 1,733 functions
lisa 375.7 NA NA 73.5 9.2 12.1 2,029 configure-helper.sh
lisa 448.6 1,196.2 411.8 112.1 8.7 10.4 2,512 abuild
lisa 442.3 1,587.1 710.0 57.3 12.4 15.7 2,698 Build.sh
lisa 678.9 2,230.7 1,301.2 58.3 45.1 41.4 3,123 t9300-fast-import.sh
lisa 303.5 NA NA 77.1 8.3 9.1 5,160 test-cmd-util.sh
lisa 558.4 2,760.3 743.2 121.5 13.8 15.6 9,661 ltmain.sh
lisa 572.3 2,845.7 816.3 104.7 11.3 13.3 20,489 configure
lisa 870.1 3,578.4 1,194.8 111.8 14.6 16.2 69,779 configure-coreutils