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 |
18 |
9 |
475 |
22 |
20 |
25.73 |
1.17 |
bin-true |
no-host |
652 |
522 |
2,286 |
793 |
793 |
3.51 |
1.22 |
configure.cpython |
no-host |
14,665 |
14,687 |
28,491 |
14,860 |
14,989 |
1.94 |
1.01 |
configure.ocaml |
no-host |
3,758 |
3,689 |
4,606 |
3,767 |
3,815 |
1.23 |
1.00 |
configure.tcc |
no-host |
46 |
40 |
202 |
47 |
47 |
4.37 |
1.03 |
configure.util-linux |
no-host |
13,634 |
14,424 |
31,205 |
14,034 |
13,979 |
2.29 |
1.03 |
configure.yash |
no-host |
1,789 |
1,740 |
2,442 |
1,800 |
1,824 |
1.36 |
1.01 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
43.84 |
2.18 |
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,533 |
1,090 |
23,915 |
3,167 |
3,098 |
9.44 |
1.25 |
bin-true |
no-host |
107,290 |
65,430 |
780,052 |
127,139 |
127,228 |
7.27 |
1.19 |
configure.cpython |
no-host |
1,994,901 |
2,022,214 |
6,054,723 |
2,002,966 |
1,987,831 |
3.04 |
1.00 |
configure.ocaml |
no-host |
373,677 |
354,084 |
611,066 |
375,846 |
375,643 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,077 |
5,021 |
23,763 |
6,497 |
6,475 |
3.91 |
1.07 |
configure.util-linux |
no-host |
1,904,736 |
2,068,453 |
5,245,186 |
1,809,962 |
1,797,642 |
2.75 |
0.95 |
configure.yash |
no-host |
233,252 |
222,152 |
366,153 |
234,506 |
235,310 |
1.57 |
1.01 |
hello-world |
no-host |
148 |
78 |
3,998 |
342 |
338 |
27.01 |
2.31 |
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,789 |
3,789 |
0 |
695 |
1,861 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
793 |
1 |
2 |
2.6 |
8.1 |
153,753 |
12,329 |
2,894 |
8,744 |
76,325 |
68,684 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,860 |
1 |
64 |
14.9 |
28.9 |
1,767,675 |
49,060 |
28,519 |
85,428 |
875,384 |
806,863 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,034 |
3 |
63 |
21.2 |
30.3 |
2,698,991 |
29,940 |
65,718 |
108,700 |
1,288,281 |
1,302,010 |
32,241 |
41 |
131,436 |
1 |
configure.ocaml |
no-host |
3,767 |
1 |
2 |
2.6 |
22.6 |
149,553 |
11,119 |
5,214 |
7,509 |
70,616 |
71,428 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.6 |
30,539 |
30,539 |
0 |
1,519 |
14,608 |
14,412 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,800 |
1 |
2 |
2.5 |
26.3 |
139,269 |
8,031 |
6,693 |
5,990 |
67,845 |
65,434 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,299 |
64,410 |
42,620 |
4,533 |
54,439 |
57,327 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,788 |
3,788 |
0 |
696 |
1,861 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
793 |
1 |
2 |
2.6 |
7.9 |
153,752 |
12,118 |
2,832 |
8,745 |
76,325 |
68,682 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,989 |
1 |
67 |
14.9 |
29.2 |
1,767,674 |
37,983 |
24,932 |
85,429 |
875,384 |
806,861 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,979 |
3 |
63 |
21.2 |
30.2 |
2,698,991 |
29,878 |
65,656 |
108,702 |
1,288,281 |
1,302,008 |
32,241 |
41 |
131,312 |
1 |
configure.ocaml |
no-host |
3,815 |
1 |
2 |
2.6 |
22.6 |
149,553 |
11,057 |
5,152 |
7,511 |
70,616 |
71,426 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.7 |
30,539 |
30,539 |
0 |
1,521 |
14,608 |
14,410 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,824 |
1 |
2 |
2.5 |
26.4 |
139,269 |
7,969 |
6,631 |
5,992 |
67,845 |
65,432 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
1 |
2 |
2.8 |
8.8 |
116,298 |
64,348 |
42,558 |
4,534 |
54,439 |
57,325 |
277 |
3 |
85,116 |
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 |
18 |
13 |
6 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
5 |
4 |
3.3 |
dash |
23 |
no-host |
abuild-print-help |
475 |
424 |
54 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
11 |
11 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
11 |
10 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
652 |
312 |
373 |
2.8 |
bash |
9 |
no-host |
bin-true |
522 |
275 |
258 |
1.3 |
dash |
17 |
no-host |
bin-true |
2,286 |
757 |
1,789 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
793 |
291 |
519 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
793 |
296 |
511 |
7.9 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,665 |
6,597 |
8,472 |
29.1 |
bash |
10 |
no-host |
configure.cpython |
14,687 |
6,619 |
8,504 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
28,491 |
14,266 |
16,128 |
29.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,860 |
6,603 |
8,538 |
28.9 |
osh-native |
34 |
no-host |
configure.cpython |
14,989 |
6,639 |
8,629 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,758 |
1,307 |
1,484 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,689 |
1,291 |
1,420 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,606 |
1,893 |
1,930 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,767 |
1,300 |
1,507 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,815 |
1,326 |
1,528 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
18 |
29 |
19.6 |
bash |
13 |
no-host |
configure.tcc |
40 |
23 |
18 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
202 |
143 |
62 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
23 |
25 |
19.6 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
16 |
32 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,634 |
5,791 |
8,333 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,424 |
5,852 |
9,083 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
31,205 |
17,640 |
14,664 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,034 |
5,674 |
8,581 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
13,979 |
5,605 |
8,590 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,789 |
918 |
879 |
26.1 |
bash |
14 |
no-host |
configure.yash |
1,740 |
863 |
881 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,442 |
1,345 |
1,140 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,800 |
897 |
908 |
26.3 |
osh-native |
38 |
no-host |
configure.yash |
1,824 |
908 |
922 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
57 |
43 |
14 |
18.1 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
2 |
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,533 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,090 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,915 |
0 |
0 |
0 |
8 |
0 |
45 |
8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,167 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,098 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,290 |
0 |
0 |
0 |
8 |
0 |
1,972 |
112 |
bash |
9 |
no-host |
bin-true |
65,430 |
0 |
0 |
0 |
8 |
0 |
1,968 |
76 |
dash |
17 |
no-host |
bin-true |
780,052 |
0 |
0 |
0 |
8 |
0 |
1,984 |
313 |
osh-cpython |
25 |
no-host |
bin-true |
127,139 |
0 |
0 |
0 |
16 |
0 |
1,983 |
153 |
osh-native |
33 |
no-host |
bin-true |
127,228 |
0 |
0 |
0 |
16 |
0 |
1,963 |
99 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,994,901 |
0 |
0 |
0 |
32,928 |
0 |
14,194 |
1,321 |
bash |
10 |
no-host |
configure.cpython |
2,022,214 |
0 |
0 |
0 |
32,992 |
0 |
14,339 |
1,189 |
dash |
18 |
no-host |
configure.cpython |
6,054,723 |
0 |
0 |
0 |
27,512 |
0 |
13,029 |
1,158 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,002,966 |
0 |
0 |
0 |
27,520 |
0 |
13,060 |
1,121 |
osh-native |
34 |
no-host |
configure.cpython |
1,987,831 |
0 |
0 |
0 |
27,520 |
0 |
13,027 |
1,055 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,677 |
0 |
0 |
0 |
5,120 |
0 |
1,952 |
187 |
bash |
12 |
no-host |
configure.ocaml |
354,084 |
0 |
0 |
0 |
5,112 |
0 |
1,938 |
172 |
dash |
20 |
no-host |
configure.ocaml |
611,066 |
0 |
0 |
0 |
5,112 |
0 |
1,852 |
182 |
osh-cpython |
28 |
no-host |
configure.ocaml |
375,846 |
0 |
0 |
0 |
5,120 |
0 |
1,916 |
190 |
osh-native |
36 |
no-host |
configure.ocaml |
375,643 |
0 |
0 |
0 |
5,120 |
0 |
1,919 |
205 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,077 |
0 |
0 |
0 |
104 |
0 |
48 |
4 |
bash |
13 |
no-host |
configure.tcc |
5,021 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
23,763 |
0 |
0 |
0 |
96 |
0 |
53 |
4 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,497 |
0 |
0 |
0 |
104 |
0 |
46 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,475 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,904,736 |
0 |
0 |
0 |
42,400 |
0 |
18,376 |
1,298 |
bash |
11 |
no-host |
configure.util-linux |
2,068,453 |
1 |
0 |
0 |
42,584 |
0 |
17,286 |
1,485 |
dash |
19 |
no-host |
configure.util-linux |
5,245,186 |
12 |
0 |
0 |
39,112 |
0 |
17,000 |
1,272 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,809,962 |
0 |
0 |
0 |
39,120 |
0 |
16,997 |
1,274 |
osh-native |
35 |
no-host |
configure.util-linux |
1,797,642 |
0 |
0 |
0 |
39,128 |
0 |
16,972 |
1,168 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,252 |
0 |
0 |
0 |
4,120 |
0 |
871 |
86 |
bash |
14 |
no-host |
configure.yash |
222,152 |
0 |
0 |
0 |
3,720 |
0 |
872 |
92 |
dash |
22 |
no-host |
configure.yash |
366,153 |
0 |
0 |
0 |
3,728 |
0 |
852 |
87 |
osh-cpython |
30 |
no-host |
configure.yash |
234,506 |
0 |
0 |
0 |
3,736 |
0 |
849 |
107 |
osh-native |
38 |
no-host |
configure.yash |
235,310 |
0 |
0 |
0 |
3,736 |
0 |
850 |
89 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
78 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,998 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host