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 |
444 |
22 |
21 |
24.62 |
1.23 |
bin-true |
no-host |
682 |
528 |
2,247 |
803 |
796 |
3.29 |
1.18 |
configure.cpython |
no-host |
15,034 |
15,117 |
28,530 |
14,900 |
15,019 |
1.90 |
0.99 |
configure.ocaml |
no-host |
3,731 |
3,682 |
4,632 |
3,797 |
3,840 |
1.24 |
1.02 |
configure.tcc |
no-host |
48 |
40 |
203 |
48 |
50 |
4.27 |
1.01 |
configure.util-linux |
no-host |
13,887 |
14,930 |
30,720 |
14,311 |
14,062 |
2.21 |
1.03 |
configure.yash |
no-host |
1,788 |
1,749 |
2,428 |
1,797 |
1,841 |
1.36 |
1.00 |
hello-world |
no-host |
2 |
1 |
57 |
3 |
3 |
36.81 |
1.85 |
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,541 |
1,101 |
23,495 |
3,209 |
3,117 |
9.25 |
1.26 |
bin-true |
no-host |
106,402 |
66,442 |
764,010 |
126,164 |
125,270 |
7.18 |
1.19 |
configure.cpython |
no-host |
2,222,130 |
2,235,774 |
6,210,630 |
2,227,208 |
2,210,471 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,768 |
390,997 |
644,465 |
413,666 |
412,482 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,539 |
5,494 |
23,938 |
6,948 |
6,900 |
3.66 |
1.06 |
configure.util-linux |
no-host |
2,094,498 |
2,267,922 |
5,364,007 |
1,998,427 |
1,988,671 |
2.56 |
0.95 |
configure.yash |
no-host |
256,121 |
245,137 |
387,109 |
257,858 |
256,442 |
1.51 |
1.01 |
hello-world |
no-host |
152 |
83 |
3,953 |
343 |
339 |
26.01 |
2.26 |
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 |
694 |
1,861 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
803 |
1 |
2 |
2.6 |
8.3 |
153,753 |
12,329 |
2,894 |
8,743 |
76,325 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,900 |
1 |
62 |
14.9 |
27.3 |
1,771,800 |
49,612 |
28,519 |
85,427 |
878,134 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,311 |
3 |
61 |
21.2 |
30.1 |
2,702,546 |
45,807 |
65,718 |
108,699 |
1,290,651 |
1,303,196 |
32,241 |
41 |
131,436 |
1 |
configure.ocaml |
no-host |
3,797 |
1 |
2 |
2.6 |
20.6 |
150,087 |
11,119 |
5,214 |
7,508 |
70,972 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,593 |
30,593 |
0 |
1,518 |
14,644 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,797 |
1 |
2 |
2.5 |
24.4 |
139,419 |
8,031 |
6,693 |
5,989 |
67,945 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,299 |
64,410 |
42,620 |
4,532 |
54,439 |
57,328 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,788 |
3,788 |
0 |
695 |
1,861 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
796 |
1 |
2 |
2.6 |
7.5 |
153,752 |
12,118 |
2,832 |
8,744 |
76,325 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,019 |
1 |
58 |
14.9 |
27.4 |
1,771,799 |
49,070 |
28,457 |
85,428 |
878,134 |
808,237 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,062 |
3 |
59 |
21.2 |
30.1 |
2,702,546 |
53,700 |
65,656 |
108,701 |
1,290,651 |
1,303,194 |
32,241 |
41 |
131,312 |
1 |
configure.ocaml |
no-host |
3,840 |
1 |
2 |
2.6 |
20.6 |
150,087 |
11,057 |
5,152 |
7,510 |
70,972 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.3 |
30,593 |
30,593 |
0 |
1,520 |
14,644 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,841 |
1 |
2 |
2.5 |
24.4 |
139,419 |
7,969 |
6,631 |
5,991 |
67,945 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,298 |
64,348 |
42,558 |
4,533 |
54,439 |
57,326 |
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 |
16 |
3 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
9 |
0 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
444 |
402 |
45 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
13 |
9 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
16 |
6 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
682 |
491 |
219 |
2.9 |
bash |
9 |
no-host |
bin-true |
528 |
404 |
133 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,247 |
1,447 |
1,059 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
803 |
582 |
236 |
8.3 |
osh-native |
33 |
no-host |
bin-true |
796 |
558 |
253 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,034 |
9,148 |
6,283 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,117 |
9,161 |
6,380 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,530 |
17,334 |
13,015 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,900 |
8,734 |
6,429 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,019 |
8,857 |
6,294 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,731 |
1,582 |
1,188 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,682 |
1,552 |
1,146 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,632 |
2,228 |
1,610 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,797 |
1,582 |
1,254 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,840 |
1,710 |
1,165 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
34 |
14 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
40 |
33 |
8 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
203 |
154 |
52 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
28 |
20 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
50 |
35 |
16 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,887 |
8,892 |
5,459 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,930 |
9,017 |
6,407 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
30,720 |
20,844 |
10,929 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,311 |
8,684 |
5,817 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,062 |
8,416 |
5,839 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,788 |
1,054 |
743 |
24.5 |
bash |
14 |
no-host |
configure.yash |
1,749 |
1,046 |
706 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,428 |
1,474 |
995 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,797 |
1,027 |
774 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,841 |
1,095 |
750 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
57 |
29 |
28 |
18.1 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,541 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,101 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,495 |
0 |
0 |
0 |
8 |
0 |
45 |
11 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,209 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,117 |
0 |
0 |
0 |
16 |
0 |
39 |
4 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,402 |
0 |
0 |
0 |
8 |
0 |
1,990 |
85 |
bash |
9 |
no-host |
bin-true |
66,442 |
0 |
0 |
0 |
8 |
0 |
1,984 |
153 |
dash |
17 |
no-host |
bin-true |
764,010 |
0 |
0 |
0 |
8 |
0 |
1,991 |
112 |
osh-cpython |
25 |
no-host |
bin-true |
126,164 |
0 |
0 |
0 |
16 |
0 |
1,989 |
39 |
osh-native |
33 |
no-host |
bin-true |
125,270 |
0 |
0 |
0 |
16 |
0 |
1,986 |
55 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,222,130 |
0 |
0 |
0 |
32,928 |
0 |
14,494 |
995 |
bash |
10 |
no-host |
configure.cpython |
2,235,774 |
0 |
0 |
0 |
32,992 |
0 |
14,582 |
1,143 |
dash |
18 |
no-host |
configure.cpython |
6,210,630 |
0 |
0 |
0 |
27,512 |
0 |
13,269 |
1,262 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,227,208 |
0 |
0 |
0 |
27,520 |
0 |
13,290 |
990 |
osh-native |
34 |
no-host |
configure.cpython |
2,210,471 |
0 |
0 |
0 |
27,520 |
0 |
13,265 |
1,000 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,768 |
0 |
0 |
0 |
5,120 |
0 |
1,940 |
155 |
bash |
12 |
no-host |
configure.ocaml |
390,997 |
0 |
0 |
0 |
5,112 |
0 |
1,934 |
161 |
dash |
20 |
no-host |
configure.ocaml |
644,465 |
0 |
0 |
0 |
5,112 |
0 |
1,855 |
176 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,666 |
0 |
0 |
0 |
5,120 |
0 |
1,920 |
167 |
osh-native |
36 |
no-host |
configure.ocaml |
412,482 |
0 |
0 |
0 |
5,120 |
0 |
1,924 |
164 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,539 |
0 |
0 |
0 |
104 |
0 |
48 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,494 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
23,938 |
0 |
0 |
0 |
96 |
0 |
53 |
8 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,948 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,900 |
0 |
0 |
0 |
104 |
0 |
47 |
6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,094,498 |
1 |
0 |
0 |
42,400 |
0 |
18,545 |
1,077 |
bash |
11 |
no-host |
configure.util-linux |
2,267,922 |
1 |
0 |
0 |
42,584 |
0 |
17,372 |
1,093 |
dash |
19 |
no-host |
configure.util-linux |
5,364,007 |
10 |
0 |
0 |
39,120 |
0 |
16,974 |
1,165 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,998,427 |
0 |
0 |
0 |
39,120 |
0 |
16,973 |
1,056 |
osh-native |
35 |
no-host |
configure.util-linux |
1,988,671 |
0 |
0 |
0 |
39,128 |
0 |
17,030 |
891 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,121 |
0 |
0 |
0 |
4,120 |
0 |
867 |
94 |
bash |
14 |
no-host |
configure.yash |
245,137 |
0 |
0 |
0 |
3,720 |
0 |
870 |
83 |
dash |
22 |
no-host |
configure.yash |
387,109 |
0 |
0 |
0 |
3,728 |
0 |
851 |
79 |
osh-cpython |
30 |
no-host |
configure.yash |
257,858 |
0 |
0 |
0 |
3,736 |
0 |
848 |
68 |
osh-native |
38 |
no-host |
configure.yash |
256,442 |
0 |
0 |
0 |
3,736 |
0 |
851 |
95 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
2 |
0 |
bash |
8 |
no-host |
hello-world |
83 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,953 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host