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 478 248.7
flanders dash 111,674 94 1,190.6
flanders mksh 111,674 259 431.7
flanders osh-cpython 118,863 19,718 6.0
flanders osh-ovm 118,863 23,844 5.0
flanders zsh 118,863 3,167 37.5
lisa bash 118,863 183 650.2
lisa dash 111,674 44 2,526.6
lisa mksh 111,674 109 1,028.3
lisa osh-cpython 118,863 7,548 15.7
lisa osh-ovm 118,863 8,386 14.2
lisa zsh 118,863 1,172 101.4

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.7 23.8 1,679 t4014-format-patch.sh
flanders 14.0 26.7 1,733 functions
flanders 14.3 27.3 2,029 configure-helper.sh
flanders 16.4 29.4 2,512 abuild
flanders 15.2 28.0 2,698 Build.sh
flanders 11.3 23.9 3,123 t9300-fast-import.sh
flanders 27.4 40.0 5,160 test-cmd-util.sh
flanders 27.9 40.7 9,661 ltmain.sh
flanders 50.9 64.0 20,489 configure
flanders 123.4 136.4 69,779 configure-coreutils
lisa 10.8 23.7 1,679 t4014-format-patch.sh
lisa 13.9 26.7 1,733 functions
lisa 14.6 27.4 2,029 configure-helper.sh
lisa 16.5 29.4 2,512 abuild
lisa 15.2 28.0 2,698 Build.sh
lisa 11.3 24.1 3,123 t9300-fast-import.sh
lisa 27.2 40.0 5,160 test-cmd-util.sh
lisa 28.0 40.7 9,661 ltmain.sh
lisa 51.1 64.0 20,489 configure
lisa 123.6 136.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-86207021
osh-ovm osh-174ac4da
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2019-09-02__12-45-53.times.csv
lisa.2019-09-02__12-49-28.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 12 4 6 137 187 148 16.1 1,679 t4014-format-patch.sh
flanders 18 5 12 41 568 385 32.1 1,733 functions
flanders 20 NA NA 68 540 410 27.4 2,029 configure-helper.sh
flanders 19 5 12 50 748 567 39.0 2,512 abuild
flanders 18 4 10 138 553 422 31.6 2,698 Build.sh
flanders 15 4 7 174 198 169 12.9 3,123 t9300-fast-import.sh
flanders 39 NA NA 172 1,704 1,239 43.3 5,160 test-cmd-util.sh
flanders 47 11 31 198 1,731 1,421 37.1 9,661 ltmain.sh
flanders 83 22 53 488 3,988 3,355 48.2 20,489 configure
flanders 208 38 128 1,703 13,627 11,601 65.5 69,779 configure-coreutils
lisa 3 1 2 50 60 64 17.7 1,679 t4014-format-patch.sh
lisa 4 2 3 17 173 161 44.4 1,733 functions
lisa 5 NA NA 26 187 177 36.0 2,029 configure-helper.sh
lisa 6 2 5 23 253 235 40.8 2,512 abuild
lisa 4 2 3 46 214 183 47.6 2,698 Build.sh
lisa 5 1 2 54 72 74 14.1 3,123 t9300-fast-import.sh
lisa 17 NA NA 67 590 536 35.3 5,160 test-cmd-util.sh
lisa 20 4 11 80 685 610 34.8 9,661 ltmain.sh
lisa 35 10 25 190 1,525 1,369 43.3 20,489 configure
lisa 83 22 57 621 4,627 4,138 55.8 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 144.7 399.8 294.6 12.3 9.0 11.4 1,679 t4014-format-patch.sh
flanders 97.9 346.6 140.9 42.7 3.1 4.5 1,733 functions
flanders 103.0 NA NA 29.9 3.8 4.9 2,029 configure-helper.sh
flanders 130.8 534.5 204.2 50.1 3.4 4.4 2,512 abuild
flanders 154.2 613.2 264.5 19.6 4.9 6.4 2,698 Build.sh
flanders 204.1 743.6 439.9 17.9 15.8 18.5 3,123 t9300-fast-import.sh
flanders 131.0 NA NA 30.1 3.0 4.2 5,160 test-cmd-util.sh
flanders 207.3 870.4 315.7 48.8 5.6 6.8 9,661 ltmain.sh
flanders 247.5 935.6 388.8 42.0 5.1 6.1 20,489 configure
flanders 335.3 1,821.9 546.0 41.0 5.1 6.0 69,779 configure-coreutils
lisa 493.8 1,526.4 839.5 33.9 27.9 26.2 1,679 t4014-format-patch.sh
lisa 444.4 866.5 559.0 101.3 10.0 10.8 1,733 functions
lisa 390.2 NA NA 78.6 10.8 11.5 2,029 configure-helper.sh
lisa 405.2 1,092.2 483.1 109.2 9.9 10.7 2,512 abuild
lisa 599.6 1,498.9 817.6 58.4 12.6 14.7 2,698 Build.sh
lisa 612.4 2,602.5 1,561.5 58.4 43.4 42.5 3,123 t9300-fast-import.sh
lisa 309.0 NA NA 77.2 8.7 9.6 5,160 test-cmd-util.sh
lisa 490.4 2,246.7 902.9 120.9 14.1 15.8 9,661 ltmain.sh
lisa 582.1 2,156.7 816.3 108.1 13.4 15.0 20,489 configure
lisa 841.7 3,171.8 1,219.9 112.4 15.1 16.9 69,779 configure-coreutils