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 |
460 |
22 |
21 |
24.22 |
1.15 |
bin-true |
no-host |
687 |
540 |
2,326 |
810 |
805 |
3.38 |
1.18 |
configure.cpython |
no-host |
15,007 |
15,062 |
28,789 |
15,244 |
15,626 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,776 |
3,713 |
4,641 |
3,830 |
3,868 |
1.23 |
1.01 |
configure.tcc |
no-host |
48 |
41 |
201 |
49 |
48 |
4.19 |
1.02 |
configure.util-linux |
no-host |
13,947 |
14,804 |
31,338 |
14,347 |
14,306 |
2.25 |
1.03 |
configure.yash |
no-host |
1,808 |
1,762 |
2,463 |
1,859 |
1,876 |
1.36 |
1.03 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
38.39 |
1.92 |
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,544 |
1,093 |
23,636 |
3,163 |
3,098 |
9.29 |
1.24 |
bin-true |
no-host |
106,307 |
65,501 |
771,080 |
127,287 |
123,269 |
7.25 |
1.20 |
configure.cpython |
no-host |
2,224,849 |
2,237,812 |
6,229,518 |
2,227,593 |
2,204,821 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,926 |
391,220 |
646,025 |
412,728 |
413,169 |
1.57 |
1.00 |
configure.tcc |
no-host |
6,548 |
5,497 |
24,058 |
6,968 |
6,938 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,101,908 |
2,263,452 |
5,367,202 |
1,999,604 |
1,986,396 |
2.55 |
0.95 |
configure.yash |
no-host |
256,798 |
245,181 |
389,466 |
258,646 |
257,923 |
1.52 |
1.01 |
hello-world |
no-host |
150 |
84 |
3,947 |
340 |
341 |
26.31 |
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 |
810 |
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,244 |
1 |
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,347 |
3 |
60 |
21.2 |
30.1 |
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,830 |
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,859 |
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 |
8.9 |
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 |
805 |
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,626 |
1 |
64 |
14.9 |
27.5 |
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,306 |
3 |
61 |
21.2 |
30.0 |
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,868 |
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.3 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,876 |
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 |
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 |
11 |
8 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
8 |
1 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
460 |
415 |
48 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
14 |
8 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
11 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
687 |
513 |
206 |
3.0 |
bash |
9 |
no-host |
bin-true |
540 |
419 |
132 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,326 |
1,504 |
1,079 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
810 |
574 |
251 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
805 |
576 |
243 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,007 |
8,961 |
6,463 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,062 |
9,021 |
6,471 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
28,789 |
17,379 |
13,281 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,244 |
8,946 |
6,567 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,626 |
9,035 |
6,675 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,776 |
1,693 |
1,122 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,713 |
1,615 |
1,117 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,641 |
2,219 |
1,630 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,830 |
1,636 |
1,233 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,868 |
1,616 |
1,291 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
36 |
13 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
31 |
10 |
19.1 |
dash |
21 |
no-host |
configure.tcc |
201 |
143 |
61 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
27 |
22 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
27 |
22 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,947 |
8,731 |
5,692 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,804 |
9,114 |
6,193 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,338 |
20,990 |
11,427 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,347 |
8,610 |
5,917 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,306 |
8,442 |
6,065 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,808 |
1,092 |
723 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,762 |
1,078 |
688 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,463 |
1,478 |
1,027 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,859 |
1,046 |
818 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,876 |
1,060 |
820 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
44 |
12 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,544 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,093 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,636 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,163 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,098 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,307 |
0 |
0 |
0 |
8 |
0 |
1,990 |
157 |
bash |
9 |
no-host |
bin-true |
65,501 |
0 |
0 |
0 |
8 |
0 |
1,988 |
35 |
dash |
17 |
no-host |
bin-true |
771,080 |
0 |
0 |
0 |
8 |
0 |
1,998 |
287 |
osh-cpython |
25 |
no-host |
bin-true |
127,287 |
0 |
0 |
0 |
16 |
0 |
1,998 |
73 |
osh-native |
33 |
no-host |
bin-true |
123,269 |
0 |
0 |
0 |
16 |
0 |
1,997 |
53 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,224,849 |
0 |
0 |
0 |
32,928 |
0 |
14,491 |
1,027 |
bash |
10 |
no-host |
configure.cpython |
2,237,812 |
0 |
0 |
0 |
32,992 |
0 |
14,611 |
1,038 |
dash |
18 |
no-host |
configure.cpython |
6,229,518 |
0 |
0 |
0 |
27,512 |
0 |
13,269 |
1,144 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,227,593 |
0 |
0 |
0 |
27,520 |
0 |
13,298 |
970 |
osh-native |
34 |
no-host |
configure.cpython |
2,204,821 |
0 |
0 |
0 |
27,520 |
0 |
13,213 |
1,001 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,926 |
0 |
0 |
0 |
5,120 |
0 |
1,953 |
169 |
bash |
12 |
no-host |
configure.ocaml |
391,220 |
0 |
0 |
0 |
5,112 |
0 |
1,914 |
139 |
dash |
20 |
no-host |
configure.ocaml |
646,025 |
0 |
0 |
0 |
5,112 |
0 |
1,859 |
186 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,728 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
168 |
osh-native |
36 |
no-host |
configure.ocaml |
413,169 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
155 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,548 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,497 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
21 |
no-host |
configure.tcc |
24,058 |
0 |
0 |
0 |
96 |
0 |
53 |
9 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,968 |
0 |
0 |
0 |
104 |
0 |
46 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,938 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,101,908 |
0 |
0 |
0 |
42,408 |
0 |
18,532 |
1,045 |
bash |
11 |
no-host |
configure.util-linux |
2,263,452 |
0 |
0 |
0 |
42,592 |
0 |
17,392 |
1,004 |
dash |
19 |
no-host |
configure.util-linux |
5,367,202 |
12 |
0 |
0 |
39,112 |
0 |
16,926 |
1,214 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,999,604 |
0 |
0 |
0 |
39,120 |
0 |
16,975 |
986 |
osh-native |
35 |
no-host |
configure.util-linux |
1,986,396 |
0 |
0 |
0 |
39,128 |
0 |
16,866 |
1,026 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,798 |
0 |
0 |
0 |
4,120 |
0 |
871 |
92 |
bash |
14 |
no-host |
configure.yash |
245,181 |
0 |
0 |
0 |
3,728 |
0 |
869 |
77 |
dash |
22 |
no-host |
configure.yash |
389,466 |
0 |
0 |
0 |
3,728 |
0 |
858 |
75 |
osh-cpython |
30 |
no-host |
configure.yash |
258,646 |
0 |
0 |
0 |
3,736 |
0 |
849 |
76 |
osh-native |
38 |
no-host |
configure.yash |
257,923 |
0 |
0 |
0 |
3,736 |
0 |
851 |
76 |
osh-native-souffle |
0 |
no-host |
hello-world |
150 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
84 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,947 |
0 |
0 |
0 |
8 |
0 |
7 |
7 |
osh-cpython |
24 |
no-host |
hello-world |
340 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host