oils.pub
OSH Runtime Performance
Source code: benchmarks/osh-runtime.sh
Raw files
Elapsed Time by Shell (milliseconds)
Some benchmarks call many external tools, while some exercise the shell
interpreter itself.
workload |
host name |
bash |
dash |
osh-cpython |
osh-native |
osh-native-souffle |
py bash ratio |
native bash ratio |
abuild-print-help |
no-host |
19 |
9 |
471 |
22 |
20 |
25.19 |
1.16 |
bin-true |
no-host |
653 |
529 |
2,379 |
793 |
789 |
3.64 |
1.21 |
configure.cpython |
no-host |
14,511 |
14,537 |
28,511 |
14,808 |
14,809 |
1.96 |
1.02 |
configure.ocaml |
no-host |
3,742 |
3,668 |
4,590 |
3,748 |
3,734 |
1.23 |
1.00 |
configure.tcc |
no-host |
51 |
40 |
204 |
47 |
47 |
3.97 |
0.92 |
configure.util-linux |
no-host |
13,504 |
14,368 |
31,329 |
13,968 |
13,859 |
2.32 |
1.03 |
configure.yash |
no-host |
1,779 |
1,725 |
2,443 |
1,777 |
1,776 |
1.37 |
1.00 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
43.62 |
2.11 |
Minor Page Faults
workload |
host name |
bash |
dash |
osh-cpython |
osh-native |
osh-native-souffle |
py bash ratio |
native bash ratio |
abuild-print-help |
no-host |
2,524 |
1,094 |
24,203 |
3,194 |
3,068 |
9.59 |
1.27 |
bin-true |
no-host |
104,344 |
65,471 |
802,721 |
127,199 |
126,188 |
7.69 |
1.22 |
configure.cpython |
no-host |
1,994,232 |
2,019,909 |
6,103,589 |
2,012,642 |
2,000,576 |
3.06 |
1.01 |
configure.ocaml |
no-host |
373,661 |
353,658 |
615,765 |
376,619 |
376,187 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,085 |
4,999 |
24,021 |
6,510 |
6,479 |
3.95 |
1.07 |
configure.util-linux |
no-host |
1,910,836 |
2,082,416 |
5,310,404 |
1,825,768 |
1,819,987 |
2.78 |
0.96 |
configure.yash |
no-host |
233,741 |
221,742 |
369,722 |
235,597 |
234,691 |
1.58 |
1.01 |
hello-world |
no-host |
146 |
77 |
3,985 |
345 |
338 |
27.29 |
2.36 |
Memory Usage (Max Resident Set Size in MB)
Memory usage is measured in MB (powers of 10), not MiB (powers of 2).
GC Stats
workload |
host name |
elapsed ms |
max gc millis |
total gc millis |
allocated MB |
max rss MB |
num allocated |
num live |
max survived |
num in heap |
num in pool 1 |
num in pool 2 |
num gc points |
num gc done |
gc threshold |
num growths |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.3 |
3,806 |
3,806 |
0 |
701 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
793 |
1 |
2 |
2.6 |
7.9 |
156,773 |
15,415 |
2,902 |
8,753 |
77,337 |
70,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,808 |
1 |
67 |
15.5 |
29.3 |
1,785,014 |
30,560 |
28,527 |
91,506 |
886,575 |
806,933 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
13,968 |
3 |
65 |
21.6 |
30.3 |
2,709,215 |
53,762 |
65,726 |
114,373 |
1,295,038 |
1,299,804 |
32,241 |
41 |
131,452 |
1 |
configure.ocaml |
no-host |
3,748 |
1 |
2 |
2.6 |
22.6 |
149,860 |
11,179 |
5,222 |
7,734 |
70,874 |
71,252 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.8 |
30,576 |
30,576 |
0 |
1,543 |
14,636 |
14,397 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,777 |
1 |
2 |
2.6 |
26.4 |
139,882 |
8,046 |
6,701 |
6,398 |
68,339 |
65,145 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,338 |
64,420 |
42,628 |
4,545 |
54,462 |
57,331 |
277 |
3 |
85,256 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,805 |
3,805 |
0 |
702 |
1,870 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
789 |
1 |
2 |
2.6 |
7.6 |
156,772 |
15,410 |
2,897 |
8,754 |
77,337 |
70,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,809 |
1 |
66 |
15.4 |
29.1 |
1,785,013 |
30,547 |
28,522 |
91,507 |
886,575 |
806,931 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
13,859 |
3 |
63 |
21.6 |
30.3 |
2,709,215 |
53,739 |
65,721 |
114,375 |
1,295,038 |
1,299,802 |
32,241 |
41 |
131,442 |
1 |
configure.ocaml |
no-host |
3,734 |
1 |
2 |
2.6 |
22.6 |
149,860 |
11,174 |
5,217 |
7,736 |
70,874 |
71,250 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.7 |
30,576 |
30,576 |
0 |
1,545 |
14,636 |
14,395 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,776 |
1 |
2 |
2.6 |
26.4 |
139,882 |
8,035 |
6,690 |
6,400 |
68,339 |
65,143 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
1 |
2 |
2.8 |
8.7 |
116,337 |
64,415 |
42,623 |
4,546 |
54,462 |
57,329 |
277 |
3 |
85,246 |
1 |
rusage Details
task id |
host name |
workload |
elapsed ms |
user ms |
sys ms |
max rss MB |
shell label |
7 |
no-host |
abuild-print-help |
19 |
10 |
9 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
471 |
419 |
56 |
22.9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
10 |
13 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
10 |
11 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
653 |
303 |
383 |
3.0 |
bash |
9 |
no-host |
bin-true |
529 |
281 |
260 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,379 |
784 |
1,849 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
793 |
285 |
525 |
7.9 |
osh-native |
33 |
no-host |
bin-true |
789 |
299 |
508 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,511 |
6,555 |
8,360 |
29.1 |
bash |
10 |
no-host |
configure.cpython |
14,537 |
6,548 |
8,422 |
29.3 |
dash |
18 |
no-host |
configure.cpython |
28,511 |
14,264 |
16,145 |
29.1 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,808 |
6,499 |
8,601 |
29.3 |
osh-native |
34 |
no-host |
configure.cpython |
14,809 |
6,449 |
8,551 |
29.1 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,742 |
1,277 |
1,508 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,668 |
1,283 |
1,406 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,590 |
1,836 |
1,969 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,748 |
1,278 |
1,512 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,734 |
1,267 |
1,507 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
51 |
21 |
30 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
40 |
18 |
22 |
19.5 |
dash |
21 |
no-host |
configure.tcc |
204 |
138 |
70 |
19.8 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
28 |
20 |
19.8 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
18 |
30 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,504 |
5,764 |
8,241 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,368 |
5,793 |
9,104 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,329 |
17,865 |
14,554 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,968 |
5,616 |
8,569 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
13,859 |
5,494 |
8,591 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,779 |
897 |
892 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,725 |
889 |
840 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,443 |
1,332 |
1,155 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,777 |
877 |
906 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,776 |
889 |
892 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
57 |
39 |
19 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
2 |
1 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
2 |
5.9 |
osh-native-souffle |
More Details
task id |
host name |
workload |
minor faults |
major faults |
swaps |
in block |
out block |
signals |
voluntary ctx |
involuntary ctx |
shell label |
7 |
no-host |
abuild-print-help |
2,524 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,094 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,203 |
0 |
0 |
0 |
8 |
0 |
45 |
5 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,194 |
0 |
0 |
0 |
16 |
0 |
39 |
5 |
osh-native |
39 |
no-host |
abuild-print-help |
3,068 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,344 |
0 |
0 |
0 |
8 |
0 |
1,988 |
82 |
bash |
9 |
no-host |
bin-true |
65,471 |
0 |
0 |
0 |
8 |
0 |
1,990 |
71 |
dash |
17 |
no-host |
bin-true |
802,721 |
0 |
0 |
0 |
8 |
0 |
1,990 |
514 |
osh-cpython |
25 |
no-host |
bin-true |
127,199 |
0 |
0 |
0 |
16 |
0 |
1,983 |
183 |
osh-native |
33 |
no-host |
bin-true |
126,188 |
0 |
0 |
0 |
16 |
0 |
1,987 |
70 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,994,232 |
0 |
0 |
0 |
32,928 |
0 |
14,243 |
1,259 |
bash |
10 |
no-host |
configure.cpython |
2,019,909 |
0 |
0 |
0 |
32,992 |
0 |
14,332 |
1,220 |
dash |
18 |
no-host |
configure.cpython |
6,103,589 |
0 |
0 |
0 |
27,512 |
0 |
13,147 |
1,216 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,012,642 |
0 |
0 |
0 |
27,520 |
0 |
13,067 |
1,055 |
osh-native |
34 |
no-host |
configure.cpython |
2,000,576 |
0 |
0 |
0 |
27,520 |
0 |
13,080 |
1,089 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,661 |
0 |
0 |
0 |
5,120 |
0 |
1,945 |
200 |
bash |
12 |
no-host |
configure.ocaml |
353,658 |
0 |
0 |
0 |
5,112 |
0 |
1,938 |
204 |
dash |
20 |
no-host |
configure.ocaml |
615,765 |
0 |
0 |
0 |
5,112 |
0 |
1,859 |
200 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,619 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
192 |
osh-native |
36 |
no-host |
configure.ocaml |
376,187 |
0 |
0 |
0 |
5,120 |
0 |
1,921 |
178 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,085 |
0 |
0 |
0 |
104 |
0 |
54 |
0 |
bash |
13 |
no-host |
configure.tcc |
4,999 |
0 |
0 |
0 |
96 |
0 |
46 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,021 |
0 |
0 |
0 |
96 |
0 |
53 |
14 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,510 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,479 |
0 |
0 |
0 |
104 |
0 |
47 |
10 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,910,836 |
0 |
0 |
0 |
42,400 |
0 |
18,461 |
1,229 |
bash |
11 |
no-host |
configure.util-linux |
2,082,416 |
2 |
0 |
0 |
42,584 |
0 |
17,249 |
1,446 |
dash |
19 |
no-host |
configure.util-linux |
5,310,404 |
8 |
0 |
0 |
39,136 |
0 |
17,055 |
1,286 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,825,768 |
0 |
0 |
0 |
39,120 |
0 |
17,013 |
1,153 |
osh-native |
35 |
no-host |
configure.util-linux |
1,819,987 |
0 |
0 |
0 |
39,128 |
0 |
16,982 |
1,094 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,741 |
0 |
0 |
0 |
4,120 |
0 |
868 |
88 |
bash |
14 |
no-host |
configure.yash |
221,742 |
0 |
0 |
0 |
3,720 |
0 |
868 |
79 |
dash |
22 |
no-host |
configure.yash |
369,722 |
0 |
0 |
0 |
3,728 |
0 |
853 |
77 |
osh-cpython |
30 |
no-host |
configure.yash |
235,597 |
0 |
0 |
0 |
3,736 |
0 |
848 |
88 |
osh-native |
38 |
no-host |
configure.yash |
234,691 |
0 |
0 |
0 |
3,736 |
0 |
848 |
90 |
osh-native-souffle |
0 |
no-host |
hello-world |
146 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
77 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,985 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host