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 |
474 |
22 |
22 |
22.86 |
1.08 |
bin-true |
no-host |
681 |
556 |
2,325 |
823 |
829 |
3.41 |
1.21 |
configure.cpython |
no-host |
15,505 |
15,843 |
30,358 |
15,855 |
15,909 |
1.96 |
1.02 |
configure.ocaml |
no-host |
3,928 |
3,887 |
4,831 |
3,943 |
3,923 |
1.23 |
1.00 |
configure.tcc |
no-host |
49 |
43 |
216 |
50 |
49 |
4.41 |
1.02 |
configure.util-linux |
no-host |
14,517 |
15,563 |
32,873 |
15,055 |
14,822 |
2.26 |
1.04 |
configure.yash |
no-host |
1,923 |
1,829 |
2,604 |
1,906 |
1,861 |
1.35 |
0.99 |
hello-world |
no-host |
2 |
1 |
58 |
3 |
3 |
34.68 |
1.77 |
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,525 |
1,129 |
23,499 |
3,187 |
3,123 |
9.31 |
1.26 |
bin-true |
no-host |
107,301 |
68,435 |
763,655 |
126,176 |
128,161 |
7.12 |
1.18 |
configure.cpython |
no-host |
2,224,351 |
2,248,010 |
6,234,586 |
2,222,026 |
2,211,104 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,850 |
391,191 |
643,620 |
413,549 |
412,689 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,544 |
5,474 |
23,927 |
6,992 |
6,915 |
3.66 |
1.07 |
configure.util-linux |
no-host |
2,092,730 |
2,258,934 |
5,361,016 |
1,995,655 |
1,992,771 |
2.56 |
0.95 |
configure.yash |
no-host |
256,462 |
244,707 |
386,721 |
257,760 |
258,087 |
1.51 |
1.01 |
hello-world |
no-host |
153 |
80 |
3,951 |
346 |
339 |
25.82 |
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.4 |
3,793 |
3,793 |
0 |
694 |
1,865 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
823 |
1 |
2 |
2.6 |
8.1 |
153,757 |
12,333 |
2,898 |
8,743 |
76,329 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,855 |
2 |
65 |
14.9 |
27.3 |
1,771,804 |
49,616 |
28,523 |
85,427 |
878,138 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
15,055 |
3 |
66 |
21.2 |
30.0 |
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,943 |
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.4 |
30,597 |
30,597 |
0 |
1,518 |
14,648 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,906 |
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 |
22 |
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 |
6.0 |
3,792 |
3,792 |
0 |
695 |
1,865 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
829 |
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 |
15,909 |
1 |
66 |
14.9 |
27.4 |
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,822 |
3 |
65 |
21.2 |
30.1 |
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,923 |
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,861 |
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 |
21 |
11 |
10 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
474 |
418 |
59 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
17 |
6 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
19 |
3 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
681 |
504 |
210 |
2.9 |
bash |
9 |
no-host |
bin-true |
556 |
422 |
146 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,325 |
1,512 |
1,081 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
823 |
581 |
255 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
829 |
596 |
247 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,505 |
9,375 |
6,535 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,843 |
9,504 |
6,749 |
27.1 |
dash |
18 |
no-host |
configure.cpython |
30,358 |
18,340 |
13,981 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,855 |
9,338 |
6,787 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,909 |
9,225 |
6,825 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,928 |
1,757 |
1,213 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,887 |
1,708 |
1,163 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,831 |
2,417 |
1,635 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,943 |
1,722 |
1,260 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,923 |
1,605 |
1,355 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
34 |
16 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
43 |
29 |
15 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
216 |
152 |
67 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
33 |
18 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
31 |
18 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,517 |
9,149 |
5,847 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
15,563 |
9,315 |
6,743 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
32,873 |
21,662 |
12,340 |
30.4 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,055 |
9,170 |
6,065 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
14,822 |
8,965 |
6,040 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,923 |
1,160 |
772 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,829 |
1,109 |
722 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,604 |
1,620 |
1,026 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,906 |
1,141 |
770 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,861 |
1,039 |
827 |
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 |
28 |
29 |
18.1 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,525 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,129 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,499 |
0 |
0 |
0 |
8 |
0 |
45 |
15 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,187 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,123 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,301 |
0 |
0 |
0 |
8 |
0 |
1,982 |
120 |
bash |
9 |
no-host |
bin-true |
68,435 |
0 |
0 |
0 |
8 |
0 |
1,978 |
35 |
dash |
17 |
no-host |
bin-true |
763,655 |
0 |
0 |
0 |
8 |
0 |
1,988 |
106 |
osh-cpython |
25 |
no-host |
bin-true |
126,176 |
0 |
0 |
0 |
16 |
0 |
1,982 |
52 |
osh-native |
33 |
no-host |
bin-true |
128,161 |
0 |
0 |
0 |
16 |
0 |
1,983 |
85 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,224,351 |
1 |
0 |
0 |
32,960 |
0 |
14,432 |
937 |
bash |
10 |
no-host |
configure.cpython |
2,248,010 |
1 |
0 |
0 |
32,992 |
0 |
14,644 |
1,127 |
dash |
18 |
no-host |
configure.cpython |
6,234,586 |
2 |
0 |
0 |
27,512 |
0 |
13,280 |
1,126 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,222,026 |
0 |
0 |
0 |
27,520 |
0 |
13,176 |
1,002 |
osh-native |
34 |
no-host |
configure.cpython |
2,211,104 |
0 |
0 |
0 |
27,520 |
0 |
13,164 |
875 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,850 |
0 |
0 |
0 |
5,120 |
0 |
1,948 |
150 |
bash |
12 |
no-host |
configure.ocaml |
391,191 |
0 |
0 |
0 |
5,112 |
0 |
1,942 |
148 |
dash |
20 |
no-host |
configure.ocaml |
643,620 |
0 |
0 |
0 |
5,112 |
0 |
1,856 |
185 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,549 |
0 |
0 |
0 |
5,120 |
0 |
1,924 |
170 |
osh-native |
36 |
no-host |
configure.ocaml |
412,689 |
0 |
0 |
0 |
5,120 |
0 |
1,924 |
132 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,544 |
0 |
0 |
0 |
104 |
0 |
49 |
12 |
bash |
13 |
no-host |
configure.tcc |
5,474 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,927 |
0 |
0 |
0 |
96 |
0 |
53 |
8 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,992 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,915 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,092,730 |
0 |
0 |
0 |
42,400 |
0 |
18,562 |
961 |
bash |
11 |
no-host |
configure.util-linux |
2,258,934 |
0 |
0 |
0 |
42,584 |
0 |
17,484 |
1,240 |
dash |
19 |
no-host |
configure.util-linux |
5,361,016 |
4 |
0 |
0 |
39,112 |
0 |
16,985 |
1,218 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,995,655 |
0 |
0 |
0 |
39,120 |
0 |
16,951 |
1,003 |
osh-native |
35 |
no-host |
configure.util-linux |
1,992,771 |
3 |
0 |
0 |
39,136 |
0 |
16,984 |
971 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,462 |
0 |
0 |
0 |
4,120 |
0 |
870 |
90 |
bash |
14 |
no-host |
configure.yash |
244,707 |
0 |
0 |
0 |
3,720 |
0 |
872 |
70 |
dash |
22 |
no-host |
configure.yash |
386,721 |
0 |
0 |
0 |
3,728 |
0 |
848 |
100 |
osh-cpython |
30 |
no-host |
configure.yash |
257,760 |
0 |
0 |
0 |
3,736 |
0 |
851 |
82 |
osh-native |
38 |
no-host |
configure.yash |
258,087 |
0 |
0 |
0 |
3,736 |
0 |
850 |
65 |
osh-native-souffle |
0 |
no-host |
hello-world |
153 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
80 |
0 |
0 |
0 |
8 |
0 |
1 |
1 |
dash |
16 |
no-host |
hello-world |
3,951 |
0 |
0 |
0 |
8 |
0 |
7 |
7 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
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