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 486 244.4
flanders dash 111,674 89 1,260.4
flanders mksh 111,674 255 437.9
flanders osh-cpython 118,863 18,109 6.6
flanders osh-ovm 118,863 17,858 6.7
flanders zsh 118,863 3,194 37.2
lisa bash 118,863 190 624.3
lisa dash 111,674 36 3,102.1
lisa mksh 111,674 111 1,007.9
lisa osh-cpython 118,863 8,691 13.7
lisa osh-ovm 118,863 8,801 13.5
lisa zsh 118,863 1,116 106.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 11.9 24.7 1,679 t4014-format-patch.sh
flanders 16.3 29.0 1,733 functions
flanders 17.2 29.8 2,029 configure-helper.sh
flanders 19.3 32.2 2,512 abuild
flanders 17.7 30.3 2,698 Build.sh
flanders 12.6 25.4 3,123 t9300-fast-import.sh
flanders 35.7 48.5 5,160 test-cmd-util.sh
flanders 36.0 48.7 9,661 ltmain.sh
flanders 68.0 80.8 20,489 configure
flanders 171.5 184.3 69,779 configure-coreutils
lisa 11.9 24.7 1,679 t4014-format-patch.sh
lisa 16.0 29.0 1,733 functions
lisa 17.0 29.8 2,029 configure-helper.sh
lisa 19.5 32.2 2,512 abuild
lisa 17.6 30.3 2,698 Build.sh
lisa 12.7 25.4 3,123 t9300-fast-import.sh
lisa 35.4 48.5 5,160 test-cmd-util.sh
lisa 36.0 49.0 9,661 ltmain.sh
lisa 67.9 80.8 20,489 configure
lisa 171.5 184.3 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-8d7380ab
osh-ovm osh-15c2bb1c
host label host id
flanders flanders-6afc5af0
lisa lisa-02485150

Raw Data

filename
flanders.2018-02-26__09-32-20.times.csv
lisa.2018-02-26__09-40-44.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 135 155 172 9.9 1,679 t4014-format-patch.sh
flanders 17 5 10 38 398 412 23.3 1,733 functions
flanders 21 NA NA 67 418 440 20.2 2,029 configure-helper.sh
flanders 20 7 15 56 592 615 30.2 2,512 abuild
flanders 17 4 10 130 426 467 24.9 2,698 Build.sh
flanders 18 4 7 181 164 191 8.9 3,123 t9300-fast-import.sh
flanders 42 NA NA 171 1,298 1,360 30.9 5,160 test-cmd-util.sh
flanders 49 10 31 198 1,559 1,517 32.1 9,661 ltmain.sh
flanders 86 20 50 490 3,587 3,359 41.9 20,489 configure
flanders 202 34 128 1,728 9,261 9,576 46.0 69,779 configure-coreutils
lisa 4 1 2 42 63 79 17.9 1,679 t4014-format-patch.sh
lisa 4 2 3 14 191 196 45.4 1,733 functions
lisa 6 NA NA 24 178 197 28.6 2,029 configure-helper.sh
lisa 6 2 5 22 296 274 49.3 2,512 abuild
lisa 5 2 4 46 211 248 42.1 2,698 Build.sh
lisa 5 1 2 54 78 99 15.6 3,123 t9300-fast-import.sh
lisa 16 NA NA 69 606 658 37.8 5,160 test-cmd-util.sh
lisa 24 4 11 72 698 708 28.9 9,661 ltmain.sh
lisa 34 7 25 182 1,726 1,636 50.9 20,489 configure
lisa 86 17 59 592 4,756 4,596 55.0 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 107.6 466.4 316.8 12.4 10.8 9.7 1,679 t4014-format-patch.sh
flanders 101.3 339.8 178.7 45.4 4.4 4.2 1,733 functions
flanders 98.0 NA NA 30.4 4.9 4.6 2,029 configure-helper.sh
flanders 128.2 374.9 170.9 45.2 4.2 4.1 2,512 abuild
flanders 157.8 658.0 269.8 20.7 6.3 5.8 2,698 Build.sh
flanders 168.8 726.3 466.1 17.3 19.0 16.4 3,123 t9300-fast-import.sh
flanders 122.9 NA NA 30.2 4.0 3.8 5,160 test-cmd-util.sh
flanders 198.8 928.9 314.7 48.7 6.2 6.4 9,661 ltmain.sh
flanders 239.4 1,004.4 409.0 41.8 5.7 6.1 20,489 configure
flanders 346.3 2,052.3 546.0 40.4 7.5 7.3 69,779 configure-coreutils
lisa 479.7 1,199.3 883.7 40.1 26.8 21.3 1,679 t4014-format-patch.sh
lisa 412.6 962.8 525.2 119.5 9.1 8.8 1,733 functions
lisa 327.3 NA NA 86.3 11.4 10.3 2,029 configure-helper.sh
lisa 418.7 1,256.0 502.4 112.6 8.5 9.2 2,512 abuild
lisa 539.6 1,587.1 770.9 59.0 12.8 10.9 2,698 Build.sh
lisa 624.6 2,230.7 1,643.7 58.0 40.1 31.6 3,123 t9300-fast-import.sh
lisa 322.5 NA NA 75.2 8.5 7.8 5,160 test-cmd-util.sh
lisa 399.2 2,683.6 870.4 134.9 13.8 13.6 9,661 ltmain.sh
lisa 604.4 2,885.8 829.5 112.5 11.9 12.5 20,489 configure
lisa 807.6 4,104.6 1,174.7 117.8 14.7 15.2 69,779 configure-coreutils