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 |
472 |
22 |
21 |
24.74 |
1.16 |
bin-true |
no-host |
675 |
539 |
2,296 |
823 |
812 |
3.40 |
1.22 |
configure.cpython |
no-host |
14,997 |
15,072 |
28,728 |
15,188 |
15,294 |
1.92 |
1.01 |
configure.ocaml |
no-host |
3,844 |
3,746 |
4,663 |
3,823 |
3,840 |
1.21 |
0.99 |
configure.tcc |
no-host |
48 |
42 |
204 |
48 |
48 |
4.26 |
1.00 |
configure.util-linux |
no-host |
13,970 |
14,856 |
31,335 |
14,306 |
14,294 |
2.24 |
1.02 |
configure.yash |
no-host |
1,820 |
1,779 |
2,468 |
1,819 |
1,825 |
1.36 |
1.00 |
hello-world |
no-host |
2 |
1 |
56 |
3 |
3 |
36.64 |
1.83 |
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,518 |
1,129 |
23,696 |
3,207 |
3,075 |
9.41 |
1.27 |
bin-true |
no-host |
107,377 |
66,411 |
775,700 |
128,265 |
126,255 |
7.22 |
1.19 |
configure.cpython |
no-host |
2,219,506 |
2,243,617 |
6,215,626 |
2,216,927 |
2,202,929 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,505 |
391,124 |
647,321 |
413,355 |
412,975 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,556 |
5,482 |
24,086 |
6,961 |
6,906 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,107,316 |
2,262,441 |
5,391,254 |
2,000,685 |
1,990,544 |
2.56 |
0.95 |
configure.yash |
no-host |
256,588 |
245,098 |
389,703 |
257,997 |
258,276 |
1.52 |
1.01 |
hello-world |
no-host |
152 |
80 |
3,946 |
343 |
337 |
25.96 |
2.26 |
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.4 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
823 |
1 |
2 |
2.6 |
8.1 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,188 |
1 |
62 |
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,306 |
3 |
60 |
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,823 |
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 |
48 |
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,819 |
1 |
2 |
2.5 |
24.4 |
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.2 |
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 |
812 |
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,294 |
1 |
60 |
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,294 |
3 |
60 |
21.2 |
30.0 |
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,840 |
1 |
2 |
2.6 |
20.4 |
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,825 |
1 |
2 |
2.5 |
26.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.5 |
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.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
7 |
3 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
472 |
438 |
36 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
19 |
3 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
10 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
675 |
505 |
200 |
3.0 |
bash |
9 |
no-host |
bin-true |
539 |
421 |
124 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,296 |
1,486 |
1,069 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
823 |
590 |
249 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
812 |
570 |
256 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,997 |
8,878 |
6,523 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
15,072 |
9,036 |
6,456 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,728 |
17,513 |
13,069 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,188 |
9,056 |
6,393 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,294 |
8,896 |
6,532 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,844 |
1,619 |
1,254 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,746 |
1,598 |
1,166 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,663 |
2,283 |
1,592 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,823 |
1,707 |
1,157 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,840 |
1,670 |
1,204 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
24 |
25 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
28 |
14 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
204 |
147 |
60 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
23 |
26 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
32 |
17 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,970 |
8,873 |
5,577 |
29.9 |
bash |
11 |
no-host |
configure.util-linux |
14,856 |
9,069 |
6,274 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,335 |
21,081 |
11,339 |
30.4 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,306 |
8,763 |
5,739 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
14,294 |
8,612 |
5,877 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,820 |
1,005 |
823 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,779 |
1,032 |
749 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,468 |
1,527 |
984 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,819 |
1,097 |
727 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,825 |
1,054 |
774 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
41 |
15 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,518 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,129 |
0 |
0 |
0 |
8 |
0 |
39 |
2 |
dash |
23 |
no-host |
abuild-print-help |
23,696 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,207 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,075 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,377 |
0 |
0 |
0 |
8 |
0 |
1,990 |
57 |
bash |
9 |
no-host |
bin-true |
66,411 |
0 |
0 |
0 |
8 |
0 |
1,986 |
53 |
dash |
17 |
no-host |
bin-true |
775,700 |
0 |
0 |
0 |
8 |
0 |
1,995 |
98 |
osh-cpython |
25 |
no-host |
bin-true |
128,265 |
0 |
0 |
0 |
16 |
0 |
1,995 |
121 |
osh-native |
33 |
no-host |
bin-true |
126,255 |
0 |
0 |
0 |
16 |
0 |
1,989 |
85 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,219,506 |
0 |
0 |
0 |
32,928 |
0 |
14,420 |
1,144 |
bash |
10 |
no-host |
configure.cpython |
2,243,617 |
0 |
0 |
0 |
32,992 |
0 |
14,672 |
1,132 |
dash |
18 |
no-host |
configure.cpython |
6,215,626 |
0 |
0 |
0 |
27,512 |
0 |
13,204 |
1,253 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,216,927 |
0 |
0 |
0 |
27,520 |
0 |
13,268 |
1,112 |
osh-native |
34 |
no-host |
configure.cpython |
2,202,929 |
0 |
0 |
0 |
27,520 |
0 |
13,245 |
986 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,505 |
0 |
0 |
0 |
5,120 |
0 |
1,960 |
147 |
bash |
12 |
no-host |
configure.ocaml |
391,124 |
0 |
0 |
0 |
5,112 |
0 |
1,909 |
141 |
dash |
20 |
no-host |
configure.ocaml |
647,321 |
0 |
0 |
0 |
5,112 |
0 |
1,855 |
166 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,355 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
154 |
osh-native |
36 |
no-host |
configure.ocaml |
412,975 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
165 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,556 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,482 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,086 |
0 |
0 |
0 |
96 |
0 |
53 |
14 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,961 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,906 |
0 |
0 |
0 |
104 |
0 |
46 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,107,316 |
0 |
0 |
0 |
42,400 |
0 |
18,554 |
1,056 |
bash |
11 |
no-host |
configure.util-linux |
2,262,441 |
0 |
0 |
0 |
42,584 |
0 |
17,429 |
1,113 |
dash |
19 |
no-host |
configure.util-linux |
5,391,254 |
11 |
0 |
0 |
39,112 |
0 |
17,036 |
1,253 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,000,685 |
1 |
0 |
0 |
39,120 |
0 |
16,941 |
918 |
osh-native |
35 |
no-host |
configure.util-linux |
1,990,544 |
6 |
0 |
0 |
39,128 |
0 |
16,922 |
901 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,588 |
0 |
0 |
0 |
4,120 |
0 |
874 |
73 |
bash |
14 |
no-host |
configure.yash |
245,098 |
0 |
0 |
0 |
3,720 |
0 |
870 |
78 |
dash |
22 |
no-host |
configure.yash |
389,703 |
0 |
0 |
0 |
3,728 |
0 |
851 |
90 |
osh-cpython |
30 |
no-host |
configure.yash |
257,997 |
0 |
0 |
0 |
3,736 |
0 |
852 |
70 |
osh-native |
38 |
no-host |
configure.yash |
258,276 |
0 |
0 |
0 |
3,736 |
0 |
848 |
89 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
80 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,946 |
0 |
0 |
0 |
8 |
0 |
7 |
6 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
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