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 |
476 |
23 |
20 |
24.58 |
1.20 |
bin-true |
no-host |
658 |
542 |
2,334 |
799 |
802 |
3.55 |
1.21 |
configure.cpython |
no-host |
15,062 |
15,362 |
29,619 |
15,574 |
15,486 |
1.97 |
1.03 |
configure.ocaml |
no-host |
3,859 |
3,779 |
4,741 |
3,879 |
3,836 |
1.23 |
1.01 |
configure.tcc |
no-host |
47 |
41 |
209 |
50 |
49 |
4.44 |
1.06 |
configure.util-linux |
no-host |
14,172 |
14,985 |
33,044 |
14,546 |
14,396 |
2.33 |
1.03 |
configure.yash |
no-host |
1,842 |
1,814 |
2,525 |
1,913 |
1,846 |
1.37 |
1.04 |
hello-world |
no-host |
2 |
1 |
61 |
3 |
3 |
37.44 |
1.75 |
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,540 |
1,130 |
23,511 |
3,217 |
3,115 |
9.26 |
1.27 |
bin-true |
no-host |
103,338 |
66,462 |
769,084 |
124,137 |
125,245 |
7.44 |
1.20 |
configure.cpython |
no-host |
1,994,774 |
2,019,892 |
5,997,639 |
2,006,874 |
1,983,282 |
3.01 |
1.01 |
configure.ocaml |
no-host |
373,519 |
353,808 |
606,503 |
376,247 |
374,903 |
1.62 |
1.01 |
configure.tcc |
no-host |
6,077 |
4,996 |
23,522 |
6,493 |
6,418 |
3.87 |
1.07 |
configure.util-linux |
no-host |
1,903,581 |
2,068,159 |
5,166,921 |
1,815,236 |
1,795,669 |
2.71 |
0.95 |
configure.yash |
no-host |
233,693 |
222,157 |
364,073 |
235,199 |
234,505 |
1.56 |
1.01 |
hello-world |
no-host |
150 |
80 |
3,958 |
346 |
337 |
26.39 |
2.31 |
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 |
799 |
1 |
2 |
2.6 |
8.0 |
153,753 |
12,329 |
2,894 |
8,744 |
76,325 |
68,684 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,574 |
1 |
71 |
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 |
14,546 |
3 |
67 |
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 |
3,879 |
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 |
50 |
0 |
0 |
1.3 |
19.4 |
30,539 |
30,539 |
0 |
1,519 |
14,608 |
14,412 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,913 |
1 |
2 |
2.5 |
26.4 |
139,269 |
8,031 |
6,693 |
5,990 |
67,845 |
65,434 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
9.0 |
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.8 |
3,788 |
3,788 |
0 |
696 |
1,861 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
802 |
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 |
15,486 |
2 |
71 |
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 |
14,396 |
3 |
67 |
21.2 |
30.3 |
2,698,991 |
29,878 |
65,656 |
108,702 |
1,288,281 |
1,302,008 |
32,241 |
41 |
131,312 |
1 |
configure.ocaml |
no-host |
3,836 |
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 |
49 |
0 |
0 |
1.3 |
19.6 |
30,539 |
30,539 |
0 |
1,521 |
14,608 |
14,410 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,846 |
1 |
2 |
2.5 |
26.3 |
139,269 |
7,969 |
6,631 |
5,992 |
67,845 |
65,432 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
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 |
19 |
11 |
9 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
5 |
4 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
476 |
416 |
64 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
15 |
9 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
12 |
9 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
658 |
304 |
388 |
3.0 |
bash |
9 |
no-host |
bin-true |
542 |
282 |
272 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,334 |
779 |
1,825 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
799 |
288 |
529 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
802 |
290 |
530 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,062 |
6,731 |
8,758 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
15,362 |
6,803 |
9,018 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
29,619 |
14,783 |
16,835 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,574 |
6,798 |
9,082 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
15,486 |
6,733 |
9,047 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,859 |
1,358 |
1,538 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,779 |
1,320 |
1,482 |
22.5 |
dash |
20 |
no-host |
configure.ocaml |
4,741 |
1,947 |
2,014 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,879 |
1,381 |
1,540 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,836 |
1,356 |
1,520 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
24 |
24 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
41 |
13 |
28 |
19.8 |
dash |
21 |
no-host |
configure.tcc |
209 |
139 |
73 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
20 |
30 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
21 |
28 |
19.6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,172 |
6,028 |
8,646 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,985 |
5,986 |
9,529 |
30.5 |
dash |
19 |
no-host |
configure.util-linux |
33,044 |
18,843 |
15,374 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,546 |
5,710 |
9,074 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,396 |
5,774 |
8,844 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,842 |
913 |
939 |
26.5 |
bash |
14 |
no-host |
configure.yash |
1,814 |
926 |
893 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,525 |
1,405 |
1,165 |
26.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,913 |
923 |
984 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,846 |
934 |
917 |
26.3 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
16 |
no-host |
hello-world |
61 |
41 |
20 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
5.8 |
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,540 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,130 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,511 |
0 |
0 |
0 |
8 |
0 |
45 |
4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,217 |
0 |
0 |
0 |
16 |
0 |
40 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,115 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
103,338 |
0 |
0 |
0 |
8 |
0 |
1,978 |
105 |
bash |
9 |
no-host |
bin-true |
66,462 |
0 |
0 |
0 |
8 |
0 |
1,983 |
164 |
dash |
17 |
no-host |
bin-true |
769,084 |
0 |
0 |
0 |
8 |
0 |
1,989 |
338 |
osh-cpython |
25 |
no-host |
bin-true |
124,137 |
0 |
0 |
0 |
16 |
0 |
1,977 |
116 |
osh-native |
33 |
no-host |
bin-true |
125,245 |
0 |
0 |
0 |
16 |
0 |
1,980 |
134 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,994,774 |
0 |
0 |
0 |
32,928 |
0 |
14,212 |
1,289 |
bash |
10 |
no-host |
configure.cpython |
2,019,892 |
0 |
0 |
0 |
32,992 |
0 |
14,314 |
1,171 |
dash |
18 |
no-host |
configure.cpython |
5,997,639 |
0 |
0 |
0 |
27,512 |
0 |
13,035 |
1,114 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,006,874 |
0 |
0 |
0 |
27,520 |
0 |
13,050 |
1,027 |
osh-native |
34 |
no-host |
configure.cpython |
1,983,282 |
0 |
0 |
0 |
27,520 |
0 |
13,083 |
1,028 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,519 |
0 |
0 |
0 |
5,120 |
0 |
1,951 |
188 |
bash |
12 |
no-host |
configure.ocaml |
353,808 |
0 |
0 |
0 |
5,112 |
0 |
1,939 |
172 |
dash |
20 |
no-host |
configure.ocaml |
606,503 |
0 |
0 |
0 |
5,112 |
0 |
1,856 |
194 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,247 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
208 |
osh-native |
36 |
no-host |
configure.ocaml |
374,903 |
0 |
0 |
0 |
5,120 |
0 |
1,922 |
186 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,077 |
0 |
0 |
0 |
104 |
0 |
49 |
4 |
bash |
13 |
no-host |
configure.tcc |
4,996 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,522 |
0 |
0 |
0 |
96 |
0 |
53 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,493 |
0 |
0 |
0 |
104 |
0 |
47 |
6 |
osh-native |
37 |
no-host |
configure.tcc |
6,418 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,903,581 |
1 |
0 |
0 |
42,400 |
0 |
18,459 |
1,273 |
bash |
11 |
no-host |
configure.util-linux |
2,068,159 |
0 |
0 |
0 |
42,584 |
0 |
17,221 |
1,473 |
dash |
19 |
no-host |
configure.util-linux |
5,166,921 |
10 |
0 |
0 |
39,152 |
0 |
17,002 |
1,359 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,815,236 |
1 |
0 |
0 |
39,128 |
0 |
16,999 |
1,222 |
osh-native |
35 |
no-host |
configure.util-linux |
1,795,669 |
3 |
0 |
0 |
39,136 |
0 |
16,949 |
1,152 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,693 |
0 |
0 |
0 |
4,120 |
0 |
869 |
88 |
bash |
14 |
no-host |
configure.yash |
222,157 |
0 |
0 |
0 |
3,720 |
0 |
871 |
98 |
dash |
22 |
no-host |
configure.yash |
364,073 |
0 |
0 |
0 |
3,728 |
0 |
853 |
80 |
osh-cpython |
30 |
no-host |
configure.yash |
235,199 |
0 |
0 |
0 |
3,736 |
0 |
851 |
107 |
osh-native |
38 |
no-host |
configure.yash |
234,505 |
0 |
0 |
0 |
3,736 |
0 |
852 |
86 |
osh-native-souffle |
0 |
no-host |
hello-world |
150 |
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,958 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host