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 |
468 |
22 |
20 |
24.44 |
1.12 |
bin-true |
no-host |
679 |
542 |
2,317 |
807 |
814 |
3.41 |
1.19 |
configure.cpython |
no-host |
15,107 |
15,157 |
28,818 |
15,470 |
15,354 |
1.91 |
1.02 |
configure.ocaml |
no-host |
3,808 |
3,746 |
4,741 |
3,859 |
3,815 |
1.25 |
1.01 |
configure.tcc |
no-host |
48 |
42 |
203 |
50 |
48 |
4.26 |
1.04 |
configure.util-linux |
no-host |
14,351 |
14,870 |
31,511 |
14,596 |
14,335 |
2.20 |
1.02 |
configure.yash |
no-host |
1,837 |
1,774 |
2,468 |
1,829 |
1,834 |
1.34 |
1.00 |
hello-world |
no-host |
1 |
1 |
58 |
3 |
3 |
39.00 |
1.93 |
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,556 |
1,135 |
23,711 |
3,189 |
3,091 |
9.28 |
1.25 |
bin-true |
no-host |
107,318 |
65,411 |
767,337 |
126,215 |
126,247 |
7.15 |
1.18 |
configure.cpython |
no-host |
2,221,594 |
2,239,043 |
6,206,289 |
2,225,805 |
2,207,272 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,320 |
391,012 |
645,841 |
412,773 |
412,300 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,553 |
5,485 |
24,020 |
6,962 |
6,945 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,104,074 |
2,260,889 |
5,375,352 |
1,996,707 |
1,993,238 |
2.55 |
0.95 |
configure.yash |
no-host |
256,146 |
245,246 |
387,877 |
258,214 |
256,626 |
1.51 |
1.01 |
hello-world |
no-host |
151 |
78 |
3,947 |
343 |
336 |
26.14 |
2.27 |
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 |
807 |
1 |
2 |
2.6 |
7.9 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,470 |
1 |
63 |
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,596 |
3 |
63 |
21.2 |
30.0 |
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,859 |
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 |
50 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,829 |
1 |
2 |
2.5 |
24.4 |
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.9 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
814 |
1 |
2 |
2.6 |
7.7 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,354 |
1 |
60 |
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,335 |
3 |
60 |
21.2 |
30.1 |
2,702,513 |
53,693 |
65,649 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,298 |
1 |
configure.ocaml |
no-host |
3,815 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,050 |
5,145 |
7,510 |
70,969 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,834 |
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 |
20 |
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 |
19 |
0 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
4 |
6 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
468 |
417 |
54 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
13 |
9 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
19 |
2 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
679 |
499 |
210 |
2.9 |
bash |
9 |
no-host |
bin-true |
542 |
418 |
132 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,317 |
1,531 |
1,047 |
18.1 |
osh-cpython |
25 |
no-host |
bin-true |
807 |
584 |
239 |
7.9 |
osh-native |
33 |
no-host |
bin-true |
814 |
594 |
235 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,107 |
9,015 |
6,496 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,157 |
9,354 |
6,222 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
28,818 |
17,743 |
12,931 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,470 |
9,074 |
6,670 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,354 |
8,981 |
6,508 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,808 |
1,571 |
1,274 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,746 |
1,525 |
1,242 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,741 |
2,227 |
1,727 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,859 |
1,745 |
1,152 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,815 |
1,602 |
1,248 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
29 |
19 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
24 |
18 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
203 |
137 |
71 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
24 |
26 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
27 |
22 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,351 |
8,915 |
5,910 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,870 |
9,165 |
6,203 |
29.9 |
dash |
19 |
no-host |
configure.util-linux |
31,511 |
20,898 |
11,694 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,596 |
8,674 |
6,118 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
14,335 |
8,563 |
5,963 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,837 |
1,023 |
816 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,774 |
1,018 |
760 |
24.5 |
dash |
22 |
no-host |
configure.yash |
2,468 |
1,587 |
921 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,829 |
1,050 |
783 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,834 |
1,082 |
755 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
58 |
39 |
19 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,556 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,135 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,711 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,189 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,091 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,318 |
0 |
0 |
0 |
8 |
0 |
1,997 |
84 |
bash |
9 |
no-host |
bin-true |
65,411 |
0 |
0 |
0 |
8 |
0 |
1,991 |
56 |
dash |
17 |
no-host |
bin-true |
767,337 |
0 |
0 |
0 |
8 |
0 |
1,992 |
290 |
osh-cpython |
25 |
no-host |
bin-true |
126,215 |
0 |
0 |
0 |
16 |
0 |
1,992 |
96 |
osh-native |
33 |
no-host |
bin-true |
126,247 |
0 |
0 |
0 |
16 |
0 |
1,995 |
266 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,221,594 |
1 |
0 |
0 |
32,928 |
0 |
14,527 |
1,079 |
bash |
10 |
no-host |
configure.cpython |
2,239,043 |
0 |
0 |
0 |
32,992 |
0 |
14,667 |
985 |
dash |
18 |
no-host |
configure.cpython |
6,206,289 |
0 |
0 |
0 |
27,512 |
0 |
13,228 |
1,173 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,225,805 |
0 |
0 |
0 |
27,520 |
0 |
13,199 |
1,057 |
osh-native |
34 |
no-host |
configure.cpython |
2,207,272 |
0 |
0 |
0 |
27,520 |
0 |
13,241 |
1,036 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,320 |
0 |
0 |
0 |
5,120 |
0 |
1,950 |
164 |
bash |
12 |
no-host |
configure.ocaml |
391,012 |
0 |
0 |
0 |
5,112 |
0 |
1,924 |
144 |
dash |
20 |
no-host |
configure.ocaml |
645,841 |
0 |
0 |
0 |
5,112 |
0 |
1,856 |
171 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,773 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
175 |
osh-native |
36 |
no-host |
configure.ocaml |
412,300 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
144 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,553 |
0 |
0 |
0 |
104 |
0 |
49 |
7 |
bash |
13 |
no-host |
configure.tcc |
5,485 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,020 |
0 |
0 |
0 |
96 |
0 |
53 |
12 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,962 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,945 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,104,074 |
0 |
0 |
0 |
42,400 |
0 |
18,521 |
1,004 |
bash |
11 |
no-host |
configure.util-linux |
2,260,889 |
0 |
0 |
0 |
42,584 |
0 |
17,484 |
993 |
dash |
19 |
no-host |
configure.util-linux |
5,375,352 |
12 |
0 |
0 |
39,112 |
0 |
16,966 |
1,121 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,996,707 |
2 |
0 |
0 |
39,120 |
0 |
16,997 |
973 |
osh-native |
35 |
no-host |
configure.util-linux |
1,993,238 |
2 |
0 |
0 |
39,136 |
0 |
16,910 |
1,015 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,146 |
0 |
0 |
0 |
4,120 |
0 |
881 |
90 |
bash |
14 |
no-host |
configure.yash |
245,246 |
0 |
0 |
0 |
3,720 |
0 |
868 |
78 |
dash |
22 |
no-host |
configure.yash |
387,877 |
0 |
0 |
0 |
3,728 |
0 |
854 |
143 |
osh-cpython |
30 |
no-host |
configure.yash |
258,214 |
0 |
0 |
0 |
3,736 |
0 |
851 |
82 |
osh-native |
38 |
no-host |
configure.yash |
256,626 |
0 |
0 |
0 |
3,736 |
0 |
852 |
72 |
osh-native-souffle |
0 |
no-host |
hello-world |
151 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
78 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,947 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
336 |
0 |
0 |
0 |
16 |
0 |
0 |
1 |
osh-native-souffle |
Shell and Host