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 479 248.1
flanders dash 111,674 89 1,260.4
flanders mksh 111,674 258 433.2
flanders osh-cpython 118,863 16,406 7.2
flanders osh-ovm 118,863 18,757 6.3
flanders zsh 118,863 3,199 37.2
lisa bash 118,863 186 640.4
lisa dash 111,674 36 3,110.7
lisa mksh 111,674 108 1,036.9
lisa osh-cpython 118,863 7,728 15.4
lisa osh-ovm 118,863 8,699 13.7
lisa zsh 118,863 1,153 103.1

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.5 20.4 1,679 t4014-format-patch.sh
flanders 7.5 20.4 1,733 functions
flanders 7.4 20.4 2,029 configure-helper.sh
flanders 7.5 20.4 2,512 abuild
flanders 7.4 20.4 2,698 Build.sh
flanders 7.7 20.4 3,123 t9300-fast-import.sh
flanders 7.5 20.4 5,160 test-cmd-util.sh
flanders 7.4 20.4 9,661 ltmain.sh
flanders 7.4 20.4 20,489 configure
flanders 7.5 20.4 69,779 configure-coreutils
lisa 7.4 20.5 1,679 t4014-format-patch.sh
lisa 7.5 20.5 1,733 functions
lisa 7.4 20.5 2,029 configure-helper.sh
lisa 7.8 20.5 2,512 abuild
lisa 7.6 20.5 2,698 Build.sh
lisa 7.4 20.5 3,123 t9300-fast-import.sh
lisa 7.4 20.5 5,160 test-cmd-util.sh
lisa 7.4 20.5 9,661 ltmain.sh
lisa 7.4 20.5 20,489 configure
lisa 7.5 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-23ecd86e
osh-ovm osh-ab6862cc
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2018-11-21__12-09-17.times.csv
lisa.2018-11-21__12-12-17.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 3 7 138 135 133 11.4 1,679 t4014-format-patch.sh
flanders 13 5 13 40 400 358 30.3 1,733 functions
flanders 18 NA NA 64 434 386 24.7 2,029 configure-helper.sh
flanders 20 5 17 54 615 545 30.2 2,512 abuild
flanders 19 4 13 128 442 404 23.4 2,698 Build.sh
flanders 18 4 6 176 163 158 9.0 3,123 t9300-fast-import.sh
flanders 41 NA NA 170 1,394 1,217 34.0 5,160 test-cmd-util.sh
flanders 47 14 26 196 1,548 1,350 32.9 9,661 ltmain.sh
flanders 85 18 48 492 3,536 3,112 41.6 20,489 configure
flanders 206 35 127 1,739 10,089 8,743 49.0 69,779 configure-coreutils
lisa 4 1 2 50 59 60 16.3 1,679 t4014-format-patch.sh
lisa 4 2 3 15 183 156 43.6 1,733 functions
lisa 7 NA NA 25 183 169 27.7 2,029 configure-helper.sh
lisa 6 2 5 20 271 237 47.6 2,512 abuild
lisa 5 2 3 44 188 166 40.0 2,698 Build.sh
lisa 5 2 2 54 79 69 17.2 3,123 t9300-fast-import.sh
lisa 16 NA NA 69 603 566 37.0 5,160 test-cmd-util.sh
lisa 22 4 11 81 691 612 32.2 9,661 ltmain.sh
lisa 36 8 23 188 1,698 1,502 46.6 20,489 configure
lisa 82 17 58 608 4,744 4,192 57.9 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 142.3 508.8 233.2 12.1 12.4 12.6 1,679 t4014-format-patch.sh
flanders 131.3 333.3 130.3 42.8 4.3 4.8 1,733 functions
flanders 115.3 NA NA 31.7 4.7 5.3 2,029 configure-helper.sh
flanders 123.1 523.3 147.8 46.4 4.1 4.6 2,512 abuild
flanders 142.8 658.0 207.5 21.0 6.1 6.7 2,698 Build.sh
flanders 171.6 800.8 538.4 17.7 19.2 19.7 3,123 t9300-fast-import.sh
flanders 125.9 NA NA 30.3 3.7 4.2 5,160 test-cmd-util.sh
flanders 205.1 666.3 365.9 49.2 6.2 7.2 9,661 ltmain.sh
flanders 241.0 1,170.8 423.3 41.7 5.8 6.6 20,489 configure
flanders 338.9 1,976.7 550.7 40.1 6.9 8.0 69,779 configure-coreutils
lisa 466.4 1,399.2 763.2 33.6 28.6 28.1 1,679 t4014-format-patch.sh
lisa 412.6 1,155.3 559.0 118.7 9.5 11.1 1,733 functions
lisa 307.4 NA NA 79.9 11.1 12.0 2,029 configure-helper.sh
lisa 440.7 1,477.6 483.1 128.8 9.3 10.6 2,512 abuild
lisa 574.0 1,798.7 843.1 61.5 14.3 16.2 2,698 Build.sh
lisa 678.9 2,082.0 1,419.5 58.0 39.6 45.3 3,123 t9300-fast-import.sh
lisa 316.6 NA NA 74.9 8.6 9.1 5,160 test-cmd-util.sh
lisa 449.3 2,760.3 894.5 118.8 14.0 15.8 9,661 ltmain.sh
lisa 562.9 2,529.5 879.4 109.2 12.1 13.6 20,489 configure
lisa 851.0 4,128.9 1,209.3 114.7 14.7 16.6 69,779 configure-coreutils