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 |
468 |
23 |
21 |
24.48 |
1.19 |
bin-true |
no-host |
682 |
543 |
2,321 |
809 |
823 |
3.41 |
1.19 |
configure.cpython |
no-host |
15,087 |
15,086 |
29,295 |
15,889 |
15,917 |
1.94 |
1.05 |
configure.ocaml |
no-host |
3,813 |
3,777 |
4,660 |
3,971 |
3,831 |
1.22 |
1.04 |
configure.tcc |
no-host |
48 |
42 |
202 |
50 |
49 |
4.18 |
1.04 |
configure.util-linux |
no-host |
14,028 |
14,946 |
32,526 |
15,057 |
14,405 |
2.32 |
1.07 |
configure.yash |
no-host |
1,832 |
1,805 |
2,490 |
1,905 |
1,815 |
1.36 |
1.04 |
hello-world |
no-host |
2 |
1 |
57 |
3 |
3 |
37.41 |
1.84 |
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,843 |
3,195 |
3,117 |
9.33 |
1.25 |
bin-true |
no-host |
107,408 |
65,385 |
769,471 |
125,219 |
127,252 |
7.16 |
1.17 |
configure.cpython |
no-host |
2,227,586 |
2,236,937 |
6,242,177 |
2,226,657 |
2,206,654 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,189 |
390,706 |
647,428 |
413,195 |
412,607 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,574 |
5,497 |
24,119 |
6,964 |
6,925 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,102,530 |
2,268,200 |
5,385,758 |
1,997,646 |
1,990,364 |
2.56 |
0.95 |
configure.yash |
no-host |
255,467 |
243,647 |
389,370 |
258,731 |
257,742 |
1.52 |
1.01 |
hello-world |
no-host |
150 |
84 |
3,940 |
342 |
339 |
26.27 |
2.28 |
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 |
809 |
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,889 |
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 |
15,057 |
3 |
67 |
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,971 |
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,905 |
1 |
2 |
2.5 |
24.5 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
9.2 |
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 |
6.0 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
823 |
1 |
2 |
2.6 |
7.5 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,917 |
1 |
65 |
14.9 |
27.3 |
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,405 |
3 |
62 |
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,831 |
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,815 |
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 |
17 |
3 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
468 |
406 |
66 |
22.8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
10 |
13 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
15 |
6 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
682 |
513 |
199 |
2.9 |
bash |
9 |
no-host |
bin-true |
543 |
428 |
126 |
1.3 |
dash |
17 |
no-host |
bin-true |
2,321 |
1,521 |
1,061 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
809 |
581 |
241 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
823 |
593 |
247 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,087 |
9,104 |
6,387 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,086 |
9,017 |
6,492 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
29,295 |
17,736 |
13,463 |
27.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,889 |
9,308 |
6,853 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,917 |
9,247 |
6,809 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,813 |
1,551 |
1,303 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,777 |
1,540 |
1,255 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,660 |
2,367 |
1,500 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,971 |
1,718 |
1,293 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,831 |
1,569 |
1,299 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
24 |
25 |
19.1 |
bash |
13 |
no-host |
configure.tcc |
42 |
22 |
20 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
202 |
154 |
52 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
33 |
18 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
14 |
35 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,028 |
8,893 |
5,610 |
30.4 |
bash |
11 |
no-host |
configure.util-linux |
14,946 |
9,047 |
6,396 |
30.4 |
dash |
19 |
no-host |
configure.util-linux |
32,526 |
21,349 |
12,314 |
30.0 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,057 |
9,120 |
6,131 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,405 |
8,634 |
5,960 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,832 |
1,072 |
768 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,805 |
1,067 |
741 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,490 |
1,541 |
993 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,905 |
1,081 |
827 |
24.5 |
osh-native |
38 |
no-host |
configure.yash |
1,815 |
994 |
825 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
57 |
37 |
20 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
6.0 |
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 |
4 |
bash |
15 |
no-host |
abuild-print-help |
1,135 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,843 |
0 |
0 |
0 |
8 |
0 |
45 |
13 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,195 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,117 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,408 |
0 |
0 |
0 |
8 |
0 |
1,982 |
48 |
bash |
9 |
no-host |
bin-true |
65,385 |
0 |
0 |
0 |
8 |
0 |
1,989 |
36 |
dash |
17 |
no-host |
bin-true |
769,471 |
0 |
0 |
0 |
8 |
0 |
1,998 |
373 |
osh-cpython |
25 |
no-host |
bin-true |
125,219 |
0 |
0 |
0 |
16 |
0 |
1,983 |
103 |
osh-native |
33 |
no-host |
bin-true |
127,252 |
0 |
0 |
0 |
16 |
0 |
1,988 |
46 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,227,586 |
0 |
0 |
0 |
32,928 |
0 |
14,505 |
1,152 |
bash |
10 |
no-host |
configure.cpython |
2,236,937 |
1 |
0 |
0 |
32,992 |
0 |
14,615 |
960 |
dash |
18 |
no-host |
configure.cpython |
6,242,177 |
0 |
0 |
0 |
27,512 |
0 |
13,283 |
1,107 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,226,657 |
0 |
0 |
0 |
27,520 |
0 |
13,237 |
995 |
osh-native |
34 |
no-host |
configure.cpython |
2,206,654 |
0 |
0 |
0 |
27,520 |
0 |
13,270 |
880 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,189 |
0 |
0 |
0 |
5,120 |
0 |
1,944 |
159 |
bash |
12 |
no-host |
configure.ocaml |
390,706 |
0 |
0 |
0 |
5,112 |
0 |
1,879 |
158 |
dash |
20 |
no-host |
configure.ocaml |
647,428 |
1 |
0 |
0 |
5,112 |
0 |
1,860 |
208 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,195 |
0 |
0 |
0 |
5,120 |
0 |
1,920 |
150 |
osh-native |
36 |
no-host |
configure.ocaml |
412,607 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
154 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,574 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,497 |
0 |
0 |
0 |
96 |
0 |
46 |
0 |
dash |
21 |
no-host |
configure.tcc |
24,119 |
0 |
0 |
0 |
96 |
0 |
53 |
17 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,964 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,925 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,102,530 |
0 |
0 |
0 |
42,400 |
0 |
18,561 |
1,077 |
bash |
11 |
no-host |
configure.util-linux |
2,268,200 |
0 |
0 |
0 |
42,584 |
0 |
17,454 |
1,088 |
dash |
19 |
no-host |
configure.util-linux |
5,385,758 |
8 |
0 |
0 |
39,112 |
0 |
16,927 |
1,141 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,997,646 |
0 |
0 |
0 |
39,120 |
0 |
16,997 |
950 |
osh-native |
35 |
no-host |
configure.util-linux |
1,990,364 |
1 |
0 |
0 |
39,136 |
0 |
16,949 |
1,002 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,467 |
0 |
0 |
0 |
4,120 |
0 |
870 |
86 |
bash |
14 |
no-host |
configure.yash |
243,647 |
0 |
0 |
0 |
3,720 |
0 |
870 |
90 |
dash |
22 |
no-host |
configure.yash |
389,370 |
0 |
0 |
0 |
3,728 |
0 |
849 |
76 |
osh-cpython |
30 |
no-host |
configure.yash |
258,731 |
0 |
0 |
0 |
3,736 |
0 |
847 |
85 |
osh-native |
38 |
no-host |
configure.yash |
257,742 |
0 |
0 |
0 |
3,736 |
0 |
850 |
78 |
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,940 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
0 |
0 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host