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 |
21 |
10 |
490 |
25 |
23 |
23.51 |
1.18 |
bin-true |
no-host |
689 |
552 |
2,427 |
847 |
822 |
3.52 |
1.23 |
configure.cpython |
no-host |
15,702 |
15,870 |
30,568 |
16,112 |
16,202 |
1.95 |
1.03 |
configure.ocaml |
no-host |
3,971 |
3,876 |
4,863 |
4,121 |
4,070 |
1.22 |
1.04 |
configure.tcc |
no-host |
50 |
44 |
212 |
53 |
53 |
4.26 |
1.07 |
configure.util-linux |
no-host |
14,539 |
15,483 |
33,280 |
15,561 |
15,327 |
2.29 |
1.07 |
configure.yash |
no-host |
1,905 |
1,853 |
2,631 |
1,991 |
1,979 |
1.38 |
1.04 |
hello-world |
no-host |
2 |
1 |
59 |
3 |
3 |
37.97 |
2.14 |
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,532 |
1,109 |
23,958 |
3,225 |
3,094 |
9.46 |
1.27 |
bin-true |
no-host |
105,322 |
66,448 |
781,838 |
127,177 |
122,157 |
7.42 |
1.21 |
configure.cpython |
no-host |
2,007,019 |
2,018,558 |
6,054,975 |
2,000,747 |
1,986,512 |
3.02 |
1.00 |
configure.ocaml |
no-host |
373,634 |
353,930 |
610,772 |
376,051 |
375,341 |
1.63 |
1.01 |
configure.tcc |
no-host |
6,060 |
5,013 |
23,766 |
6,495 |
6,435 |
3.92 |
1.07 |
configure.util-linux |
no-host |
1,900,172 |
2,063,884 |
5,245,265 |
1,809,458 |
1,799,528 |
2.76 |
0.95 |
configure.yash |
no-host |
233,297 |
221,814 |
366,461 |
235,518 |
234,995 |
1.57 |
1.01 |
hello-world |
no-host |
148 |
79 |
3,994 |
344 |
334 |
26.99 |
2.32 |
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,789 |
3,789 |
0 |
695 |
1,861 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
847 |
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 |
16,112 |
2 |
79 |
14.9 |
29.2 |
1,767,675 |
49,060 |
28,519 |
85,428 |
875,384 |
806,863 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
15,561 |
3 |
76 |
21.2 |
30.3 |
2,698,991 |
29,940 |
65,698 |
108,700 |
1,288,281 |
1,302,010 |
32,241 |
41 |
131,396 |
1 |
configure.ocaml |
no-host |
4,121 |
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 |
53 |
0 |
0 |
1.3 |
19.5 |
30,539 |
30,539 |
0 |
1,519 |
14,608 |
14,412 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,991 |
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 |
25 |
1 |
2 |
2.8 |
9.2 |
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 |
822 |
1 |
2 |
2.6 |
7.6 |
153,752 |
12,118 |
2,832 |
8,745 |
76,325 |
68,682 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
16,202 |
2 |
76 |
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 |
15,327 |
3 |
72 |
21.2 |
30.1 |
2,698,991 |
29,878 |
65,636 |
108,702 |
1,288,281 |
1,302,008 |
32,241 |
41 |
131,272 |
1 |
configure.ocaml |
no-host |
4,070 |
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 |
53 |
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,979 |
1 |
2 |
2.5 |
26.5 |
139,269 |
7,969 |
6,631 |
5,992 |
67,845 |
65,432 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
8.7 |
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 |
21 |
11 |
11 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
3 |
7 |
3.3 |
dash |
23 |
no-host |
abuild-print-help |
490 |
431 |
63 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
25 |
12 |
13 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
23 |
12 |
12 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
689 |
325 |
398 |
2.9 |
bash |
9 |
no-host |
bin-true |
552 |
279 |
284 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,427 |
785 |
1,916 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
847 |
284 |
582 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
822 |
300 |
540 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,702 |
7,094 |
9,062 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
15,870 |
7,264 |
9,088 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
30,568 |
15,417 |
17,172 |
29.1 |
osh-cpython |
26 |
no-host |
configure.cpython |
16,112 |
7,060 |
9,372 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
16,202 |
7,122 |
9,399 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,971 |
1,413 |
1,605 |
22.5 |
bash |
12 |
no-host |
configure.ocaml |
3,876 |
1,406 |
1,494 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,863 |
2,037 |
2,059 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
4,121 |
1,497 |
1,671 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
4,070 |
1,471 |
1,643 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
50 |
22 |
28 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
44 |
20 |
24 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
212 |
143 |
72 |
19.5 |
osh-cpython |
29 |
no-host |
configure.tcc |
53 |
21 |
33 |
19.5 |
osh-native |
37 |
no-host |
configure.tcc |
53 |
26 |
27 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,539 |
6,379 |
8,694 |
30.4 |
bash |
11 |
no-host |
configure.util-linux |
15,483 |
6,416 |
9,637 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
33,280 |
18,961 |
15,495 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,561 |
6,117 |
9,688 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
15,327 |
6,094 |
9,461 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,905 |
970 |
945 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,853 |
988 |
870 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,631 |
1,496 |
1,181 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,991 |
1,011 |
985 |
26.3 |
osh-native |
38 |
no-host |
configure.yash |
1,979 |
968 |
1,018 |
26.5 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
59 |
41 |
18 |
18.1 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
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,532 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,109 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,958 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,225 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,094 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,322 |
0 |
0 |
0 |
8 |
0 |
1,995 |
298 |
bash |
9 |
no-host |
bin-true |
66,448 |
0 |
0 |
0 |
8 |
0 |
1,969 |
118 |
dash |
17 |
no-host |
bin-true |
781,838 |
0 |
0 |
0 |
8 |
0 |
1,971 |
183 |
osh-cpython |
25 |
no-host |
bin-true |
127,177 |
0 |
0 |
0 |
16 |
0 |
1,985 |
179 |
osh-native |
33 |
no-host |
bin-true |
122,157 |
0 |
0 |
0 |
16 |
0 |
1,976 |
119 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,007,019 |
0 |
0 |
0 |
32,928 |
0 |
14,230 |
1,122 |
bash |
10 |
no-host |
configure.cpython |
2,018,558 |
0 |
0 |
0 |
32,992 |
0 |
14,342 |
1,220 |
dash |
18 |
no-host |
configure.cpython |
6,054,975 |
0 |
0 |
0 |
27,512 |
0 |
13,028 |
1,166 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,000,747 |
2 |
0 |
0 |
27,520 |
0 |
13,233 |
1,057 |
osh-native |
34 |
no-host |
configure.cpython |
1,986,512 |
0 |
0 |
0 |
27,520 |
0 |
13,112 |
970 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,634 |
0 |
0 |
0 |
5,120 |
0 |
1,950 |
201 |
bash |
12 |
no-host |
configure.ocaml |
353,930 |
0 |
0 |
0 |
5,112 |
0 |
1,939 |
165 |
dash |
20 |
no-host |
configure.ocaml |
610,772 |
0 |
0 |
0 |
5,112 |
0 |
1,910 |
217 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,051 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
208 |
osh-native |
36 |
no-host |
configure.ocaml |
375,341 |
0 |
0 |
0 |
5,120 |
0 |
1,933 |
189 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,060 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,013 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
21 |
no-host |
configure.tcc |
23,766 |
0 |
0 |
0 |
96 |
0 |
53 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,495 |
0 |
0 |
0 |
104 |
0 |
47 |
5 |
osh-native |
37 |
no-host |
configure.tcc |
6,435 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,900,172 |
0 |
0 |
0 |
42,400 |
0 |
18,433 |
1,255 |
bash |
11 |
no-host |
configure.util-linux |
2,063,884 |
0 |
0 |
0 |
42,584 |
0 |
17,229 |
1,419 |
dash |
19 |
no-host |
configure.util-linux |
5,245,265 |
11 |
0 |
0 |
39,136 |
0 |
17,057 |
1,216 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,809,458 |
0 |
0 |
0 |
39,128 |
0 |
17,003 |
1,126 |
osh-native |
35 |
no-host |
configure.util-linux |
1,799,528 |
0 |
0 |
0 |
39,136 |
0 |
16,994 |
1,169 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,297 |
0 |
0 |
0 |
4,120 |
0 |
872 |
93 |
bash |
14 |
no-host |
configure.yash |
221,814 |
0 |
0 |
0 |
3,720 |
0 |
870 |
88 |
dash |
22 |
no-host |
configure.yash |
366,461 |
0 |
0 |
0 |
3,728 |
0 |
852 |
106 |
osh-cpython |
30 |
no-host |
configure.yash |
235,518 |
0 |
0 |
0 |
3,736 |
0 |
845 |
81 |
osh-native |
38 |
no-host |
configure.yash |
234,995 |
0 |
0 |
0 |
3,736 |
0 |
847 |
94 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
79 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,994 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
334 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host