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 |
10 |
456 |
22 |
22 |
23.86 |
1.15 |
bin-true |
no-host |
684 |
542 |
2,310 |
806 |
810 |
3.38 |
1.18 |
configure.cpython |
no-host |
14,892 |
14,951 |
28,605 |
15,106 |
15,242 |
1.92 |
1.01 |
configure.ocaml |
no-host |
3,790 |
3,707 |
4,620 |
3,786 |
3,804 |
1.22 |
1.00 |
configure.tcc |
no-host |
48 |
41 |
202 |
49 |
49 |
4.24 |
1.03 |
configure.util-linux |
no-host |
13,906 |
14,786 |
31,167 |
14,284 |
14,224 |
2.24 |
1.03 |
configure.yash |
no-host |
1,799 |
1,777 |
2,443 |
1,810 |
1,813 |
1.36 |
1.01 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
38.11 |
1.93 |
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,546 |
1,110 |
23,701 |
3,216 |
3,114 |
9.31 |
1.26 |
bin-true |
no-host |
107,336 |
66,384 |
776,384 |
124,181 |
125,135 |
7.23 |
1.16 |
configure.cpython |
no-host |
2,226,218 |
2,239,853 |
6,216,528 |
2,218,541 |
2,212,818 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,611 |
391,321 |
646,960 |
412,493 |
411,795 |
1.58 |
1.00 |
configure.tcc |
no-host |
6,583 |
5,480 |
23,951 |
6,974 |
6,919 |
3.64 |
1.06 |
configure.util-linux |
no-host |
2,094,914 |
2,258,841 |
5,367,588 |
1,998,327 |
1,982,760 |
2.56 |
0.95 |
configure.yash |
no-host |
256,908 |
244,973 |
388,383 |
257,660 |
257,210 |
1.51 |
1.00 |
hello-world |
no-host |
151 |
81 |
3,999 |
345 |
338 |
26.48 |
2.28 |
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,790 |
3,790 |
0 |
697 |
1,863 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
806 |
1 |
2 |
2.6 |
8.1 |
153,754 |
12,327 |
2,892 |
8,746 |
76,327 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,106 |
1 |
60 |
14.9 |
27.4 |
1,771,755 |
49,130 |
28,517 |
85,418 |
878,120 |
808,217 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,284 |
3 |
58 |
21.2 |
30.3 |
2,702,521 |
45,805 |
65,716 |
108,694 |
1,290,645 |
1,303,182 |
32,239 |
41 |
131,432 |
1 |
configure.ocaml |
no-host |
3,786 |
1 |
2 |
2.6 |
20.6 |
150,088 |
11,117 |
5,212 |
7,511 |
70,974 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.3 |
30,594 |
30,594 |
0 |
1,521 |
14,646 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,810 |
1 |
2 |
2.6 |
24.2 |
139,420 |
8,029 |
6,691 |
5,992 |
67,947 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,300 |
64,408 |
42,618 |
4,535 |
54,441 |
57,324 |
277 |
3 |
85,236 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.8 |
3,789 |
3,789 |
0 |
698 |
1,863 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
810 |
1 |
2 |
2.6 |
7.7 |
153,753 |
12,116 |
2,830 |
8,747 |
76,327 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,242 |
1 |
59 |
14.9 |
27.3 |
1,771,754 |
49,068 |
28,455 |
85,419 |
878,120 |
808,215 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,224 |
3 |
59 |
21.2 |
30.3 |
2,702,521 |
53,698 |
65,654 |
108,696 |
1,290,645 |
1,303,180 |
32,239 |
41 |
131,308 |
1 |
configure.ocaml |
no-host |
3,804 |
0 |
2 |
2.6 |
20.6 |
150,088 |
11,055 |
5,150 |
7,513 |
70,974 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.4 |
30,594 |
30,594 |
0 |
1,523 |
14,646 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,813 |
1 |
2 |
2.6 |
24.2 |
139,420 |
7,967 |
6,629 |
5,994 |
67,947 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.4 |
116,299 |
64,346 |
42,556 |
4,536 |
54,441 |
57,322 |
277 |
3 |
85,112 |
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.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
8 |
2 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
456 |
405 |
53 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
14 |
9 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
17 |
6 |
8.4 |
osh-native-souffle |
1 |
no-host |
bin-true |
684 |
490 |
224 |
3.0 |
bash |
9 |
no-host |
bin-true |
542 |
409 |
141 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,310 |
1,486 |
1,084 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
806 |
586 |
235 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
810 |
572 |
254 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,892 |
9,074 |
6,219 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
14,951 |
8,830 |
6,540 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
28,605 |
17,624 |
12,840 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,106 |
8,908 |
6,466 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,242 |
9,008 |
6,362 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,790 |
1,569 |
1,257 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,707 |
1,631 |
1,095 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,620 |
2,206 |
1,625 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,786 |
1,596 |
1,229 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,804 |
1,600 |
1,242 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
31 |
17 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
41 |
21 |
20 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
202 |
138 |
67 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
34 |
15 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
37 |
12 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,906 |
8,761 |
5,624 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,786 |
9,176 |
6,112 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,167 |
20,897 |
11,369 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,284 |
8,571 |
5,913 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,224 |
8,650 |
5,789 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,799 |
1,062 |
744 |
24.5 |
bash |
14 |
no-host |
configure.yash |
1,777 |
1,000 |
780 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,443 |
1,451 |
1,033 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,810 |
1,018 |
797 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,813 |
1,030 |
787 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
28 |
28 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,546 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,110 |
0 |
0 |
0 |
8 |
0 |
38 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,701 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,216 |
0 |
0 |
0 |
16 |
0 |
39 |
7 |
osh-native |
39 |
no-host |
abuild-print-help |
3,114 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,336 |
0 |
0 |
0 |
8 |
0 |
1,987 |
40 |
bash |
9 |
no-host |
bin-true |
66,384 |
0 |
0 |
0 |
8 |
0 |
1,980 |
52 |
dash |
17 |
no-host |
bin-true |
776,384 |
0 |
0 |
0 |
8 |
0 |
1,998 |
100 |
osh-cpython |
25 |
no-host |
bin-true |
124,181 |
0 |
0 |
0 |
16 |
0 |
1,995 |
75 |
osh-native |
33 |
no-host |
bin-true |
125,135 |
0 |
0 |
0 |
16 |
0 |
1,992 |
73 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,226,218 |
0 |
0 |
0 |
32,928 |
0 |
14,504 |
1,029 |
bash |
10 |
no-host |
configure.cpython |
2,239,853 |
0 |
0 |
0 |
32,992 |
0 |
14,595 |
1,053 |
dash |
18 |
no-host |
configure.cpython |
6,216,528 |
1 |
0 |
0 |
27,512 |
0 |
13,234 |
1,215 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,218,541 |
0 |
0 |
0 |
27,520 |
0 |
13,201 |
996 |
osh-native |
34 |
no-host |
configure.cpython |
2,212,818 |
0 |
0 |
0 |
27,520 |
0 |
13,284 |
973 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,611 |
0 |
0 |
0 |
5,120 |
0 |
1,962 |
183 |
bash |
12 |
no-host |
configure.ocaml |
391,321 |
0 |
0 |
0 |
5,112 |
0 |
1,878 |
154 |
dash |
20 |
no-host |
configure.ocaml |
646,960 |
0 |
0 |
0 |
5,112 |
0 |
1,868 |
183 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,493 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
177 |
osh-native |
36 |
no-host |
configure.ocaml |
411,795 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
182 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,583 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,480 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,951 |
0 |
0 |
0 |
96 |
0 |
53 |
19 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,974 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,919 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,094,914 |
0 |
0 |
0 |
42,408 |
0 |
18,544 |
1,062 |
bash |
11 |
no-host |
configure.util-linux |
2,258,841 |
1 |
0 |
0 |
42,592 |
0 |
17,435 |
1,122 |
dash |
19 |
no-host |
configure.util-linux |
5,367,588 |
13 |
0 |
0 |
39,120 |
0 |
16,962 |
1,128 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,998,327 |
0 |
0 |
0 |
39,128 |
0 |
16,973 |
923 |
osh-native |
35 |
no-host |
configure.util-linux |
1,982,760 |
0 |
0 |
0 |
39,136 |
0 |
16,996 |
963 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,908 |
0 |
0 |
0 |
4,120 |
0 |
870 |
88 |
bash |
14 |
no-host |
configure.yash |
244,973 |
0 |
0 |
0 |
3,720 |
0 |
867 |
104 |
dash |
22 |
no-host |
configure.yash |
388,383 |
0 |
0 |
0 |
3,728 |
0 |
854 |
88 |
osh-cpython |
30 |
no-host |
configure.yash |
257,660 |
0 |
0 |
0 |
3,736 |
0 |
847 |
100 |
osh-native |
38 |
no-host |
configure.yash |
257,210 |
0 |
0 |
0 |
3,736 |
0 |
847 |
62 |
osh-native-souffle |
0 |
no-host |
hello-world |
151 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
81 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,999 |
0 |
0 |
0 |
8 |
0 |
7 |
8 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host