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 |
476 |
22 |
22 |
24.48 |
1.14 |
bin-true |
no-host |
678 |
548 |
2,326 |
817 |
813 |
3.43 |
1.21 |
configure.cpython |
no-host |
15,459 |
15,637 |
29,624 |
15,562 |
15,711 |
1.92 |
1.01 |
configure.ocaml |
no-host |
3,835 |
3,817 |
4,776 |
3,945 |
3,905 |
1.25 |
1.03 |
configure.tcc |
no-host |
48 |
43 |
211 |
49 |
50 |
4.39 |
1.02 |
configure.util-linux |
no-host |
14,397 |
15,382 |
32,128 |
14,821 |
14,777 |
2.23 |
1.03 |
configure.yash |
no-host |
1,847 |
1,807 |
2,568 |
1,867 |
1,871 |
1.39 |
1.01 |
hello-world |
no-host |
2 |
1 |
56 |
3 |
3 |
36.53 |
1.94 |
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,563 |
1,085 |
23,845 |
3,207 |
3,129 |
9.30 |
1.25 |
bin-true |
no-host |
103,362 |
66,445 |
770,584 |
126,244 |
124,258 |
7.46 |
1.22 |
configure.cpython |
no-host |
2,219,461 |
2,243,451 |
6,248,612 |
2,214,822 |
2,210,282 |
2.82 |
1.00 |
configure.ocaml |
no-host |
409,874 |
390,925 |
647,842 |
412,811 |
411,832 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,559 |
5,481 |
24,120 |
6,955 |
6,926 |
3.68 |
1.06 |
configure.util-linux |
no-host |
2,108,432 |
2,261,062 |
5,401,251 |
1,991,965 |
1,987,589 |
2.56 |
0.94 |
configure.yash |
no-host |
255,710 |
244,477 |
389,482 |
258,419 |
257,738 |
1.52 |
1.01 |
hello-world |
no-host |
153 |
81 |
3,938 |
342 |
334 |
25.74 |
2.24 |
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.2 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
817 |
1 |
2 |
2.6 |
8.1 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,562 |
1 |
66 |
14.9 |
27.4 |
1,771,747 |
49,125 |
28,512 |
85,415 |
878,115 |
808,217 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,821 |
3 |
66 |
21.2 |
30.1 |
2,702,513 |
53,766 |
65,691 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,382 |
1 |
configure.ocaml |
no-host |
3,945 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,867 |
1 |
2 |
2.5 |
24.2 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,292 |
64,403 |
42,613 |
4,532 |
54,436 |
57,324 |
277 |
3 |
85,226 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.8 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
813 |
1 |
2 |
2.6 |
7.6 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,711 |
2 |
66 |
14.9 |
27.4 |
1,771,746 |
44,577 |
28,450 |
85,416 |
878,115 |
808,215 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,777 |
3 |
65 |
21.2 |
30.0 |
2,702,513 |
53,693 |
65,629 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,258 |
1 |
configure.ocaml |
no-host |
3,905 |
1 |
2 |
2.6 |
20.4 |
150,080 |
11,050 |
5,145 |
7,510 |
70,969 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,871 |
1 |
2 |
2.5 |
24.2 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.7 |
116,291 |
64,341 |
42,551 |
4,533 |
54,436 |
57,322 |
277 |
3 |
85,102 |
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 |
13 |
7 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
10 |
0 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
476 |
428 |
51 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
15 |
8 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
10 |
12 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
678 |
508 |
202 |
3.0 |
bash |
9 |
no-host |
bin-true |
548 |
424 |
132 |
1.3 |
dash |
17 |
no-host |
bin-true |
2,326 |
1,415 |
1,175 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
817 |
581 |
252 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
813 |
579 |
247 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,459 |
9,401 |
6,453 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,637 |
9,242 |
6,826 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,624 |
17,870 |
13,687 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,562 |
9,261 |
6,575 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,711 |
9,004 |
6,842 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,835 |
1,599 |
1,276 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,817 |
1,613 |
1,224 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,776 |
2,328 |
1,668 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,945 |
1,652 |
1,328 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,905 |
1,570 |
1,371 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
33 |
15 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
43 |
24 |
19 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
211 |
164 |
52 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
32 |
18 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
50 |
27 |
23 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,397 |
9,109 |
5,772 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,382 |
9,578 |
6,291 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,128 |
21,345 |
11,900 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,821 |
8,940 |
6,081 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,777 |
8,859 |
6,111 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,847 |
1,022 |
834 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,807 |
1,032 |
777 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,568 |
1,555 |
1,058 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,867 |
1,098 |
773 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,871 |
1,117 |
757 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
16 |
no-host |
hello-world |
56 |
36 |
20 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
5.8 |
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,563 |
0 |
0 |
0 |
16 |
0 |
41 |
3 |
bash |
15 |
no-host |
abuild-print-help |
1,085 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,845 |
0 |
0 |
0 |
8 |
0 |
45 |
13 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,207 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,129 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
103,362 |
0 |
0 |
0 |
8 |
0 |
1,990 |
55 |
bash |
9 |
no-host |
bin-true |
66,445 |
0 |
0 |
0 |
8 |
0 |
1,991 |
35 |
dash |
17 |
no-host |
bin-true |
770,584 |
0 |
0 |
0 |
8 |
0 |
2,003 |
375 |
osh-cpython |
25 |
no-host |
bin-true |
126,244 |
0 |
0 |
0 |
16 |
0 |
1,977 |
79 |
osh-native |
33 |
no-host |
bin-true |
124,258 |
0 |
0 |
0 |
16 |
0 |
1,991 |
61 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,219,461 |
2 |
0 |
0 |
32,928 |
0 |
14,472 |
1,009 |
bash |
10 |
no-host |
configure.cpython |
2,243,451 |
1 |
0 |
0 |
32,992 |
0 |
14,537 |
1,064 |
dash |
18 |
no-host |
configure.cpython |
6,248,612 |
0 |
0 |
0 |
27,512 |
0 |
13,272 |
1,272 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,214,822 |
0 |
0 |
0 |
27,520 |
0 |
13,204 |
955 |
osh-native |
34 |
no-host |
configure.cpython |
2,210,282 |
0 |
0 |
0 |
27,520 |
0 |
13,190 |
955 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
409,874 |
0 |
0 |
0 |
5,120 |
0 |
1,944 |
142 |
bash |
12 |
no-host |
configure.ocaml |
390,925 |
0 |
0 |
0 |
5,112 |
0 |
1,890 |
131 |
dash |
20 |
no-host |
configure.ocaml |
647,842 |
0 |
0 |
0 |
5,112 |
0 |
1,857 |
174 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,811 |
0 |
0 |
0 |
5,120 |
0 |
1,934 |
155 |
osh-native |
36 |
no-host |
configure.ocaml |
411,832 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
128 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,559 |
0 |
0 |
0 |
104 |
0 |
48 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,481 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,120 |
0 |
0 |
0 |
96 |
0 |
53 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,955 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native |
37 |
no-host |
configure.tcc |
6,926 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,108,432 |
1 |
0 |
0 |
42,400 |
0 |
18,610 |
1,138 |
bash |
11 |
no-host |
configure.util-linux |
2,261,062 |
0 |
0 |
0 |
42,592 |
0 |
17,534 |
1,152 |
dash |
19 |
no-host |
configure.util-linux |
5,401,251 |
12 |
0 |
0 |
39,144 |
0 |
16,943 |
1,301 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,991,965 |
1 |
0 |
0 |
39,128 |
0 |
16,983 |
1,022 |
osh-native |
35 |
no-host |
configure.util-linux |
1,987,589 |
4 |
0 |
0 |
39,136 |
0 |
16,993 |
1,007 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,710 |
0 |
0 |
0 |
4,120 |
0 |
869 |
74 |
bash |
14 |
no-host |
configure.yash |
244,477 |
0 |
0 |
0 |
3,720 |
0 |
864 |
91 |
dash |
22 |
no-host |
configure.yash |
389,482 |
0 |
0 |
0 |
3,728 |
0 |
854 |
75 |
osh-cpython |
30 |
no-host |
configure.yash |
258,419 |
0 |
0 |
0 |
3,736 |
0 |
849 |
82 |
osh-native |
38 |
no-host |
configure.yash |
257,738 |
0 |
0 |
0 |
3,736 |
0 |
851 |
64 |
osh-native-souffle |
0 |
no-host |
hello-world |
153 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
81 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,938 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
0 |
1 |
osh-native |
32 |
no-host |
hello-world |
334 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host