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 |
484 |
24 |
22 |
23.79 |
1.16 |
bin-true |
no-host |
691 |
565 |
2,368 |
832 |
858 |
3.43 |
1.20 |
configure.cpython |
no-host |
15,778 |
15,864 |
30,072 |
15,976 |
16,168 |
1.91 |
1.01 |
configure.ocaml |
no-host |
3,975 |
3,890 |
4,809 |
3,902 |
3,930 |
1.21 |
0.98 |
configure.tcc |
no-host |
49 |
42 |
208 |
50 |
49 |
4.23 |
1.03 |
configure.util-linux |
no-host |
14,637 |
15,558 |
32,954 |
14,991 |
14,756 |
2.25 |
1.02 |
configure.yash |
no-host |
1,899 |
1,846 |
2,568 |
1,972 |
1,932 |
1.35 |
1.04 |
hello-world |
no-host |
2 |
1 |
58 |
3 |
3 |
37.43 |
2.01 |
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,549 |
1,137 |
23,426 |
3,147 |
3,111 |
9.19 |
1.23 |
bin-true |
no-host |
104,399 |
67,400 |
757,932 |
128,179 |
126,090 |
7.26 |
1.23 |
configure.cpython |
no-host |
2,221,755 |
2,238,736 |
6,196,434 |
2,223,417 |
2,208,279 |
2.79 |
1.00 |
configure.ocaml |
no-host |
409,853 |
391,087 |
644,491 |
412,703 |
412,224 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,559 |
5,473 |
23,878 |
6,940 |
6,925 |
3.64 |
1.06 |
configure.util-linux |
no-host |
2,102,409 |
2,262,620 |
5,359,079 |
2,005,040 |
1,993,793 |
2.55 |
0.95 |
configure.yash |
no-host |
256,255 |
244,525 |
386,956 |
257,098 |
257,993 |
1.51 |
1.00 |
hello-world |
no-host |
152 |
80 |
3,957 |
345 |
335 |
26.03 |
2.27 |
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,793 |
3,793 |
0 |
694 |
1,865 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
832 |
1 |
2 |
2.6 |
7.9 |
153,757 |
12,333 |
2,898 |
8,743 |
76,329 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,976 |
2 |
73 |
14.9 |
27.4 |
1,771,804 |
49,616 |
28,523 |
85,427 |
878,138 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,991 |
3 |
71 |
21.2 |
30.3 |
2,702,550 |
53,777 |
65,702 |
108,699 |
1,290,655 |
1,303,196 |
32,241 |
41 |
131,404 |
1 |
configure.ocaml |
no-host |
3,902 |
1 |
2 |
2.6 |
20.6 |
150,091 |
11,123 |
5,218 |
7,508 |
70,976 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.3 |
30,597 |
30,597 |
0 |
1,518 |
14,648 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,972 |
1 |
2 |
2.5 |
24.4 |
139,423 |
8,035 |
6,697 |
5,989 |
67,949 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
24 |
1 |
2 |
2.8 |
9.0 |
116,303 |
64,414 |
42,624 |
4,532 |
54,443 |
57,328 |
277 |
3 |
85,248 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.8 |
3,792 |
3,792 |
0 |
695 |
1,865 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
858 |
1 |
2 |
2.6 |
7.6 |
153,756 |
12,122 |
2,836 |
8,744 |
76,329 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
16,168 |
2 |
72 |
14.9 |
27.5 |
1,771,803 |
49,074 |
28,461 |
85,428 |
878,138 |
808,237 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,756 |
3 |
66 |
21.2 |
30.3 |
2,702,550 |
53,704 |
65,640 |
108,701 |
1,290,655 |
1,303,194 |
32,241 |
41 |
131,280 |
1 |
configure.ocaml |
no-host |
3,930 |
1 |
2 |
2.6 |
20.6 |
150,091 |
11,061 |
5,156 |
7,510 |
70,976 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.3 |
30,597 |
30,597 |
0 |
1,520 |
14,648 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,932 |
1 |
2 |
2.5 |
24.4 |
139,423 |
7,973 |
6,635 |
5,991 |
67,949 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.7 |
116,302 |
64,352 |
42,562 |
4,533 |
54,443 |
57,326 |
277 |
3 |
85,124 |
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 |
18 |
3 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
7 |
3 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
484 |
437 |
51 |
22.5 |
osh-cpython |
31 |
no-host |
abuild-print-help |
24 |
20 |
4 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
14 |
8 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
691 |
515 |
210 |
2.9 |
bash |
9 |
no-host |
bin-true |
565 |
431 |
145 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,368 |
1,576 |
1,063 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
832 |
582 |
265 |
7.9 |
osh-native |
33 |
no-host |
bin-true |
858 |
595 |
277 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,778 |
9,537 |
6,658 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
15,864 |
9,394 |
6,918 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
30,072 |
18,140 |
13,882 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,976 |
9,500 |
6,698 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
16,168 |
9,314 |
7,002 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,975 |
1,734 |
1,276 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,890 |
1,619 |
1,292 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,809 |
2,296 |
1,739 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,902 |
1,619 |
1,326 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,930 |
1,615 |
1,354 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
19 |
31 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
25 |
17 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
208 |
153 |
58 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
43 |
8 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
31 |
19 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,637 |
9,071 |
6,083 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,558 |
9,521 |
6,563 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,954 |
22,296 |
11,807 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,991 |
8,921 |
6,270 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,756 |
8,751 |
6,213 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,899 |
1,069 |
839 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,846 |
1,040 |
810 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,568 |
1,668 |
946 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,972 |
1,144 |
832 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,932 |
1,123 |
813 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
58 |
41 |
17 |
18.3 |
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,549 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,137 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,426 |
0 |
0 |
0 |
8 |
0 |
44 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,147 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,111 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,399 |
0 |
0 |
0 |
8 |
0 |
1,998 |
121 |
bash |
9 |
no-host |
bin-true |
67,400 |
0 |
0 |
0 |
8 |
0 |
1,992 |
45 |
dash |
17 |
no-host |
bin-true |
757,932 |
0 |
0 |
0 |
8 |
0 |
1,997 |
146 |
osh-cpython |
25 |
no-host |
bin-true |
128,179 |
0 |
0 |
0 |
16 |
0 |
1,996 |
193 |
osh-native |
33 |
no-host |
bin-true |
126,090 |
0 |
0 |
0 |
16 |
0 |
1,985 |
80 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,221,755 |
2 |
0 |
0 |
32,928 |
0 |
14,511 |
956 |
bash |
10 |
no-host |
configure.cpython |
2,238,736 |
0 |
0 |
0 |
32,992 |
0 |
14,614 |
1,060 |
dash |
18 |
no-host |
configure.cpython |
6,196,434 |
0 |
0 |
0 |
27,512 |
0 |
13,232 |
1,178 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,223,417 |
0 |
0 |
0 |
27,520 |
0 |
13,320 |
1,057 |
osh-native |
34 |
no-host |
configure.cpython |
2,208,279 |
0 |
0 |
0 |
27,520 |
0 |
13,279 |
969 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
409,853 |
0 |
0 |
0 |
5,120 |
0 |
1,953 |
148 |
bash |
12 |
no-host |
configure.ocaml |
391,087 |
0 |
0 |
0 |
5,112 |
0 |
1,906 |
140 |
dash |
20 |
no-host |
configure.ocaml |
644,491 |
0 |
0 |
0 |
5,112 |
0 |
1,873 |
169 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,703 |
0 |
0 |
0 |
5,120 |
0 |
1,936 |
171 |
osh-native |
36 |
no-host |
configure.ocaml |
412,224 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
242 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,559 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,473 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
21 |
no-host |
configure.tcc |
23,878 |
0 |
0 |
0 |
96 |
0 |
53 |
12 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,940 |
0 |
0 |
0 |
104 |
0 |
48 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,925 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,102,409 |
0 |
0 |
0 |
42,400 |
0 |
18,717 |
913 |
bash |
11 |
no-host |
configure.util-linux |
2,262,620 |
1 |
0 |
0 |
42,584 |
0 |
17,429 |
1,001 |
dash |
19 |
no-host |
configure.util-linux |
5,359,079 |
5 |
0 |
0 |
39,120 |
0 |
16,964 |
1,146 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,005,040 |
4 |
0 |
0 |
39,128 |
0 |
16,984 |
925 |
osh-native |
35 |
no-host |
configure.util-linux |
1,993,793 |
0 |
0 |
0 |
39,136 |
0 |
16,990 |
992 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,255 |
0 |
0 |
0 |
4,120 |
0 |
869 |
84 |
bash |
14 |
no-host |
configure.yash |
244,525 |
0 |
0 |
0 |
3,720 |
0 |
870 |
75 |
dash |
22 |
no-host |
configure.yash |
386,956 |
0 |
0 |
0 |
3,728 |
0 |
855 |
86 |
osh-cpython |
30 |
no-host |
configure.yash |
257,098 |
0 |
0 |
0 |
3,736 |
0 |
849 |
94 |
osh-native |
38 |
no-host |
configure.yash |
257,993 |
0 |
0 |
0 |
3,736 |
0 |
851 |
81 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
80 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,957 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
335 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host