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 |
9 |
489 |
22 |
21 |
25.93 |
1.19 |
bin-true |
no-host |
659 |
530 |
2,404 |
803 |
804 |
3.65 |
1.22 |
configure.cpython |
no-host |
14,864 |
14,930 |
29,811 |
15,407 |
15,383 |
2.01 |
1.04 |
configure.ocaml |
no-host |
3,798 |
3,749 |
4,811 |
3,867 |
3,817 |
1.27 |
1.02 |
configure.tcc |
no-host |
47 |
41 |
212 |
49 |
48 |
4.53 |
1.04 |
configure.util-linux |
no-host |
13,892 |
14,520 |
34,699 |
14,414 |
14,287 |
2.50 |
1.04 |
configure.yash |
no-host |
1,815 |
1,759 |
2,556 |
1,859 |
1,831 |
1.41 |
1.02 |
hello-world |
no-host |
1 |
1 |
58 |
3 |
3 |
40.77 |
2.02 |
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,552 |
1,106 |
24,173 |
3,217 |
3,068 |
9.47 |
1.26 |
bin-true |
no-host |
105,330 |
66,440 |
802,427 |
127,187 |
125,202 |
7.62 |
1.21 |
configure.cpython |
no-host |
1,991,900 |
2,020,134 |
6,088,686 |
2,016,217 |
1,999,886 |
3.06 |
1.01 |
configure.ocaml |
no-host |
373,215 |
353,898 |
616,387 |
377,333 |
375,735 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,092 |
4,990 |
24,025 |
6,515 |
6,451 |
3.94 |
1.07 |
configure.util-linux |
no-host |
1,912,898 |
2,071,822 |
5,300,029 |
1,815,764 |
1,813,210 |
2.77 |
0.95 |
configure.yash |
no-host |
233,479 |
221,838 |
368,476 |
234,766 |
235,297 |
1.58 |
1.01 |
hello-world |
no-host |
149 |
78 |
3,970 |
347 |
342 |
26.64 |
2.33 |
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.3 |
3,805 |
3,805 |
0 |
700 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
803 |
1 |
2 |
2.6 |
8.3 |
156,772 |
15,414 |
2,901 |
8,752 |
77,337 |
70,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,407 |
2 |
71 |
15.5 |
29.2 |
1,785,013 |
30,559 |
28,526 |
91,505 |
887,089 |
806,419 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,414 |
3 |
66 |
21.6 |
30.2 |
2,709,214 |
53,761 |
65,705 |
114,372 |
1,296,230 |
1,298,612 |
32,241 |
41 |
131,410 |
1 |
configure.ocaml |
no-host |
3,867 |
1 |
2 |
2.6 |
22.5 |
149,859 |
11,178 |
5,221 |
7,733 |
70,879 |
71,247 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.7 |
30,575 |
30,575 |
0 |
1,542 |
14,636 |
14,397 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,859 |
1 |
2 |
2.6 |
26.5 |
139,881 |
8,045 |
6,700 |
6,397 |
68,350 |
65,134 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,337 |
64,419 |
42,627 |
4,544 |
54,462 |
57,331 |
277 |
3 |
85,254 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,804 |
3,804 |
0 |
701 |
1,870 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
804 |
1 |
2 |
2.6 |
7.7 |
156,771 |
15,409 |
2,896 |
8,753 |
77,337 |
70,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,383 |
1 |
72 |
15.4 |
29.3 |
1,785,012 |
30,546 |
28,521 |
91,506 |
887,089 |
806,417 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,287 |
3 |
68 |
21.6 |
30.2 |
2,709,214 |
53,738 |
65,700 |
114,374 |
1,296,230 |
1,298,610 |
32,241 |
41 |
131,400 |
1 |
configure.ocaml |
no-host |
3,817 |
1 |
2 |
2.6 |
22.6 |
149,859 |
11,173 |
5,216 |
7,735 |
70,879 |
71,245 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.7 |
30,575 |
30,575 |
0 |
1,544 |
14,636 |
14,395 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,831 |
1 |
2 |
2.6 |
26.4 |
139,881 |
8,034 |
6,689 |
6,399 |
68,350 |
65,132 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.4 |
116,336 |
64,414 |
42,622 |
4,545 |
54,462 |
57,329 |
277 |
3 |
85,244 |
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 |
9 |
11 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
5 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
489 |
427 |
66 |
22.9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
11 |
12 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
10 |
8.4 |
osh-native-souffle |
1 |
no-host |
bin-true |
659 |
310 |
383 |
3.0 |
bash |
9 |
no-host |
bin-true |
530 |
282 |
260 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,404 |
809 |
1,851 |
18.7 |
osh-cpython |
25 |
no-host |
bin-true |
803 |
305 |
516 |
8.3 |
osh-native |
33 |
no-host |
bin-true |
804 |
294 |
525 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,864 |
6,754 |
8,532 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,930 |
6,722 |
8,652 |
29.1 |
dash |
18 |
no-host |
configure.cpython |
29,811 |
14,792 |
16,984 |
29.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,407 |
6,813 |
8,884 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
15,383 |
6,744 |
8,930 |
29.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,798 |
1,335 |
1,493 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,749 |
1,297 |
1,474 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,811 |
1,918 |
2,123 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,867 |
1,360 |
1,549 |
22.5 |
osh-native |
36 |
no-host |
configure.ocaml |
3,817 |
1,349 |
1,507 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
25 |
22 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
41 |
21 |
20 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
212 |
151 |
65 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
24 |
25 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
23 |
26 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,892 |
5,933 |
8,449 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,520 |
5,930 |
9,116 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
34,699 |
19,648 |
16,259 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,414 |
5,693 |
8,943 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,287 |
5,721 |
8,783 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,815 |
932 |
892 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,759 |
927 |
837 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,556 |
1,397 |
1,205 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,859 |
931 |
934 |
26.5 |
osh-native |
38 |
no-host |
configure.yash |
1,831 |
915 |
921 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
58 |
35 |
23 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
2 |
1 |
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,552 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,106 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
24,173 |
0 |
0 |
0 |
8 |
0 |
45 |
4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,217 |
0 |
0 |
0 |
16 |
0 |
38 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,068 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,330 |
0 |
0 |
0 |
8 |
0 |
1,990 |
105 |
bash |
9 |
no-host |
bin-true |
66,440 |
0 |
0 |
0 |
8 |
0 |
1,972 |
58 |
dash |
17 |
no-host |
bin-true |
802,427 |
0 |
0 |
0 |
8 |
0 |
1,990 |
459 |
osh-cpython |
25 |
no-host |
bin-true |
127,187 |
0 |
0 |
0 |
16 |
0 |
1,977 |
121 |
osh-native |
33 |
no-host |
bin-true |
125,202 |
0 |
0 |
0 |
16 |
0 |
1,979 |
272 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,991,900 |
0 |
0 |
0 |
32,928 |
0 |
14,235 |
1,210 |
bash |
10 |
no-host |
configure.cpython |
2,020,134 |
0 |
0 |
0 |
32,992 |
0 |
14,331 |
1,382 |
dash |
18 |
no-host |
configure.cpython |
6,088,686 |
0 |
0 |
0 |
27,512 |
0 |
13,110 |
1,034 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,016,217 |
0 |
0 |
0 |
27,520 |
0 |
13,030 |
993 |
osh-native |
34 |
no-host |
configure.cpython |
1,999,886 |
0 |
0 |
0 |
27,520 |
0 |
12,984 |
975 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,215 |
0 |
0 |
0 |
5,120 |
0 |
1,951 |
192 |
bash |
12 |
no-host |
configure.ocaml |
353,898 |
0 |
0 |
0 |
5,112 |
0 |
1,943 |
198 |
dash |
20 |
no-host |
configure.ocaml |
616,387 |
1 |
0 |
0 |
5,112 |
0 |
1,842 |
179 |
osh-cpython |
28 |
no-host |
configure.ocaml |
377,333 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
204 |
osh-native |
36 |
no-host |
configure.ocaml |
375,735 |
0 |
0 |
0 |
5,120 |
0 |
1,923 |
201 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,092 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
4,990 |
0 |
0 |
0 |
96 |
0 |
46 |
4 |
dash |
21 |
no-host |
configure.tcc |
24,025 |
0 |
0 |
0 |
96 |
0 |
52 |
3 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,515 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,451 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,912,898 |
0 |
0 |
0 |
42,400 |
0 |
18,412 |
1,205 |
bash |
11 |
no-host |
configure.util-linux |
2,071,822 |
0 |
0 |
0 |
42,584 |
0 |
17,322 |
1,466 |
dash |
19 |
no-host |
configure.util-linux |
5,300,029 |
4 |
0 |
0 |
39,120 |
0 |
17,007 |
1,375 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,815,764 |
1 |
0 |
0 |
39,128 |
0 |
16,999 |
1,172 |
osh-native |
35 |
no-host |
configure.util-linux |
1,813,210 |
1 |
0 |
0 |
39,136 |
0 |
17,082 |
1,131 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,479 |
0 |
0 |
0 |
4,120 |
0 |
872 |
94 |
bash |
14 |
no-host |
configure.yash |
221,838 |
0 |
0 |
0 |
3,720 |
0 |
872 |
74 |
dash |
22 |
no-host |
configure.yash |
368,476 |
0 |
0 |
0 |
3,728 |
0 |
850 |
89 |
osh-cpython |
30 |
no-host |
configure.yash |
234,766 |
0 |
0 |
0 |
3,736 |
0 |
845 |
88 |
osh-native |
38 |
no-host |
configure.yash |
235,297 |
0 |
0 |
0 |
3,736 |
0 |
849 |
86 |
osh-native-souffle |
0 |
no-host |
hello-world |
149 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
78 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,970 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
347 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host