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 |
465 |
22 |
22 |
24.46 |
1.14 |
bin-true |
no-host |
672 |
546 |
2,271 |
806 |
807 |
3.38 |
1.20 |
configure.cpython |
no-host |
15,154 |
15,038 |
28,609 |
15,153 |
15,310 |
1.89 |
1.00 |
configure.ocaml |
no-host |
3,853 |
3,730 |
4,667 |
3,859 |
3,802 |
1.21 |
1.00 |
configure.tcc |
no-host |
49 |
41 |
204 |
49 |
48 |
4.19 |
1.01 |
configure.util-linux |
no-host |
14,189 |
14,870 |
31,302 |
14,345 |
14,238 |
2.21 |
1.01 |
configure.yash |
no-host |
1,822 |
1,774 |
2,459 |
1,819 |
1,814 |
1.35 |
1.00 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
38.03 |
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,565 |
1,087 |
23,668 |
3,180 |
3,096 |
9.23 |
1.24 |
bin-true |
no-host |
107,339 |
66,405 |
766,810 |
126,125 |
125,240 |
7.14 |
1.18 |
configure.cpython |
no-host |
2,228,699 |
2,242,240 |
6,215,714 |
2,222,901 |
2,214,750 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,385 |
390,949 |
645,836 |
413,159 |
412,707 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,559 |
5,476 |
24,051 |
6,925 |
6,886 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,109,569 |
2,256,296 |
5,372,522 |
1,996,020 |
1,991,626 |
2.55 |
0.95 |
configure.yash |
no-host |
255,476 |
245,171 |
388,891 |
258,560 |
257,004 |
1.52 |
1.01 |
hello-world |
no-host |
151 |
82 |
3,945 |
344 |
336 |
26.13 |
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 |
806 |
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,153 |
2 |
60 |
14.9 |
27.5 |
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,345 |
3 |
60 |
21.2 |
30.4 |
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,859 |
1 |
2 |
2.6 |
20.4 |
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,819 |
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 |
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 |
807 |
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,310 |
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,238 |
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,802 |
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,814 |
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 |
22 |
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 |
9 |
11 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
8 |
1 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
465 |
434 |
34 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
19 |
4 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
13 |
8 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
672 |
508 |
196 |
2.9 |
bash |
9 |
no-host |
bin-true |
546 |
407 |
146 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,271 |
1,445 |
1,079 |
18.1 |
osh-cpython |
25 |
no-host |
bin-true |
806 |
574 |
247 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
807 |
558 |
262 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,154 |
9,115 |
6,425 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
15,038 |
9,089 |
6,367 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,609 |
17,708 |
12,733 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,153 |
9,021 |
6,395 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,310 |
8,917 |
6,524 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,853 |
1,743 |
1,137 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,730 |
1,520 |
1,228 |
20.4 |
dash |
20 |
no-host |
configure.ocaml |
4,667 |
2,297 |
1,577 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,859 |
1,563 |
1,317 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,802 |
1,640 |
1,199 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
31 |
18 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
17 |
25 |
19.1 |
dash |
21 |
no-host |
configure.tcc |
204 |
148 |
59 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
29 |
20 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
30 |
18 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,189 |
8,948 |
5,720 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,870 |
9,108 |
6,244 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,302 |
20,957 |
11,425 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,345 |
8,648 |
5,897 |
30.4 |
osh-native |
35 |
no-host |
configure.util-linux |
14,238 |
8,631 |
5,796 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,822 |
1,060 |
771 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,774 |
1,000 |
777 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,459 |
1,516 |
984 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,819 |
1,046 |
777 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,814 |
1,000 |
817 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
40 |
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.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,565 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,087 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,668 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,180 |
0 |
0 |
0 |
16 |
0 |
38 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,096 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,339 |
0 |
0 |
0 |
8 |
0 |
1,993 |
98 |
bash |
9 |
no-host |
bin-true |
66,405 |
0 |
0 |
0 |
8 |
0 |
1,992 |
121 |
dash |
17 |
no-host |
bin-true |
766,810 |
0 |
0 |
0 |
8 |
0 |
1,993 |
142 |
osh-cpython |
25 |
no-host |
bin-true |
126,125 |
0 |
0 |
0 |
16 |
0 |
1,992 |
68 |
osh-native |
33 |
no-host |
bin-true |
125,240 |
0 |
0 |
0 |
16 |
0 |
1,988 |
61 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,228,699 |
0 |
0 |
0 |
32,928 |
0 |
14,500 |
973 |
bash |
10 |
no-host |
configure.cpython |
2,242,240 |
0 |
0 |
0 |
32,992 |
0 |
14,674 |
966 |
dash |
18 |
no-host |
configure.cpython |
6,215,714 |
0 |
0 |
0 |
27,512 |
0 |
13,210 |
1,094 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,222,901 |
0 |
0 |
0 |
27,520 |
0 |
13,277 |
915 |
osh-native |
34 |
no-host |
configure.cpython |
2,214,750 |
0 |
0 |
0 |
27,520 |
0 |
13,218 |
970 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,385 |
0 |
0 |
0 |
5,120 |
0 |
1,962 |
174 |
bash |
12 |
no-host |
configure.ocaml |
390,949 |
0 |
0 |
0 |
5,112 |
0 |
1,878 |
150 |
dash |
20 |
no-host |
configure.ocaml |
645,836 |
0 |
0 |
0 |
5,112 |
0 |
1,853 |
178 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,159 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
296 |
osh-native |
36 |
no-host |
configure.ocaml |
412,707 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
155 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,559 |
0 |
0 |
0 |
104 |
0 |
49 |
7 |
bash |
13 |
no-host |
configure.tcc |
5,476 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,051 |
0 |
0 |
0 |
96 |
0 |
53 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,925 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,886 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,109,569 |
0 |
0 |
0 |
42,400 |
0 |
18,621 |
962 |
bash |
11 |
no-host |
configure.util-linux |
2,256,296 |
2 |
0 |
0 |
42,584 |
0 |
17,401 |
1,165 |
dash |
19 |
no-host |
configure.util-linux |
5,372,522 |
8 |
0 |
0 |
39,120 |
0 |
17,080 |
1,349 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,996,020 |
0 |
0 |
0 |
39,120 |
0 |
17,058 |
924 |
osh-native |
35 |
no-host |
configure.util-linux |
1,991,626 |
4 |
0 |
0 |
39,128 |
0 |
17,018 |
987 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,476 |
0 |
0 |
0 |
4,120 |
0 |
869 |
93 |
bash |
14 |
no-host |
configure.yash |
245,171 |
0 |
0 |
0 |
3,720 |
0 |
868 |
104 |
dash |
22 |
no-host |
configure.yash |
388,891 |
0 |
0 |
0 |
3,728 |
0 |
848 |
87 |
osh-cpython |
30 |
no-host |
configure.yash |
258,560 |
0 |
0 |
0 |
3,736 |
0 |
852 |
66 |
osh-native |
38 |
no-host |
configure.yash |
257,004 |
0 |
0 |
0 |
3,736 |
0 |
846 |
92 |
osh-native-souffle |
0 |
no-host |
hello-world |
151 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
82 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,945 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
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