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 |
464 |
22 |
21 |
24.53 |
1.16 |
bin-true |
no-host |
678 |
547 |
2,313 |
804 |
807 |
3.41 |
1.19 |
configure.cpython |
no-host |
15,056 |
15,171 |
28,666 |
15,164 |
15,308 |
1.90 |
1.01 |
configure.ocaml |
no-host |
3,798 |
3,729 |
4,633 |
3,811 |
3,812 |
1.22 |
1.00 |
configure.tcc |
no-host |
47 |
43 |
203 |
49 |
48 |
4.30 |
1.04 |
configure.util-linux |
no-host |
14,107 |
14,858 |
31,113 |
14,338 |
14,245 |
2.21 |
1.02 |
configure.yash |
no-host |
1,800 |
1,761 |
2,461 |
1,809 |
1,818 |
1.37 |
1.01 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
39.31 |
1.94 |
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,559 |
1,088 |
23,896 |
3,193 |
3,104 |
9.34 |
1.25 |
bin-true |
no-host |
106,311 |
66,495 |
774,640 |
125,304 |
125,227 |
7.29 |
1.18 |
configure.cpython |
no-host |
2,217,610 |
2,240,976 |
6,214,138 |
2,224,220 |
2,204,834 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,263 |
391,646 |
646,891 |
413,579 |
412,633 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,570 |
5,476 |
24,028 |
6,958 |
6,903 |
3.66 |
1.06 |
configure.util-linux |
no-host |
2,105,879 |
2,255,892 |
5,383,022 |
1,987,670 |
1,991,280 |
2.56 |
0.94 |
configure.yash |
no-host |
256,043 |
242,960 |
388,954 |
258,298 |
257,068 |
1.52 |
1.01 |
hello-world |
no-host |
154 |
81 |
3,943 |
344 |
338 |
25.60 |
2.23 |
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,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
804 |
1 |
2 |
2.6 |
8.3 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,164 |
1 |
62 |
14.9 |
27.3 |
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,338 |
3 |
61 |
21.2 |
30.0 |
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,811 |
1 |
2 |
2.6 |
20.2 |
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.4 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,809 |
1 |
2 |
2.5 |
24.5 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
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 |
807 |
1 |
2 |
2.6 |
7.6 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,308 |
1 |
61 |
14.9 |
27.4 |
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,245 |
2 |
59 |
21.2 |
30.1 |
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,812 |
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 |
48 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,818 |
1 |
2 |
2.5 |
24.2 |
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.8 |
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 |
15 |
4 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
8 |
1 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
464 |
411 |
57 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
14 |
9 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
11 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
678 |
482 |
224 |
3.0 |
bash |
9 |
no-host |
bin-true |
547 |
418 |
141 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,313 |
1,485 |
1,084 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
804 |
568 |
249 |
8.3 |
osh-native |
33 |
no-host |
bin-true |
807 |
575 |
247 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,056 |
9,028 |
6,426 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,171 |
9,114 |
6,476 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
28,666 |
17,503 |
13,011 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,164 |
9,031 |
6,400 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,308 |
8,658 |
6,761 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,798 |
1,623 |
1,209 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,729 |
1,602 |
1,147 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,633 |
2,247 |
1,592 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,811 |
1,614 |
1,237 |
20.2 |
osh-native |
36 |
no-host |
configure.ocaml |
3,812 |
1,591 |
1,257 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
32 |
16 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
43 |
29 |
14 |
19.1 |
dash |
21 |
no-host |
configure.tcc |
203 |
161 |
45 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
35 |
15 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
26 |
23 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,107 |
8,958 |
5,619 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,858 |
9,272 |
6,084 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,113 |
20,701 |
11,468 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,338 |
8,648 |
5,869 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
14,245 |
8,548 |
5,886 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,800 |
1,035 |
774 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,761 |
1,014 |
750 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,461 |
1,552 |
950 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,809 |
1,027 |
785 |
24.5 |
osh-native |
38 |
no-host |
configure.yash |
1,818 |
1,031 |
790 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
57 |
41 |
16 |
18.1 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
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,559 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,088 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,896 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,193 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,104 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,311 |
0 |
0 |
0 |
8 |
0 |
1,992 |
78 |
bash |
9 |
no-host |
bin-true |
66,495 |
0 |
0 |
0 |
8 |
0 |
1,997 |
67 |
dash |
17 |
no-host |
bin-true |
774,640 |
0 |
0 |
0 |
8 |
0 |
1,998 |
219 |
osh-cpython |
25 |
no-host |
bin-true |
125,304 |
0 |
0 |
0 |
16 |
0 |
1,988 |
57 |
osh-native |
33 |
no-host |
bin-true |
125,227 |
0 |
0 |
0 |
16 |
0 |
1,993 |
47 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,217,610 |
0 |
0 |
0 |
32,928 |
0 |
14,547 |
1,070 |
bash |
10 |
no-host |
configure.cpython |
2,240,976 |
0 |
0 |
0 |
32,992 |
0 |
14,489 |
1,153 |
dash |
18 |
no-host |
configure.cpython |
6,214,138 |
0 |
0 |
0 |
27,512 |
0 |
13,295 |
1,110 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,224,220 |
0 |
0 |
0 |
27,520 |
0 |
13,201 |
1,114 |
osh-native |
34 |
no-host |
configure.cpython |
2,204,834 |
0 |
0 |
0 |
27,520 |
0 |
13,206 |
912 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,263 |
0 |
0 |
0 |
5,120 |
0 |
1,958 |
135 |
bash |
12 |
no-host |
configure.ocaml |
391,646 |
0 |
0 |
0 |
5,112 |
0 |
1,939 |
169 |
dash |
20 |
no-host |
configure.ocaml |
646,891 |
0 |
0 |
0 |
5,112 |
0 |
1,861 |
179 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,579 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
168 |
osh-native |
36 |
no-host |
configure.ocaml |
412,633 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
158 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,570 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,476 |
0 |
0 |
0 |
96 |
0 |
46 |
0 |
dash |
21 |
no-host |
configure.tcc |
24,028 |
0 |
0 |
0 |
96 |
0 |
53 |
12 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,958 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,903 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,105,879 |
0 |
0 |
0 |
42,400 |
0 |
18,566 |
1,048 |
bash |
11 |
no-host |
configure.util-linux |
2,255,892 |
2 |
0 |
0 |
42,584 |
0 |
17,475 |
1,092 |
dash |
19 |
no-host |
configure.util-linux |
5,383,022 |
10 |
0 |
0 |
39,112 |
0 |
16,989 |
1,104 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,987,670 |
0 |
0 |
0 |
39,120 |
0 |
16,988 |
1,001 |
osh-native |
35 |
no-host |
configure.util-linux |
1,991,280 |
0 |
0 |
0 |
39,128 |
0 |
16,955 |
1,004 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,043 |
0 |
0 |
0 |
4,120 |
0 |
870 |
76 |
bash |
14 |
no-host |
configure.yash |
242,960 |
0 |
0 |
0 |
3,720 |
0 |
868 |
80 |
dash |
22 |
no-host |
configure.yash |
388,954 |
0 |
0 |
0 |
3,728 |
0 |
849 |
88 |
osh-cpython |
30 |
no-host |
configure.yash |
258,298 |
0 |
0 |
0 |
3,736 |
0 |
850 |
80 |
osh-native |
38 |
no-host |
configure.yash |
257,068 |
0 |
0 |
0 |
3,736 |
0 |
848 |
80 |
osh-native-souffle |
0 |
no-host |
hello-world |
154 |
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,943 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
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