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 |
10 |
463 |
22 |
21 |
24.01 |
1.13 |
bin-true |
no-host |
673 |
547 |
2,286 |
811 |
808 |
3.40 |
1.21 |
configure.cpython |
no-host |
14,987 |
14,995 |
28,455 |
15,293 |
15,417 |
1.90 |
1.02 |
configure.ocaml |
no-host |
3,800 |
3,747 |
4,673 |
3,811 |
3,820 |
1.23 |
1.00 |
configure.tcc |
no-host |
47 |
41 |
203 |
48 |
48 |
4.30 |
1.02 |
configure.util-linux |
no-host |
13,950 |
14,836 |
31,536 |
14,294 |
14,284 |
2.26 |
1.02 |
configure.yash |
no-host |
1,835 |
1,764 |
2,480 |
1,814 |
1,813 |
1.35 |
0.99 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
38.23 |
1.95 |
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,539 |
1,126 |
23,740 |
3,203 |
3,099 |
9.35 |
1.26 |
bin-true |
no-host |
108,315 |
66,525 |
773,075 |
125,143 |
123,242 |
7.14 |
1.16 |
configure.cpython |
no-host |
2,219,241 |
2,243,237 |
6,226,819 |
2,217,329 |
2,209,066 |
2.81 |
1.00 |
configure.ocaml |
no-host |
410,791 |
391,342 |
646,916 |
413,375 |
411,870 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,552 |
5,480 |
24,065 |
6,988 |
6,917 |
3.67 |
1.07 |
configure.util-linux |
no-host |
2,092,599 |
2,260,018 |
5,381,981 |
1,998,217 |
1,993,896 |
2.57 |
0.95 |
configure.yash |
no-host |
255,941 |
245,118 |
388,369 |
255,641 |
257,265 |
1.52 |
1.00 |
hello-world |
no-host |
153 |
84 |
3,943 |
345 |
337 |
25.77 |
2.25 |
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.3 |
6.4 |
3,790 |
3,790 |
0 |
697 |
1,863 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
811 |
1 |
2 |
2.6 |
8.0 |
153,754 |
12,327 |
2,892 |
8,746 |
76,327 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,293 |
1 |
62 |
14.9 |
27.4 |
1,771,755 |
49,130 |
28,517 |
85,418 |
878,120 |
808,217 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,294 |
3 |
59 |
21.2 |
30.0 |
2,702,521 |
45,805 |
65,716 |
108,694 |
1,290,645 |
1,303,182 |
32,239 |
41 |
131,432 |
1 |
configure.ocaml |
no-host |
3,811 |
0 |
2 |
2.6 |
20.6 |
150,088 |
11,117 |
5,212 |
7,511 |
70,974 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,594 |
30,594 |
0 |
1,521 |
14,646 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,814 |
1 |
2 |
2.6 |
24.4 |
139,420 |
8,029 |
6,691 |
5,992 |
67,947 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,300 |
64,408 |
42,618 |
4,535 |
54,441 |
57,324 |
277 |
3 |
85,236 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.0 |
3,789 |
3,789 |
0 |
698 |
1,863 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
808 |
1 |
2 |
2.6 |
7.5 |
153,753 |
12,116 |
2,830 |
8,747 |
76,327 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,417 |
1 |
62 |
14.9 |
27.3 |
1,771,754 |
49,068 |
28,455 |
85,419 |
878,120 |
808,215 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,284 |
3 |
61 |
21.2 |
30.1 |
2,702,521 |
53,698 |
65,654 |
108,696 |
1,290,645 |
1,303,180 |
32,239 |
41 |
131,308 |
1 |
configure.ocaml |
no-host |
3,820 |
1 |
2 |
2.6 |
20.4 |
150,088 |
11,055 |
5,150 |
7,513 |
70,974 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,594 |
30,594 |
0 |
1,523 |
14,646 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,813 |
1 |
2 |
2.6 |
24.6 |
139,420 |
7,967 |
6,629 |
5,994 |
67,947 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,299 |
64,346 |
42,556 |
4,536 |
54,441 |
57,322 |
277 |
3 |
85,112 |
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 |
17 |
3 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
9 |
2 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
463 |
406 |
61 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
22 |
0 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
11 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
673 |
517 |
188 |
3.0 |
bash |
9 |
no-host |
bin-true |
547 |
424 |
133 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,286 |
1,440 |
1,105 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
811 |
571 |
254 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
808 |
572 |
250 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,987 |
9,075 |
6,307 |
27.1 |
bash |
10 |
no-host |
configure.cpython |
14,995 |
9,085 |
6,326 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,455 |
17,411 |
12,884 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,293 |
9,007 |
6,557 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,417 |
9,147 |
6,351 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,800 |
1,616 |
1,217 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,747 |
1,571 |
1,190 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,673 |
2,221 |
1,664 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,811 |
1,549 |
1,301 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,820 |
1,631 |
1,224 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
38 |
10 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
26 |
16 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
203 |
146 |
61 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
29 |
20 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
33 |
16 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,950 |
8,856 |
5,565 |
29.9 |
bash |
11 |
no-host |
configure.util-linux |
14,836 |
9,013 |
6,305 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,536 |
21,054 |
11,570 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,294 |
8,796 |
5,691 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
14,284 |
8,664 |
5,813 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,835 |
1,065 |
775 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,764 |
1,063 |
705 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,480 |
1,534 |
988 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,814 |
1,047 |
772 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,813 |
1,080 |
737 |
24.6 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
28 |
27 |
18.1 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
6.0 |
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,539 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,126 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,740 |
0 |
0 |
0 |
8 |
0 |
45 |
9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,203 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,099 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
108,315 |
0 |
0 |
0 |
8 |
0 |
1,995 |
51 |
bash |
9 |
no-host |
bin-true |
66,525 |
0 |
0 |
0 |
8 |
0 |
1,978 |
34 |
dash |
17 |
no-host |
bin-true |
773,075 |
0 |
0 |
0 |
8 |
0 |
1,990 |
90 |
osh-cpython |
25 |
no-host |
bin-true |
125,143 |
0 |
0 |
0 |
16 |
0 |
1,997 |
102 |
osh-native |
33 |
no-host |
bin-true |
123,242 |
0 |
0 |
0 |
16 |
0 |
1,991 |
145 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,219,241 |
0 |
0 |
0 |
32,928 |
0 |
14,625 |
1,082 |
bash |
10 |
no-host |
configure.cpython |
2,243,237 |
0 |
0 |
0 |
32,992 |
0 |
14,589 |
1,070 |
dash |
18 |
no-host |
configure.cpython |
6,226,819 |
0 |
0 |
0 |
27,512 |
0 |
13,123 |
1,153 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,217,329 |
0 |
0 |
0 |
27,520 |
0 |
13,321 |
1,029 |
osh-native |
34 |
no-host |
configure.cpython |
2,209,066 |
2 |
0 |
0 |
27,520 |
0 |
13,293 |
990 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,791 |
0 |
0 |
0 |
5,120 |
0 |
1,960 |
154 |
bash |
12 |
no-host |
configure.ocaml |
391,342 |
0 |
0 |
0 |
5,112 |
0 |
1,891 |
165 |
dash |
20 |
no-host |
configure.ocaml |
646,916 |
1 |
0 |
0 |
5,112 |
0 |
1,859 |
172 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,375 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
169 |
osh-native |
36 |
no-host |
configure.ocaml |
411,870 |
0 |
0 |
0 |
5,120 |
0 |
1,940 |
160 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,552 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,480 |
0 |
0 |
0 |
96 |
0 |
47 |
10 |
dash |
21 |
no-host |
configure.tcc |
24,065 |
0 |
0 |
0 |
96 |
0 |
53 |
9 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,988 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,917 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,092,599 |
0 |
0 |
0 |
42,408 |
0 |
18,442 |
980 |
bash |
11 |
no-host |
configure.util-linux |
2,260,018 |
0 |
0 |
0 |
42,592 |
0 |
17,491 |
992 |
dash |
19 |
no-host |
configure.util-linux |
5,381,981 |
14 |
0 |
0 |
39,112 |
0 |
16,909 |
1,192 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,998,217 |
0 |
0 |
0 |
39,128 |
0 |
16,942 |
958 |
osh-native |
35 |
no-host |
configure.util-linux |
1,993,896 |
4 |
0 |
0 |
39,136 |
0 |
16,965 |
910 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,941 |
0 |
0 |
0 |
4,120 |
0 |
870 |
90 |
bash |
14 |
no-host |
configure.yash |
245,118 |
0 |
0 |
0 |
3,720 |
0 |
866 |
77 |
dash |
22 |
no-host |
configure.yash |
388,369 |
0 |
0 |
0 |
3,728 |
0 |
852 |
91 |
osh-cpython |
30 |
no-host |
configure.yash |
255,641 |
0 |
0 |
0 |
3,736 |
0 |
849 |
76 |
osh-native |
38 |
no-host |
configure.yash |
257,265 |
0 |
0 |
0 |
3,736 |
0 |
851 |
71 |
osh-native-souffle |
0 |
no-host |
hello-world |
153 |
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,943 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
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