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 |
462 |
22 |
21 |
24.07 |
1.17 |
bin-true |
no-host |
676 |
540 |
2,290 |
811 |
816 |
3.39 |
1.20 |
configure.cpython |
no-host |
15,204 |
15,263 |
29,361 |
15,379 |
15,444 |
1.93 |
1.01 |
configure.ocaml |
no-host |
3,819 |
3,773 |
4,688 |
3,897 |
3,849 |
1.23 |
1.02 |
configure.tcc |
no-host |
48 |
42 |
204 |
49 |
49 |
4.22 |
1.02 |
configure.util-linux |
no-host |
14,220 |
15,028 |
32,031 |
14,577 |
14,426 |
2.25 |
1.03 |
configure.yash |
no-host |
1,837 |
1,784 |
2,509 |
1,861 |
1,862 |
1.37 |
1.01 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
38.27 |
1.87 |
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,564 |
1,113 |
23,673 |
3,178 |
3,069 |
9.23 |
1.24 |
bin-true |
no-host |
107,236 |
65,402 |
774,713 |
125,235 |
126,243 |
7.22 |
1.17 |
configure.cpython |
no-host |
2,229,646 |
2,239,355 |
6,211,669 |
2,216,477 |
2,207,099 |
2.79 |
0.99 |
configure.ocaml |
no-host |
409,978 |
391,271 |
646,946 |
412,535 |
412,400 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,552 |
5,482 |
24,088 |
6,958 |
6,894 |
3.68 |
1.06 |
configure.util-linux |
no-host |
2,104,916 |
2,262,183 |
5,390,189 |
1,996,147 |
1,993,393 |
2.56 |
0.95 |
configure.yash |
no-host |
256,151 |
245,217 |
389,426 |
257,991 |
257,647 |
1.52 |
1.01 |
hello-world |
no-host |
151 |
85 |
3,950 |
342 |
336 |
26.16 |
2.26 |
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,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
811 |
1 |
2 |
2.6 |
8.0 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,379 |
2 |
62 |
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,577 |
3 |
61 |
21.2 |
30.3 |
2,702,513 |
45,898 |
65,711 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,422 |
1 |
configure.ocaml |
no-host |
3,897 |
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.3 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,861 |
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.8 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
816 |
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,444 |
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,426 |
3 |
60 |
21.2 |
30.3 |
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,849 |
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 |
49 |
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,862 |
1 |
2 |
2.5 |
24.4 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.5 |
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 |
12 |
8 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
8 |
2 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
462 |
408 |
57 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
18 |
5 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
19 |
3 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
676 |
498 |
209 |
2.9 |
bash |
9 |
no-host |
bin-true |
540 |
413 |
134 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,290 |
1,488 |
1,063 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
811 |
577 |
250 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
816 |
582 |
250 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,204 |
9,209 |
6,398 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
15,263 |
9,245 |
6,413 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
29,361 |
17,939 |
13,337 |
27.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,379 |
9,153 |
6,497 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,444 |
9,036 |
6,528 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,819 |
1,642 |
1,218 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,773 |
1,649 |
1,143 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,688 |
2,238 |
1,665 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,897 |
1,608 |
1,325 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,849 |
1,567 |
1,317 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
36 |
12 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
25 |
18 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
204 |
158 |
49 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
29 |
21 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
19 |
30 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,220 |
8,923 |
5,776 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,028 |
9,304 |
6,223 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
32,031 |
21,468 |
11,678 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,577 |
8,789 |
5,983 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,426 |
8,591 |
6,036 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,837 |
1,080 |
766 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,784 |
987 |
801 |
24.5 |
dash |
22 |
no-host |
configure.yash |
2,509 |
1,557 |
996 |
24.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,861 |
1,096 |
769 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,862 |
1,062 |
805 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
2 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
57 |
49 |
8 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,564 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,113 |
0 |
0 |
0 |
8 |
0 |
39 |
2 |
dash |
23 |
no-host |
abuild-print-help |
23,673 |
0 |
0 |
0 |
8 |
0 |
45 |
11 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,178 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,069 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,236 |
0 |
0 |
0 |
8 |
0 |
1,989 |
50 |
bash |
9 |
no-host |
bin-true |
65,402 |
0 |
0 |
0 |
8 |
0 |
1,986 |
36 |
dash |
17 |
no-host |
bin-true |
774,713 |
0 |
0 |
0 |
8 |
0 |
1,990 |
177 |
osh-cpython |
25 |
no-host |
bin-true |
125,235 |
0 |
0 |
0 |
16 |
0 |
1,984 |
51 |
osh-native |
33 |
no-host |
bin-true |
126,243 |
0 |
0 |
0 |
16 |
0 |
1,986 |
114 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,229,646 |
0 |
0 |
0 |
32,928 |
0 |
14,470 |
1,053 |
bash |
10 |
no-host |
configure.cpython |
2,239,355 |
0 |
0 |
0 |
32,992 |
0 |
14,598 |
1,034 |
dash |
18 |
no-host |
configure.cpython |
6,211,669 |
0 |
0 |
0 |
27,512 |
0 |
13,199 |
1,044 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,216,477 |
0 |
0 |
0 |
27,520 |
0 |
13,266 |
968 |
osh-native |
34 |
no-host |
configure.cpython |
2,207,099 |
0 |
0 |
0 |
27,520 |
0 |
13,100 |
949 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
409,978 |
0 |
0 |
0 |
5,120 |
0 |
1,950 |
127 |
bash |
12 |
no-host |
configure.ocaml |
391,271 |
0 |
0 |
0 |
5,112 |
0 |
1,882 |
145 |
dash |
20 |
no-host |
configure.ocaml |
646,946 |
0 |
0 |
0 |
5,112 |
0 |
1,850 |
177 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,535 |
0 |
0 |
0 |
5,120 |
0 |
1,934 |
203 |
osh-native |
36 |
no-host |
configure.ocaml |
412,400 |
0 |
0 |
0 |
5,120 |
0 |
1,937 |
132 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,552 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,482 |
0 |
0 |
0 |
96 |
0 |
48 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,088 |
0 |
0 |
0 |
96 |
0 |
53 |
15 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,958 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,894 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,104,916 |
0 |
0 |
0 |
42,400 |
0 |
18,548 |
1,036 |
bash |
11 |
no-host |
configure.util-linux |
2,262,183 |
0 |
0 |
0 |
42,584 |
0 |
17,418 |
1,142 |
dash |
19 |
no-host |
configure.util-linux |
5,390,189 |
15 |
0 |
0 |
39,136 |
0 |
16,918 |
1,352 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,996,147 |
2 |
0 |
0 |
39,120 |
0 |
16,956 |
973 |
osh-native |
35 |
no-host |
configure.util-linux |
1,993,393 |
2 |
0 |
0 |
39,136 |
0 |
16,963 |
924 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,151 |
0 |
0 |
0 |
4,120 |
0 |
872 |
81 |
bash |
14 |
no-host |
configure.yash |
245,217 |
0 |
0 |
0 |
3,720 |
0 |
868 |
79 |
dash |
22 |
no-host |
configure.yash |
389,426 |
0 |
0 |
0 |
3,728 |
0 |
851 |
101 |
osh-cpython |
30 |
no-host |
configure.yash |
257,991 |
0 |
0 |
0 |
3,736 |
0 |
848 |
86 |
osh-native |
38 |
no-host |
configure.yash |
257,647 |
0 |
0 |
0 |
3,736 |
0 |
845 |
80 |
osh-native-souffle |
0 |
no-host |
hello-world |
151 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
85 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,950 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
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