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 |
467 |
29 |
21 |
24.14 |
1.52 |
bin-true |
no-host |
680 |
552 |
2,315 |
804 |
802 |
3.41 |
1.18 |
configure.cpython |
no-host |
15,406 |
15,533 |
28,932 |
15,226 |
15,350 |
1.88 |
0.99 |
configure.ocaml |
no-host |
3,862 |
3,824 |
4,633 |
3,812 |
3,851 |
1.20 |
0.99 |
configure.tcc |
no-host |
48 |
42 |
203 |
49 |
49 |
4.20 |
1.01 |
configure.util-linux |
no-host |
14,363 |
15,224 |
31,571 |
14,291 |
14,382 |
2.20 |
0.99 |
configure.yash |
no-host |
1,882 |
1,786 |
2,440 |
1,816 |
1,845 |
1.30 |
0.97 |
hello-world |
no-host |
2 |
1 |
58 |
3 |
3 |
33.97 |
1.67 |
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,521 |
1,091 |
23,706 |
3,231 |
3,097 |
9.40 |
1.28 |
bin-true |
no-host |
107,346 |
65,420 |
776,678 |
126,204 |
124,224 |
7.24 |
1.18 |
configure.cpython |
no-host |
2,222,260 |
2,236,803 |
6,220,266 |
2,215,376 |
2,203,808 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,341 |
390,938 |
647,884 |
413,338 |
412,405 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,587 |
5,473 |
24,086 |
6,957 |
6,901 |
3.66 |
1.06 |
configure.util-linux |
no-host |
2,108,069 |
2,258,677 |
5,390,053 |
1,991,592 |
1,991,127 |
2.56 |
0.94 |
configure.yash |
no-host |
256,282 |
244,498 |
389,136 |
257,810 |
257,507 |
1.52 |
1.01 |
hello-world |
no-host |
153 |
78 |
3,947 |
347 |
341 |
25.80 |
2.27 |
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.2 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
804 |
1 |
2 |
2.6 |
8.0 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,226 |
1 |
61 |
14.9 |
27.4 |
1,771,747 |
49,125 |
28,512 |
85,415 |
878,115 |
808,217 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,291 |
3 |
58 |
21.2 |
30.4 |
2,702,513 |
45,898 |
65,711 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,422 |
1 |
configure.ocaml |
no-host |
3,812 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,816 |
1 |
2 |
2.5 |
24.2 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
29 |
1 |
3 |
2.8 |
9.0 |
116,292 |
64,403 |
42,613 |
4,532 |
54,436 |
57,324 |
277 |
3 |
85,226 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
802 |
1 |
2 |
2.6 |
7.7 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,350 |
1 |
61 |
14.9 |
27.5 |
1,771,746 |
44,577 |
28,450 |
85,416 |
878,115 |
808,215 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,382 |
3 |
58 |
21.2 |
30.3 |
2,702,513 |
53,693 |
65,649 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,298 |
1 |
configure.ocaml |
no-host |
3,851 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,050 |
5,145 |
7,510 |
70,969 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,845 |
1 |
2 |
2.5 |
24.4 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,291 |
64,341 |
42,551 |
4,533 |
54,436 |
57,322 |
277 |
3 |
85,102 |
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 |
18 |
2 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
7 |
3 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
467 |
403 |
67 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
29 |
24 |
4 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
15 |
7 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
680 |
494 |
218 |
3.0 |
bash |
9 |
no-host |
bin-true |
552 |
421 |
137 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,315 |
1,505 |
1,075 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
804 |
577 |
241 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
802 |
574 |
244 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,406 |
9,291 |
6,514 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,533 |
9,431 |
6,525 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
28,932 |
17,368 |
13,437 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,226 |
8,863 |
6,630 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,350 |
8,990 |
6,475 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,862 |
1,634 |
1,270 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,824 |
1,600 |
1,244 |
20.4 |
dash |
20 |
no-host |
configure.ocaml |
4,633 |
2,196 |
1,647 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,812 |
1,555 |
1,296 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,851 |
1,638 |
1,250 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
27 |
22 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
23 |
19 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
203 |
159 |
47 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
27 |
22 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
19 |
30 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,363 |
8,914 |
5,919 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,224 |
9,357 |
6,364 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,571 |
21,077 |
11,596 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,291 |
8,663 |
5,808 |
30.4 |
osh-native |
35 |
no-host |
configure.util-linux |
14,382 |
8,400 |
6,172 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,882 |
1,025 |
863 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,786 |
1,063 |
727 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,440 |
1,498 |
983 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,816 |
1,054 |
766 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,845 |
1,107 |
742 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.3 |
dash |
16 |
no-host |
hello-world |
58 |
54 |
4 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,521 |
0 |
0 |
0 |
16 |
0 |
41 |
3 |
bash |
15 |
no-host |
abuild-print-help |
1,091 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,706 |
0 |
0 |
0 |
8 |
0 |
45 |
9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,231 |
0 |
0 |
0 |
16 |
0 |
39 |
16 |
osh-native |
39 |
no-host |
abuild-print-help |
3,097 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,346 |
0 |
0 |
0 |
8 |
0 |
1,991 |
46 |
bash |
9 |
no-host |
bin-true |
65,420 |
0 |
0 |
0 |
8 |
0 |
1,988 |
39 |
dash |
17 |
no-host |
bin-true |
776,678 |
0 |
0 |
0 |
8 |
0 |
1,999 |
241 |
osh-cpython |
25 |
no-host |
bin-true |
126,204 |
0 |
0 |
0 |
16 |
0 |
2,000 |
73 |
osh-native |
33 |
no-host |
bin-true |
124,224 |
0 |
0 |
0 |
16 |
0 |
1,992 |
56 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,222,260 |
0 |
0 |
0 |
32,928 |
0 |
14,506 |
1,082 |
bash |
10 |
no-host |
configure.cpython |
2,236,803 |
0 |
0 |
0 |
32,992 |
0 |
14,660 |
1,014 |
dash |
18 |
no-host |
configure.cpython |
6,220,266 |
1 |
0 |
0 |
27,512 |
0 |
13,248 |
1,232 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,215,376 |
0 |
0 |
0 |
27,520 |
0 |
13,248 |
936 |
osh-native |
34 |
no-host |
configure.cpython |
2,203,808 |
0 |
0 |
0 |
27,520 |
0 |
13,217 |
1,129 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,341 |
0 |
0 |
0 |
5,120 |
0 |
1,946 |
116 |
bash |
12 |
no-host |
configure.ocaml |
390,938 |
0 |
0 |
0 |
5,112 |
0 |
1,879 |
155 |
dash |
20 |
no-host |
configure.ocaml |
647,884 |
0 |
0 |
0 |
5,112 |
0 |
1,853 |
175 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,338 |
0 |
0 |
0 |
5,120 |
0 |
1,935 |
176 |
osh-native |
36 |
no-host |
configure.ocaml |
412,405 |
0 |
0 |
0 |
5,120 |
0 |
1,934 |
137 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,587 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,473 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,086 |
0 |
0 |
0 |
96 |
0 |
53 |
14 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,957 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,901 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,108,069 |
1 |
0 |
0 |
42,400 |
0 |
18,584 |
1,205 |
bash |
11 |
no-host |
configure.util-linux |
2,258,677 |
1 |
0 |
0 |
42,592 |
0 |
17,431 |
1,136 |
dash |
19 |
no-host |
configure.util-linux |
5,390,053 |
11 |
0 |
0 |
39,120 |
0 |
16,909 |
1,241 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,991,592 |
0 |
0 |
0 |
39,128 |
0 |
16,893 |
995 |
osh-native |
35 |
no-host |
configure.util-linux |
1,991,127 |
0 |
0 |
0 |
39,136 |
0 |
16,956 |
1,055 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,282 |
0 |
0 |
0 |
4,120 |
0 |
869 |
84 |
bash |
14 |
no-host |
configure.yash |
244,498 |
0 |
0 |
0 |
3,720 |
0 |
867 |
90 |
dash |
22 |
no-host |
configure.yash |
389,136 |
0 |
0 |
0 |
3,728 |
0 |
853 |
86 |
osh-cpython |
30 |
no-host |
configure.yash |
257,810 |
0 |
0 |
0 |
3,736 |
0 |
852 |
72 |
osh-native |
38 |
no-host |
configure.yash |
257,507 |
0 |
0 |
0 |
3,736 |
0 |
848 |
82 |
osh-native-souffle |
0 |
no-host |
hello-world |
153 |
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,947 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
347 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host