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 |
10 |
465 |
22 |
21 |
24.88 |
1.15 |
bin-true |
no-host |
648 |
522 |
2,329 |
791 |
788 |
3.59 |
1.22 |
configure.cpython |
no-host |
14,521 |
14,543 |
28,538 |
14,754 |
14,924 |
1.97 |
1.02 |
configure.ocaml |
no-host |
3,699 |
3,636 |
4,579 |
3,732 |
3,761 |
1.24 |
1.01 |
configure.tcc |
no-host |
46 |
40 |
200 |
47 |
47 |
4.38 |
1.03 |
configure.util-linux |
no-host |
13,452 |
14,278 |
31,157 |
13,833 |
13,969 |
2.32 |
1.03 |
configure.yash |
no-host |
1,777 |
1,763 |
2,413 |
1,772 |
1,792 |
1.36 |
1.00 |
hello-world |
no-host |
1 |
1 |
58 |
3 |
3 |
44.43 |
2.13 |
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,529 |
1,084 |
23,975 |
3,213 |
3,090 |
9.48 |
1.27 |
bin-true |
no-host |
106,375 |
67,425 |
781,538 |
126,135 |
125,255 |
7.35 |
1.19 |
configure.cpython |
no-host |
1,998,606 |
2,027,201 |
6,061,228 |
2,011,406 |
1,988,571 |
3.03 |
1.01 |
configure.ocaml |
no-host |
373,033 |
353,776 |
610,653 |
376,178 |
375,039 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,088 |
5,005 |
23,784 |
6,492 |
6,442 |
3.91 |
1.07 |
configure.util-linux |
no-host |
1,902,849 |
2,063,818 |
5,223,456 |
1,804,452 |
1,797,648 |
2.75 |
0.95 |
configure.yash |
no-host |
232,190 |
222,391 |
366,965 |
235,632 |
234,718 |
1.58 |
1.01 |
hello-world |
no-host |
146 |
75 |
3,972 |
347 |
339 |
27.21 |
2.38 |
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.2 |
6.4 |
3,789 |
3,789 |
0 |
695 |
1,861 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
791 |
1 |
2 |
2.6 |
8.0 |
153,753 |
12,329 |
2,894 |
8,744 |
76,325 |
68,684 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,754 |
1 |
64 |
14.9 |
29.2 |
1,767,675 |
49,060 |
28,519 |
85,428 |
875,384 |
806,863 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,833 |
3 |
61 |
21.2 |
30.2 |
2,698,991 |
29,940 |
65,718 |
108,700 |
1,288,281 |
1,302,010 |
32,241 |
41 |
131,436 |
1 |
configure.ocaml |
no-host |
3,732 |
1 |
2 |
2.6 |
22.6 |
149,553 |
11,119 |
5,214 |
7,509 |
70,616 |
71,428 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.7 |
30,539 |
30,539 |
0 |
1,519 |
14,608 |
14,412 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,772 |
1 |
2 |
2.5 |
26.3 |
139,269 |
8,031 |
6,693 |
5,990 |
67,845 |
65,434 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.9 |
116,299 |
64,410 |
42,620 |
4,533 |
54,439 |
57,327 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
6.0 |
3,788 |
3,788 |
0 |
696 |
1,861 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
788 |
1 |
2 |
2.6 |
7.6 |
153,752 |
12,118 |
2,832 |
8,745 |
76,325 |
68,682 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,924 |
1 |
69 |
14.9 |
29.1 |
1,767,674 |
37,983 |
24,932 |
85,429 |
875,384 |
806,861 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,969 |
4 |
66 |
21.2 |
30.3 |
2,698,991 |
29,878 |
65,656 |
108,702 |
1,288,281 |
1,302,008 |
32,241 |
41 |
131,312 |
1 |
configure.ocaml |
no-host |
3,761 |
1 |
2 |
2.6 |
22.6 |
149,553 |
11,057 |
5,152 |
7,511 |
70,616 |
71,426 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.8 |
30,539 |
30,539 |
0 |
1,521 |
14,608 |
14,410 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,792 |
1 |
2 |
2.5 |
26.2 |
139,269 |
7,969 |
6,631 |
5,992 |
67,845 |
65,432 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,298 |
64,348 |
42,558 |
4,534 |
54,439 |
57,325 |
277 |
3 |
85,116 |
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 |
11 |
8 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
4 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
465 |
417 |
51 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
12 |
11 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
10 |
11 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
648 |
296 |
388 |
2.9 |
bash |
9 |
no-host |
bin-true |
522 |
286 |
249 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,329 |
821 |
1,765 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
791 |
307 |
498 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
788 |
295 |
510 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,521 |
6,572 |
8,352 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,543 |
6,554 |
8,416 |
29.3 |
dash |
18 |
no-host |
configure.cpython |
28,538 |
14,278 |
16,140 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,754 |
6,528 |
8,510 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
14,924 |
6,483 |
8,715 |
29.1 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,699 |
1,299 |
1,440 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,636 |
1,262 |
1,396 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,579 |
1,866 |
1,924 |
22.8 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,732 |
1,293 |
1,476 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,761 |
1,295 |
1,506 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
27 |
20 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
40 |
21 |
20 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
200 |
132 |
72 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
23 |
24 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
22 |
25 |
19.8 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,452 |
5,668 |
8,270 |
30.4 |
bash |
11 |
no-host |
configure.util-linux |
14,278 |
5,819 |
8,979 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
31,157 |
17,725 |
14,513 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,833 |
5,566 |
8,467 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
13,969 |
5,509 |
8,666 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,777 |
907 |
878 |
26.3 |
bash |
14 |
no-host |
configure.yash |
1,763 |
881 |
887 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,413 |
1,330 |
1,125 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,772 |
900 |
875 |
26.3 |
osh-native |
38 |
no-host |
configure.yash |
1,792 |
905 |
893 |
26.2 |
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 |
58 |
36 |
22 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
2 |
6.0 |
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,529 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,084 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,975 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,213 |
0 |
0 |
0 |
16 |
0 |
39 |
7 |
osh-native |
39 |
no-host |
abuild-print-help |
3,090 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,375 |
0 |
0 |
0 |
8 |
0 |
1,987 |
60 |
bash |
9 |
no-host |
bin-true |
67,425 |
0 |
0 |
0 |
8 |
0 |
1,982 |
92 |
dash |
17 |
no-host |
bin-true |
781,538 |
0 |
0 |
0 |
8 |
0 |
1,981 |
147 |
osh-cpython |
25 |
no-host |
bin-true |
126,135 |
0 |
0 |
0 |
16 |
0 |
1,985 |
476 |
osh-native |
33 |
no-host |
bin-true |
125,255 |
0 |
0 |
0 |
16 |
0 |
1,977 |
215 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,998,606 |
1 |
0 |
0 |
32,928 |
0 |
14,235 |
1,241 |
bash |
10 |
no-host |
configure.cpython |
2,027,201 |
0 |
0 |
0 |
32,992 |
0 |
14,349 |
1,163 |
dash |
18 |
no-host |
configure.cpython |
6,061,228 |
1 |
0 |
0 |
27,512 |
0 |
13,047 |
1,110 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,011,406 |
0 |
0 |
0 |
27,520 |
0 |
13,100 |
1,189 |
osh-native |
34 |
no-host |
configure.cpython |
1,988,571 |
0 |
0 |
0 |
27,520 |
0 |
13,072 |
1,109 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,033 |
0 |
0 |
0 |
5,120 |
0 |
1,940 |
194 |
bash |
12 |
no-host |
configure.ocaml |
353,776 |
0 |
0 |
0 |
5,112 |
0 |
1,939 |
190 |
dash |
20 |
no-host |
configure.ocaml |
610,653 |
0 |
0 |
0 |
5,112 |
0 |
1,855 |
183 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,178 |
0 |
0 |
0 |
5,120 |
0 |
1,922 |
195 |
osh-native |
36 |
no-host |
configure.ocaml |
375,039 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
196 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,088 |
0 |
0 |
0 |
104 |
0 |
48 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,005 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,784 |
0 |
0 |
0 |
96 |
0 |
53 |
9 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,492 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,442 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,902,849 |
0 |
0 |
0 |
42,400 |
0 |
18,438 |
1,263 |
bash |
11 |
no-host |
configure.util-linux |
2,063,818 |
1 |
0 |
0 |
42,592 |
0 |
17,291 |
1,390 |
dash |
19 |
no-host |
configure.util-linux |
5,223,456 |
9 |
0 |
0 |
39,112 |
0 |
16,989 |
1,444 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,804,452 |
0 |
0 |
0 |
39,120 |
0 |
16,997 |
1,198 |
osh-native |
35 |
no-host |
configure.util-linux |
1,797,648 |
1 |
0 |
0 |
39,128 |
0 |
16,973 |
1,131 |
osh-native-souffle |
6 |
no-host |
configure.yash |
232,190 |
0 |
0 |
0 |
4,120 |
0 |
872 |
94 |
bash |
14 |
no-host |
configure.yash |
222,391 |
0 |
0 |
0 |
3,720 |
0 |
870 |
103 |
dash |
22 |
no-host |
configure.yash |
366,965 |
0 |
0 |
0 |
3,728 |
0 |
850 |
110 |
osh-cpython |
30 |
no-host |
configure.yash |
235,632 |
0 |
0 |
0 |
3,736 |
0 |
846 |
84 |
osh-native |
38 |
no-host |
configure.yash |
234,718 |
0 |
0 |
0 |
3,736 |
0 |
844 |
80 |
osh-native-souffle |
0 |
no-host |
hello-world |
146 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
75 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,972 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
347 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host