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 |
464 |
22 |
21 |
24.76 |
1.18 |
bin-true |
no-host |
679 |
554 |
2,313 |
817 |
805 |
3.41 |
1.20 |
configure.cpython |
no-host |
14,910 |
14,942 |
28,691 |
15,126 |
15,229 |
1.92 |
1.01 |
configure.ocaml |
no-host |
3,776 |
3,712 |
4,613 |
3,799 |
3,799 |
1.22 |
1.01 |
configure.tcc |
no-host |
47 |
42 |
203 |
48 |
49 |
4.28 |
1.02 |
configure.util-linux |
no-host |
13,911 |
14,775 |
31,205 |
14,253 |
14,233 |
2.24 |
1.02 |
configure.yash |
no-host |
1,825 |
1,751 |
2,435 |
1,816 |
1,805 |
1.33 |
1.00 |
hello-world |
no-host |
2 |
1 |
56 |
3 |
3 |
37.18 |
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,563 |
1,108 |
23,834 |
3,153 |
3,071 |
9.30 |
1.23 |
bin-true |
no-host |
106,396 |
66,403 |
769,513 |
126,299 |
126,321 |
7.23 |
1.19 |
configure.cpython |
no-host |
2,219,906 |
2,238,568 |
6,245,996 |
2,225,907 |
2,210,518 |
2.81 |
1.00 |
configure.ocaml |
no-host |
410,779 |
390,876 |
647,736 |
412,472 |
412,105 |
1.58 |
1.00 |
configure.tcc |
no-host |
6,572 |
5,491 |
24,121 |
6,965 |
6,896 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,103,752 |
2,260,764 |
5,399,373 |
1,991,650 |
1,993,433 |
2.57 |
0.95 |
configure.yash |
no-host |
256,098 |
244,536 |
389,391 |
257,804 |
257,730 |
1.52 |
1.01 |
hello-world |
no-host |
152 |
81 |
3,939 |
347 |
337 |
25.91 |
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 |
817 |
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,126 |
1 |
60 |
14.9 |
27.1 |
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,253 |
3 |
59 |
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,799 |
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 |
48 |
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,816 |
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.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 |
5.8 |
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.9 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,229 |
1 |
59 |
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,233 |
2 |
58 |
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,799 |
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,805 |
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 |
19 |
18 |
1 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
8 |
1 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
464 |
433 |
34 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
13 |
10 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
18 |
3 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
679 |
509 |
200 |
2.9 |
bash |
9 |
no-host |
bin-true |
554 |
414 |
146 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,313 |
1,504 |
1,068 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
817 |
591 |
240 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
805 |
574 |
245 |
7.9 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,910 |
9,006 |
6,308 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
14,942 |
9,040 |
6,324 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,691 |
17,357 |
13,187 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,126 |
8,955 |
6,442 |
27.1 |
osh-native |
34 |
no-host |
configure.cpython |
15,229 |
9,077 |
6,246 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,776 |
1,616 |
1,199 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,712 |
1,618 |
1,114 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,613 |
2,194 |
1,626 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,799 |
1,589 |
1,250 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,799 |
1,570 |
1,265 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
30 |
18 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
19 |
23 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
203 |
153 |
52 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
40 |
9 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
31 |
18 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,911 |
8,705 |
5,680 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,775 |
9,083 |
6,184 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,205 |
20,687 |
11,599 |
30.0 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,253 |
8,666 |
5,780 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,233 |
8,551 |
5,882 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,825 |
1,069 |
757 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,751 |
997 |
758 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,435 |
1,454 |
1,022 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,816 |
1,075 |
745 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,805 |
1,014 |
795 |
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 |
56 |
40 |
16 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,563 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,108 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,834 |
0 |
0 |
0 |
8 |
0 |
45 |
15 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,153 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,071 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,396 |
0 |
0 |
0 |
8 |
0 |
1,997 |
153 |
bash |
9 |
no-host |
bin-true |
66,403 |
0 |
0 |
0 |
8 |
0 |
1,988 |
181 |
dash |
17 |
no-host |
bin-true |
769,513 |
0 |
0 |
0 |
8 |
0 |
1,998 |
212 |
osh-cpython |
25 |
no-host |
bin-true |
126,299 |
0 |
0 |
0 |
16 |
0 |
1,994 |
121 |
osh-native |
33 |
no-host |
bin-true |
126,321 |
0 |
0 |
0 |
16 |
0 |
1,994 |
44 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,219,906 |
0 |
0 |
0 |
32,928 |
0 |
14,497 |
1,114 |
bash |
10 |
no-host |
configure.cpython |
2,238,568 |
0 |
0 |
0 |
32,992 |
0 |
14,668 |
853 |
dash |
18 |
no-host |
configure.cpython |
6,245,996 |
1 |
0 |
0 |
27,512 |
0 |
13,320 |
1,150 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,225,907 |
2 |
0 |
0 |
27,520 |
0 |
13,281 |
1,219 |
osh-native |
34 |
no-host |
configure.cpython |
2,210,518 |
0 |
0 |
0 |
27,520 |
0 |
13,259 |
990 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,779 |
0 |
0 |
0 |
5,120 |
0 |
1,947 |
157 |
bash |
12 |
no-host |
configure.ocaml |
390,876 |
0 |
0 |
0 |
5,112 |
0 |
1,886 |
145 |
dash |
20 |
no-host |
configure.ocaml |
647,736 |
0 |
0 |
0 |
5,112 |
0 |
1,862 |
189 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,472 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
184 |
osh-native |
36 |
no-host |
configure.ocaml |
412,105 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
188 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,572 |
0 |
0 |
0 |
104 |
0 |
48 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,491 |
0 |
0 |
0 |
96 |
0 |
47 |
4 |
dash |
21 |
no-host |
configure.tcc |
24,121 |
0 |
0 |
0 |
96 |
0 |
53 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,965 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,896 |
0 |
0 |
0 |
104 |
0 |
47 |
13 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,103,752 |
1 |
0 |
0 |
42,400 |
0 |
18,695 |
1,018 |
bash |
11 |
no-host |
configure.util-linux |
2,260,764 |
0 |
0 |
0 |
42,592 |
0 |
17,472 |
974 |
dash |
19 |
no-host |
configure.util-linux |
5,399,373 |
12 |
0 |
0 |
39,112 |
0 |
16,970 |
1,078 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,991,650 |
0 |
0 |
0 |
39,120 |
0 |
17,000 |
921 |
osh-native |
35 |
no-host |
configure.util-linux |
1,993,433 |
0 |
0 |
0 |
39,128 |
0 |
16,990 |
884 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,098 |
0 |
0 |
0 |
4,120 |
0 |
884 |
64 |
bash |
14 |
no-host |
configure.yash |
244,536 |
0 |
0 |
0 |
3,720 |
0 |
866 |
67 |
dash |
22 |
no-host |
configure.yash |
389,391 |
0 |
0 |
0 |
3,728 |
0 |
856 |
87 |
osh-cpython |
30 |
no-host |
configure.yash |
257,804 |
0 |
0 |
0 |
3,736 |
0 |
850 |
73 |
osh-native |
38 |
no-host |
configure.yash |
257,730 |
0 |
0 |
0 |
3,736 |
0 |
847 |
82 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
81 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,939 |
0 |
0 |
0 |
8 |
0 |
7 |
6 |
osh-cpython |
24 |
no-host |
hello-world |
347 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host