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 |
480 |
23 |
21 |
25.99 |
1.24 |
bin-true |
no-host |
651 |
533 |
2,333 |
796 |
802 |
3.58 |
1.22 |
configure.cpython |
no-host |
15,015 |
14,843 |
29,034 |
15,277 |
15,059 |
1.93 |
1.02 |
configure.ocaml |
no-host |
3,892 |
3,693 |
4,726 |
3,915 |
3,762 |
1.21 |
1.01 |
configure.tcc |
no-host |
49 |
40 |
207 |
49 |
47 |
4.21 |
1.01 |
configure.util-linux |
no-host |
13,955 |
14,539 |
32,347 |
14,382 |
13,987 |
2.32 |
1.03 |
configure.yash |
no-host |
1,846 |
1,727 |
2,542 |
1,874 |
1,785 |
1.38 |
1.01 |
hello-world |
no-host |
1 |
1 |
55 |
3 |
3 |
37.16 |
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,530 |
1,101 |
25,086 |
3,181 |
3,108 |
9.92 |
1.26 |
bin-true |
no-host |
104,357 |
66,379 |
797,901 |
126,178 |
126,213 |
7.65 |
1.21 |
configure.cpython |
no-host |
1,997,707 |
2,027,835 |
6,101,268 |
2,017,313 |
2,007,838 |
3.05 |
1.01 |
configure.ocaml |
no-host |
373,424 |
354,168 |
615,874 |
377,192 |
376,378 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,082 |
4,995 |
24,006 |
6,483 |
6,457 |
3.95 |
1.07 |
configure.util-linux |
no-host |
1,907,401 |
2,072,238 |
5,285,816 |
1,821,079 |
1,810,264 |
2.77 |
0.95 |
configure.yash |
no-host |
233,946 |
221,702 |
369,525 |
235,274 |
235,747 |
1.58 |
1.01 |
hello-world |
no-host |
148 |
78 |
3,970 |
346 |
339 |
26.82 |
2.34 |
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.2 |
3,810 |
3,810 |
0 |
702 |
1,872 |
1,236 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
796 |
1 |
2 |
2.6 |
8.3 |
156,777 |
15,416 |
2,903 |
8,754 |
77,339 |
70,684 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,277 |
1 |
72 |
15.5 |
29.0 |
1,785,018 |
30,561 |
28,528 |
91,507 |
886,576 |
806,935 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,382 |
3 |
68 |
21.6 |
30.3 |
2,709,219 |
53,763 |
65,727 |
114,374 |
1,295,039 |
1,299,806 |
32,241 |
41 |
131,454 |
1 |
configure.ocaml |
no-host |
3,915 |
1 |
2 |
2.6 |
22.6 |
149,864 |
11,180 |
5,223 |
7,735 |
70,876 |
71,253 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.5 |
30,580 |
30,580 |
0 |
1,544 |
14,638 |
14,398 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,874 |
1 |
2 |
2.6 |
26.4 |
139,886 |
8,047 |
6,702 |
6,399 |
68,341 |
65,146 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
3 |
2.8 |
9.2 |
116,342 |
64,421 |
42,629 |
4,546 |
54,464 |
57,332 |
277 |
3 |
85,258 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,809 |
3,809 |
0 |
703 |
1,872 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
802 |
1 |
2 |
2.6 |
7.9 |
156,776 |
15,411 |
2,898 |
8,755 |
77,339 |
70,682 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,059 |
1 |
70 |
15.5 |
29.2 |
1,785,017 |
30,548 |
28,523 |
91,508 |
886,576 |
806,933 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
13,987 |
3 |
63 |
21.6 |
30.2 |
2,709,219 |
53,740 |
65,722 |
114,376 |
1,295,039 |
1,299,804 |
32,241 |
41 |
131,444 |
1 |
configure.ocaml |
no-host |
3,762 |
1 |
2 |
2.6 |
22.6 |
149,864 |
11,175 |
5,218 |
7,737 |
70,876 |
71,251 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.7 |
30,580 |
30,580 |
0 |
1,546 |
14,638 |
14,396 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,785 |
1 |
2 |
2.6 |
26.5 |
139,886 |
8,036 |
6,691 |
6,401 |
68,341 |
65,144 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,341 |
64,416 |
42,624 |
4,547 |
54,464 |
57,330 |
277 |
3 |
85,248 |
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 |
8 |
11 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
3 |
6 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
480 |
414 |
69 |
22.9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
15 |
9 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
9 |
12 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
651 |
306 |
376 |
2.9 |
bash |
9 |
no-host |
bin-true |
533 |
281 |
262 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,333 |
814 |
1,775 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
796 |
298 |
514 |
8.3 |
osh-native |
33 |
no-host |
bin-true |
802 |
290 |
523 |
7.9 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,015 |
6,757 |
8,687 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,843 |
6,722 |
8,571 |
29.1 |
dash |
18 |
no-host |
configure.cpython |
29,034 |
14,494 |
16,461 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,277 |
6,757 |
8,821 |
29.0 |
osh-native |
34 |
no-host |
configure.cpython |
15,059 |
6,508 |
8,843 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,892 |
1,411 |
1,523 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,693 |
1,290 |
1,426 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,726 |
1,943 |
2,007 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,915 |
1,356 |
1,602 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,762 |
1,302 |
1,500 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
19 |
31 |
19.5 |
bash |
13 |
no-host |
configure.tcc |
40 |
25 |
16 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
207 |
140 |
72 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
19 |
31 |
19.5 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
22 |
25 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,955 |
5,937 |
8,528 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,539 |
5,884 |
9,178 |
30.0 |
dash |
19 |
no-host |
configure.util-linux |
32,347 |
18,389 |
15,086 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,382 |
5,736 |
8,876 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
13,987 |
5,614 |
8,584 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,846 |
939 |
917 |
26.5 |
bash |
14 |
no-host |
configure.yash |
1,727 |
856 |
875 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,542 |
1,369 |
1,220 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,874 |
932 |
938 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,785 |
912 |
878 |
26.5 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
55 |
35 |
20 |
18.5 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
2 |
1 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
2 |
1 |
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,530 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,101 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
25,086 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,181 |
0 |
0 |
0 |
16 |
0 |
39 |
5 |
osh-native |
39 |
no-host |
abuild-print-help |
3,108 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,357 |
0 |
0 |
0 |
8 |
0 |
1,966 |
166 |
bash |
9 |
no-host |
bin-true |
66,379 |
0 |
0 |
0 |
8 |
0 |
1,984 |
175 |
dash |
17 |
no-host |
bin-true |
797,901 |
0 |
0 |
0 |
8 |
0 |
1,985 |
234 |
osh-cpython |
25 |
no-host |
bin-true |
126,178 |
0 |
0 |
0 |
16 |
0 |
1,977 |
115 |
osh-native |
33 |
no-host |
bin-true |
126,213 |
0 |
0 |
0 |
16 |
0 |
1,982 |
157 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,997,707 |
0 |
0 |
0 |
32,928 |
0 |
14,247 |
1,212 |
bash |
10 |
no-host |
configure.cpython |
2,027,835 |
1 |
0 |
0 |
32,992 |
0 |
14,310 |
1,153 |
dash |
18 |
no-host |
configure.cpython |
6,101,268 |
0 |
0 |
0 |
27,512 |
0 |
13,031 |
1,153 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,017,313 |
0 |
0 |
0 |
27,520 |
0 |
13,025 |
1,117 |
osh-native |
34 |
no-host |
configure.cpython |
2,007,838 |
0 |
0 |
0 |
27,520 |
0 |
13,009 |
1,188 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,424 |
0 |
0 |
0 |
5,120 |
0 |
1,948 |
189 |
bash |
12 |
no-host |
configure.ocaml |
354,168 |
0 |
0 |
0 |
5,112 |
0 |
1,939 |
180 |
dash |
20 |
no-host |
configure.ocaml |
615,874 |
1 |
0 |
0 |
5,112 |
0 |
1,851 |
208 |
osh-cpython |
28 |
no-host |
configure.ocaml |
377,192 |
0 |
0 |
0 |
5,120 |
0 |
1,924 |
179 |
osh-native |
36 |
no-host |
configure.ocaml |
376,378 |
0 |
0 |
0 |
5,120 |
0 |
1,921 |
201 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,082 |
0 |
0 |
0 |
104 |
0 |
49 |
13 |
bash |
13 |
no-host |
configure.tcc |
4,995 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,006 |
0 |
0 |
0 |
96 |
0 |
53 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,483 |
0 |
0 |
0 |
104 |
0 |
47 |
15 |
osh-native |
37 |
no-host |
configure.tcc |
6,457 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,907,401 |
0 |
0 |
0 |
42,400 |
0 |
18,442 |
1,227 |
bash |
11 |
no-host |
configure.util-linux |
2,072,238 |
0 |
0 |
0 |
42,584 |
0 |
17,305 |
1,637 |
dash |
19 |
no-host |
configure.util-linux |
5,285,816 |
9 |
0 |
0 |
39,112 |
0 |
16,959 |
1,282 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,821,079 |
0 |
0 |
0 |
39,120 |
0 |
16,996 |
1,160 |
osh-native |
35 |
no-host |
configure.util-linux |
1,810,264 |
0 |
0 |
0 |
39,128 |
0 |
17,004 |
1,298 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,946 |
0 |
0 |
0 |
4,120 |
0 |
868 |
97 |
bash |
14 |
no-host |
configure.yash |
221,702 |
0 |
0 |
0 |
3,720 |
0 |
865 |
104 |
dash |
22 |
no-host |
configure.yash |
369,525 |
0 |
0 |
0 |
3,728 |
0 |
852 |
79 |
osh-cpython |
30 |
no-host |
configure.yash |
235,274 |
0 |
0 |
0 |
3,736 |
0 |
849 |
95 |
osh-native |
38 |
no-host |
configure.yash |
235,747 |
0 |
0 |
0 |
3,736 |
0 |
850 |
118 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
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 |
346 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host