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 |
18 |
9 |
471 |
22 |
20 |
25.55 |
1.17 |
bin-true |
no-host |
641 |
522 |
2,377 |
784 |
778 |
3.71 |
1.22 |
configure.cpython |
no-host |
14,547 |
14,545 |
28,921 |
14,802 |
14,859 |
1.99 |
1.02 |
configure.ocaml |
no-host |
3,741 |
3,648 |
4,594 |
3,748 |
3,773 |
1.23 |
1.00 |
configure.tcc |
no-host |
46 |
40 |
204 |
47 |
47 |
4.40 |
1.02 |
configure.util-linux |
no-host |
13,640 |
14,409 |
31,494 |
13,867 |
13,849 |
2.31 |
1.02 |
configure.yash |
no-host |
1,776 |
1,764 |
2,450 |
1,788 |
1,776 |
1.38 |
1.01 |
hello-world |
no-host |
1 |
1 |
55 |
3 |
3 |
43.72 |
2.23 |
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,538 |
1,110 |
24,022 |
3,203 |
3,104 |
9.46 |
1.26 |
bin-true |
no-host |
103,391 |
66,437 |
806,750 |
127,161 |
126,105 |
7.80 |
1.23 |
configure.cpython |
no-host |
1,998,373 |
2,022,692 |
6,122,350 |
2,011,648 |
2,007,113 |
3.06 |
1.01 |
configure.ocaml |
no-host |
372,967 |
353,778 |
616,166 |
376,900 |
376,600 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,115 |
5,012 |
23,978 |
6,527 |
6,494 |
3.92 |
1.07 |
configure.util-linux |
no-host |
1,913,846 |
2,076,146 |
5,291,072 |
1,815,589 |
1,814,840 |
2.76 |
0.95 |
configure.yash |
no-host |
234,008 |
222,270 |
368,988 |
235,723 |
235,814 |
1.58 |
1.01 |
hello-world |
no-host |
147 |
78 |
3,967 |
346 |
341 |
26.99 |
2.35 |
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,801 |
3,801 |
0 |
699 |
1,869 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
784 |
1 |
2 |
2.6 |
8.0 |
153,768 |
12,333 |
2,897 |
8,751 |
76,336 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,802 |
1 |
64 |
15.3 |
29.2 |
1,773,759 |
49,824 |
28,522 |
91,504 |
881,464 |
800,791 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,867 |
3 |
63 |
21.6 |
30.3 |
2,704,670 |
53,753 |
65,721 |
114,371 |
1,293,956 |
1,296,343 |
32,241 |
41 |
131,442 |
1 |
configure.ocaml |
no-host |
3,748 |
1 |
2 |
2.6 |
22.6 |
149,784 |
11,150 |
5,217 |
7,732 |
70,843 |
71,209 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.8 |
30,569 |
30,569 |
0 |
1,541 |
14,634 |
14,394 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,788 |
1 |
2 |
2.6 |
26.2 |
139,680 |
8,037 |
6,696 |
6,393 |
68,252 |
65,035 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,317 |
64,415 |
42,623 |
4,543 |
54,453 |
57,321 |
277 |
3 |
85,246 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,800 |
3,800 |
0 |
700 |
1,869 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
778 |
1 |
2 |
2.6 |
7.6 |
153,767 |
12,328 |
2,892 |
8,752 |
76,336 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,859 |
2 |
63 |
15.3 |
29.3 |
1,773,758 |
49,819 |
28,517 |
91,505 |
881,464 |
800,789 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,849 |
3 |
63 |
21.6 |
30.3 |
2,704,670 |
53,736 |
65,716 |
114,373 |
1,293,956 |
1,296,341 |
32,241 |
41 |
131,432 |
1 |
configure.ocaml |
no-host |
3,773 |
1 |
2 |
2.6 |
22.6 |
149,784 |
11,145 |
5,212 |
7,734 |
70,843 |
71,207 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.5 |
30,569 |
30,569 |
0 |
1,543 |
14,634 |
14,392 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,776 |
1 |
2 |
2.6 |
26.3 |
139,680 |
8,032 |
6,691 |
6,395 |
68,252 |
65,033 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
1 |
2 |
2.8 |
8.7 |
116,316 |
64,410 |
42,618 |
4,544 |
54,453 |
57,319 |
277 |
3 |
85,236 |
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 |
18 |
11 |
8 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
471 |
416 |
58 |
22.9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
11 |
11 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
12 |
9 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
641 |
304 |
372 |
3.0 |
bash |
9 |
no-host |
bin-true |
522 |
273 |
260 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,377 |
796 |
1,843 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
784 |
310 |
490 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
778 |
300 |
495 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,547 |
6,495 |
8,458 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,545 |
6,607 |
8,364 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
28,921 |
14,427 |
16,406 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,802 |
6,562 |
8,521 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
14,859 |
6,524 |
8,448 |
29.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,741 |
1,318 |
1,463 |
22.5 |
bash |
12 |
no-host |
configure.ocaml |
3,648 |
1,264 |
1,405 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,594 |
1,858 |
1,952 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,748 |
1,308 |
1,481 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,773 |
1,323 |
1,489 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
25 |
22 |
19.6 |
bash |
13 |
no-host |
configure.tcc |
40 |
22 |
19 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
204 |
136 |
72 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
26 |
22 |
19.8 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
19 |
29 |
19.5 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,640 |
5,795 |
8,326 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,409 |
5,822 |
9,086 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
31,494 |
17,809 |
14,781 |
30.4 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,867 |
5,492 |
8,597 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
13,849 |
5,585 |
8,481 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,776 |
897 |
886 |
26.5 |
bash |
14 |
no-host |
configure.yash |
1,764 |
892 |
856 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,450 |
1,327 |
1,165 |
26.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,788 |
894 |
899 |
26.2 |
osh-native |
38 |
no-host |
configure.yash |
1,776 |
905 |
875 |
26.3 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
55 |
33 |
22 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,538 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,110 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,022 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,203 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,104 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
103,391 |
0 |
0 |
0 |
8 |
0 |
1,979 |
81 |
bash |
9 |
no-host |
bin-true |
66,437 |
0 |
0 |
0 |
8 |
0 |
1,973 |
67 |
dash |
17 |
no-host |
bin-true |
806,750 |
0 |
0 |
0 |
8 |
0 |
1,981 |
335 |
osh-cpython |
25 |
no-host |
bin-true |
127,161 |
0 |
0 |
0 |
16 |
0 |
1,974 |
236 |
osh-native |
33 |
no-host |
bin-true |
126,105 |
0 |
0 |
0 |
16 |
0 |
1,978 |
76 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,998,373 |
0 |
0 |
0 |
32,928 |
0 |
14,290 |
1,201 |
bash |
10 |
no-host |
configure.cpython |
2,022,692 |
0 |
0 |
0 |
32,992 |
0 |
14,308 |
1,120 |
dash |
18 |
no-host |
configure.cpython |
6,122,350 |
2 |
0 |
0 |
27,512 |
0 |
13,044 |
1,133 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,011,648 |
1 |
0 |
0 |
27,520 |
0 |
13,119 |
1,063 |
osh-native |
34 |
no-host |
configure.cpython |
2,007,113 |
0 |
0 |
0 |
27,520 |
0 |
13,140 |
1,158 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
372,967 |
0 |
0 |
0 |
5,120 |
0 |
1,954 |
182 |
bash |
12 |
no-host |
configure.ocaml |
353,778 |
0 |
0 |
0 |
5,112 |
0 |
1,928 |
194 |
dash |
20 |
no-host |
configure.ocaml |
616,166 |
0 |
0 |
0 |
5,112 |
0 |
1,844 |
185 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,900 |
0 |
0 |
0 |
5,120 |
0 |
1,935 |
202 |
osh-native |
36 |
no-host |
configure.ocaml |
376,600 |
0 |
0 |
0 |
5,120 |
0 |
1,922 |
175 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,115 |
0 |
0 |
0 |
104 |
0 |
49 |
0 |
bash |
13 |
no-host |
configure.tcc |
5,012 |
0 |
0 |
0 |
96 |
0 |
46 |
3 |
dash |
21 |
no-host |
configure.tcc |
23,978 |
0 |
0 |
0 |
96 |
0 |
53 |
7 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,527 |
0 |
0 |
0 |
104 |
0 |
46 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,494 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,913,846 |
2 |
0 |
0 |
42,400 |
0 |
18,539 |
1,202 |
bash |
11 |
no-host |
configure.util-linux |
2,076,146 |
0 |
0 |
0 |
42,584 |
0 |
17,294 |
1,427 |
dash |
19 |
no-host |
configure.util-linux |
5,291,072 |
4 |
0 |
0 |
39,144 |
0 |
16,982 |
1,295 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,815,589 |
1 |
0 |
0 |
39,120 |
0 |
17,005 |
1,170 |
osh-native |
35 |
no-host |
configure.util-linux |
1,814,840 |
8 |
0 |
0 |
39,128 |
0 |
16,937 |
1,216 |
osh-native-souffle |
6 |
no-host |
configure.yash |
234,008 |
0 |
0 |
0 |
4,120 |
0 |
872 |
91 |
bash |
14 |
no-host |
configure.yash |
222,270 |
0 |
0 |
0 |
3,720 |
0 |
870 |
96 |
dash |
22 |
no-host |
configure.yash |
368,988 |
0 |
0 |
0 |
3,728 |
0 |
856 |
136 |
osh-cpython |
30 |
no-host |
configure.yash |
235,723 |
0 |
0 |
0 |
3,736 |
0 |
847 |
88 |
osh-native |
38 |
no-host |
configure.yash |
235,814 |
0 |
0 |
0 |
3,736 |
0 |
848 |
101 |
osh-native-souffle |
0 |
no-host |
hello-world |
147 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
78 |
0 |
0 |
0 |
8 |
0 |
1 |
1 |
dash |
16 |
no-host |
hello-world |
3,967 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host