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 |
20 |
10 |
488 |
24 |
23 |
23.86 |
1.19 |
bin-true |
no-host |
705 |
569 |
2,434 |
859 |
844 |
3.45 |
1.22 |
configure.cpython |
no-host |
16,128 |
16,101 |
31,735 |
16,507 |
16,520 |
1.97 |
1.02 |
configure.ocaml |
no-host |
4,014 |
3,955 |
5,098 |
4,071 |
4,096 |
1.27 |
1.01 |
configure.tcc |
no-host |
50 |
47 |
214 |
55 |
53 |
4.28 |
1.11 |
configure.util-linux |
no-host |
14,921 |
15,728 |
33,911 |
15,511 |
15,513 |
2.27 |
1.04 |
configure.yash |
no-host |
1,973 |
1,923 |
2,739 |
1,999 |
2,000 |
1.39 |
1.01 |
hello-world |
no-host |
2 |
1 |
61 |
3 |
3 |
39.24 |
2.14 |
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,492 |
1,095 |
23,553 |
3,166 |
3,139 |
9.45 |
1.27 |
bin-true |
no-host |
108,423 |
66,450 |
761,140 |
125,163 |
126,220 |
7.02 |
1.15 |
configure.cpython |
no-host |
2,005,618 |
2,013,619 |
5,986,889 |
2,004,172 |
1,990,543 |
2.99 |
1.00 |
configure.ocaml |
no-host |
373,597 |
353,670 |
605,832 |
375,846 |
375,330 |
1.62 |
1.01 |
configure.tcc |
no-host |
6,106 |
5,009 |
23,381 |
6,499 |
6,468 |
3.83 |
1.06 |
configure.util-linux |
no-host |
1,907,979 |
2,065,625 |
5,169,376 |
1,806,205 |
1,800,148 |
2.71 |
0.95 |
configure.yash |
no-host |
233,947 |
222,307 |
364,461 |
235,201 |
234,588 |
1.56 |
1.01 |
hello-world |
no-host |
146 |
75 |
3,944 |
344 |
336 |
27.01 |
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.2 |
6.3 |
3,789 |
3,789 |
0 |
694 |
1,861 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
859 |
1 |
2 |
2.6 |
8.0 |
153,753 |
12,329 |
2,894 |
8,743 |
76,325 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
16,507 |
2 |
95 |
14.9 |
29.3 |
1,767,675 |
49,060 |
28,519 |
85,427 |
875,384 |
806,864 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
15,511 |
4 |
91 |
21.2 |
30.1 |
2,699,097 |
29,940 |
65,698 |
108,729 |
1,288,315 |
1,302,053 |
32,244 |
41 |
131,396 |
1 |
configure.ocaml |
no-host |
4,071 |
1 |
2 |
2.6 |
22.4 |
149,553 |
11,119 |
5,214 |
7,508 |
70,616 |
71,429 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
55 |
0 |
0 |
1.3 |
19.6 |
30,539 |
30,539 |
0 |
1,518 |
14,608 |
14,413 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,999 |
1 |
3 |
2.5 |
26.4 |
139,269 |
8,031 |
6,693 |
5,989 |
67,845 |
65,435 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
24 |
1 |
2 |
2.8 |
8.9 |
116,299 |
64,410 |
42,620 |
4,532 |
54,439 |
57,328 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,788 |
3,788 |
0 |
695 |
1,861 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
844 |
1 |
2 |
2.6 |
7.5 |
153,752 |
12,118 |
2,832 |
8,744 |
76,325 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
16,520 |
2 |
102 |
14.9 |
29.2 |
1,767,674 |
37,983 |
24,932 |
85,428 |
875,384 |
806,862 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
15,513 |
4 |
93 |
21.2 |
30.3 |
2,699,097 |
29,878 |
65,636 |
108,731 |
1,288,315 |
1,302,051 |
32,244 |
41 |
131,272 |
1 |
configure.ocaml |
no-host |
4,096 |
1 |
2 |
2.6 |
22.5 |
149,553 |
11,057 |
5,152 |
7,510 |
70,616 |
71,427 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
53 |
0 |
0 |
1.3 |
19.5 |
30,539 |
30,539 |
0 |
1,520 |
14,608 |
14,411 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
2,000 |
1 |
3 |
2.5 |
26.5 |
139,269 |
7,969 |
6,631 |
5,991 |
67,845 |
65,433 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
8.8 |
116,298 |
64,348 |
42,558 |
4,533 |
54,439 |
57,326 |
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 |
20 |
12 |
9 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
488 |
424 |
68 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
24 |
15 |
10 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
23 |
9 |
15 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
705 |
311 |
439 |
2.8 |
bash |
9 |
no-host |
bin-true |
569 |
289 |
294 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,434 |
826 |
1,900 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
859 |
289 |
588 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
844 |
288 |
575 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
16,128 |
7,303 |
9,230 |
29.3 |
bash |
10 |
no-host |
configure.cpython |
16,101 |
7,227 |
9,357 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
31,735 |
15,728 |
17,941 |
29.1 |
osh-cpython |
26 |
no-host |
configure.cpython |
16,507 |
7,370 |
9,442 |
29.3 |
osh-native |
34 |
no-host |
configure.cpython |
16,520 |
7,160 |
9,567 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
4,014 |
1,490 |
1,563 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,955 |
1,456 |
1,523 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
5,098 |
2,106 |
2,145 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
4,071 |
1,492 |
1,627 |
22.4 |
osh-native |
36 |
no-host |
configure.ocaml |
4,096 |
1,457 |
1,682 |
22.5 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
50 |
28 |
23 |
19.6 |
bash |
13 |
no-host |
configure.tcc |
47 |
20 |
27 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
214 |
152 |
66 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
55 |
31 |
25 |
19.6 |
osh-native |
37 |
no-host |
configure.tcc |
53 |
19 |
34 |
19.5 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,921 |
6,362 |
9,080 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,728 |
6,423 |
9,876 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
33,911 |
19,106 |
16,054 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,511 |
6,165 |
9,593 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
15,513 |
6,219 |
9,471 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,973 |
1,045 |
935 |
26.3 |
bash |
14 |
no-host |
configure.yash |
1,923 |
991 |
935 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,739 |
1,531 |
1,259 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,999 |
988 |
1,016 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
2,000 |
977 |
1,029 |
26.5 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
61 |
36 |
26 |
18.3 |
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,492 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,095 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,553 |
0 |
0 |
0 |
8 |
0 |
45 |
4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,166 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,139 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
108,423 |
0 |
0 |
0 |
8 |
0 |
1,984 |
94 |
bash |
9 |
no-host |
bin-true |
66,450 |
0 |
0 |
0 |
8 |
0 |
1,977 |
86 |
dash |
17 |
no-host |
bin-true |
761,140 |
0 |
0 |
0 |
8 |
0 |
1,989 |
330 |
osh-cpython |
25 |
no-host |
bin-true |
125,163 |
0 |
0 |
0 |
16 |
0 |
1,974 |
121 |
osh-native |
33 |
no-host |
bin-true |
126,220 |
0 |
0 |
0 |
16 |
0 |
1,975 |
108 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,005,618 |
0 |
0 |
0 |
32,928 |
0 |
14,262 |
1,189 |
bash |
10 |
no-host |
configure.cpython |
2,013,619 |
0 |
0 |
0 |
32,992 |
0 |
14,411 |
1,099 |
dash |
18 |
no-host |
configure.cpython |
5,986,889 |
0 |
0 |
0 |
27,520 |
0 |
13,046 |
1,076 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,004,172 |
1 |
0 |
0 |
27,520 |
0 |
13,152 |
1,069 |
osh-native |
34 |
no-host |
configure.cpython |
1,990,543 |
0 |
0 |
0 |
27,520 |
0 |
13,203 |
1,051 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,597 |
0 |
0 |
0 |
5,120 |
0 |
1,972 |
222 |
bash |
12 |
no-host |
configure.ocaml |
353,670 |
0 |
0 |
0 |
5,112 |
0 |
1,930 |
182 |
dash |
20 |
no-host |
configure.ocaml |
605,832 |
0 |
0 |
0 |
5,112 |
0 |
1,876 |
212 |
osh-cpython |
28 |
no-host |
configure.ocaml |
375,846 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
186 |
osh-native |
36 |
no-host |
configure.ocaml |
375,330 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
180 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,106 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,009 |
0 |
0 |
0 |
96 |
0 |
47 |
6 |
dash |
21 |
no-host |
configure.tcc |
23,381 |
0 |
0 |
0 |
96 |
0 |
53 |
3 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,499 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,468 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,907,979 |
0 |
0 |
0 |
42,408 |
0 |
18,475 |
1,222 |
bash |
11 |
no-host |
configure.util-linux |
2,065,625 |
0 |
0 |
0 |
42,592 |
0 |
17,199 |
1,367 |
dash |
19 |
no-host |
configure.util-linux |
5,169,376 |
6 |
0 |
0 |
39,112 |
0 |
17,024 |
1,200 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,806,205 |
2 |
0 |
0 |
39,144 |
0 |
17,038 |
1,156 |
osh-native |
35 |
no-host |
configure.util-linux |
1,800,148 |
3 |
0 |
0 |
39,152 |
0 |
16,934 |
1,161 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,947 |
0 |
0 |
0 |
4,120 |
0 |
873 |
98 |
bash |
14 |
no-host |
configure.yash |
222,307 |
0 |
0 |
0 |
3,720 |
0 |
869 |
103 |
dash |
22 |
no-host |
configure.yash |
364,461 |
0 |
0 |
0 |
3,728 |
0 |
855 |
213 |
osh-cpython |
30 |
no-host |
configure.yash |
235,201 |
0 |
0 |
0 |
3,736 |
0 |
846 |
98 |
osh-native |
38 |
no-host |
configure.yash |
234,588 |
0 |
0 |
0 |
3,736 |
0 |
850 |
103 |
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,944 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
336 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host