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 |
20 |
10 |
479 |
22 |
21 |
24.37 |
1.13 |
bin-true |
no-host |
680 |
544 |
2,301 |
821 |
843 |
3.38 |
1.21 |
configure.cpython |
no-host |
15,452 |
15,305 |
29,224 |
15,631 |
15,536 |
1.89 |
1.01 |
configure.ocaml |
no-host |
3,829 |
3,773 |
4,804 |
3,852 |
3,910 |
1.25 |
1.01 |
configure.tcc |
no-host |
48 |
42 |
208 |
49 |
49 |
4.30 |
1.01 |
configure.util-linux |
no-host |
14,234 |
15,097 |
31,920 |
14,557 |
14,668 |
2.24 |
1.02 |
configure.yash |
no-host |
1,850 |
1,803 |
2,580 |
1,856 |
1,909 |
1.39 |
1.00 |
hello-world |
no-host |
2 |
1 |
58 |
3 |
3 |
35.94 |
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,538 |
1,137 |
23,667 |
3,211 |
3,066 |
9.33 |
1.27 |
bin-true |
no-host |
106,289 |
66,440 |
776,697 |
125,213 |
126,248 |
7.31 |
1.18 |
configure.cpython |
no-host |
2,227,637 |
2,240,369 |
6,211,717 |
2,220,400 |
2,206,763 |
2.79 |
1.00 |
configure.ocaml |
no-host |
411,340 |
390,791 |
647,538 |
412,826 |
413,104 |
1.57 |
1.00 |
configure.tcc |
no-host |
6,542 |
5,488 |
24,078 |
6,975 |
6,908 |
3.68 |
1.07 |
configure.util-linux |
no-host |
2,100,942 |
2,261,406 |
5,401,981 |
1,993,993 |
1,987,764 |
2.57 |
0.95 |
configure.yash |
no-host |
256,709 |
245,074 |
389,503 |
257,738 |
257,288 |
1.52 |
1.00 |
hello-world |
no-host |
150 |
84 |
3,953 |
344 |
337 |
26.35 |
2.29 |
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 |
821 |
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,631 |
1 |
65 |
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,557 |
3 |
62 |
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,852 |
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,856 |
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 |
843 |
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,536 |
1 |
62 |
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,668 |
3 |
61 |
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,910 |
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 |
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,909 |
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.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 |
20 |
14 |
6 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
479 |
422 |
59 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
20 |
3 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
16 |
6 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
680 |
513 |
198 |
3.0 |
bash |
9 |
no-host |
bin-true |
544 |
416 |
136 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,301 |
1,494 |
1,068 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
821 |
582 |
255 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
843 |
589 |
271 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,452 |
9,335 |
6,516 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
15,305 |
9,155 |
6,559 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,224 |
17,936 |
13,183 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,631 |
9,125 |
6,775 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,536 |
9,050 |
6,583 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,829 |
1,620 |
1,245 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,773 |
1,628 |
1,162 |
20.4 |
dash |
20 |
no-host |
configure.ocaml |
4,804 |
2,376 |
1,645 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,852 |
1,602 |
1,288 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,910 |
1,680 |
1,265 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
23 |
26 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
32 |
10 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
208 |
154 |
57 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
24 |
26 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
32 |
17 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,234 |
8,900 |
5,796 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,097 |
9,067 |
6,512 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,920 |
21,144 |
11,894 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,557 |
8,795 |
5,966 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,668 |
8,739 |
6,119 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,850 |
1,032 |
825 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,803 |
1,094 |
713 |
24.5 |
dash |
22 |
no-host |
configure.yash |
2,580 |
1,535 |
1,084 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,856 |
1,066 |
794 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,909 |
1,107 |
806 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
58 |
41 |
16 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
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,538 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,137 |
0 |
0 |
0 |
8 |
0 |
37 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,667 |
0 |
0 |
0 |
8 |
0 |
45 |
14 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,211 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,066 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,289 |
0 |
0 |
0 |
8 |
0 |
1,996 |
62 |
bash |
9 |
no-host |
bin-true |
66,440 |
0 |
0 |
0 |
8 |
0 |
1,991 |
52 |
dash |
17 |
no-host |
bin-true |
776,697 |
0 |
0 |
0 |
8 |
0 |
1,999 |
285 |
osh-cpython |
25 |
no-host |
bin-true |
125,213 |
0 |
0 |
0 |
16 |
0 |
1,984 |
113 |
osh-native |
33 |
no-host |
bin-true |
126,248 |
0 |
0 |
0 |
16 |
0 |
1,988 |
91 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,227,637 |
0 |
0 |
0 |
32,928 |
0 |
14,510 |
1,078 |
bash |
10 |
no-host |
configure.cpython |
2,240,369 |
0 |
0 |
0 |
32,992 |
0 |
14,653 |
982 |
dash |
18 |
no-host |
configure.cpython |
6,211,717 |
0 |
0 |
0 |
27,512 |
0 |
13,186 |
1,142 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,220,400 |
0 |
0 |
0 |
27,520 |
0 |
13,210 |
882 |
osh-native |
34 |
no-host |
configure.cpython |
2,206,763 |
0 |
0 |
0 |
27,520 |
0 |
13,227 |
983 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
411,340 |
0 |
0 |
0 |
5,120 |
0 |
1,958 |
156 |
bash |
12 |
no-host |
configure.ocaml |
390,791 |
0 |
0 |
0 |
5,112 |
0 |
1,923 |
142 |
dash |
20 |
no-host |
configure.ocaml |
647,538 |
0 |
0 |
0 |
5,112 |
0 |
1,854 |
170 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,826 |
0 |
0 |
0 |
5,120 |
0 |
1,920 |
152 |
osh-native |
36 |
no-host |
configure.ocaml |
413,104 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
153 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,542 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,488 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
21 |
no-host |
configure.tcc |
24,078 |
0 |
0 |
0 |
96 |
0 |
53 |
7 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,975 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,908 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,100,942 |
1 |
0 |
0 |
42,408 |
0 |
18,570 |
980 |
bash |
11 |
no-host |
configure.util-linux |
2,261,406 |
0 |
0 |
0 |
42,592 |
0 |
17,456 |
1,179 |
dash |
19 |
no-host |
configure.util-linux |
5,401,981 |
15 |
0 |
0 |
39,112 |
0 |
16,973 |
1,335 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,993,993 |
0 |
0 |
0 |
39,128 |
0 |
17,007 |
979 |
osh-native |
35 |
no-host |
configure.util-linux |
1,987,764 |
0 |
0 |
0 |
39,136 |
0 |
16,964 |
917 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,709 |
0 |
0 |
0 |
4,120 |
0 |
870 |
77 |
bash |
14 |
no-host |
configure.yash |
245,074 |
0 |
0 |
0 |
3,720 |
0 |
869 |
81 |
dash |
22 |
no-host |
configure.yash |
389,503 |
0 |
0 |
0 |
3,728 |
0 |
853 |
100 |
osh-cpython |
30 |
no-host |
configure.yash |
257,738 |
0 |
0 |
0 |
3,736 |
0 |
850 |
87 |
osh-native |
38 |
no-host |
configure.yash |
257,288 |
0 |
0 |
0 |
3,736 |
0 |
846 |
97 |
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,953 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host