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 |
464 |
22 |
21 |
24.55 |
1.18 |
bin-true |
no-host |
672 |
546 |
2,304 |
815 |
804 |
3.43 |
1.21 |
configure.cpython |
no-host |
15,199 |
15,172 |
28,801 |
15,289 |
15,489 |
1.89 |
1.01 |
configure.ocaml |
no-host |
3,810 |
3,759 |
4,662 |
3,885 |
3,833 |
1.22 |
1.02 |
configure.tcc |
no-host |
47 |
42 |
205 |
49 |
49 |
4.33 |
1.04 |
configure.util-linux |
no-host |
14,079 |
14,980 |
31,719 |
14,532 |
14,398 |
2.25 |
1.03 |
configure.yash |
no-host |
1,828 |
1,785 |
2,484 |
1,835 |
1,839 |
1.36 |
1.00 |
hello-world |
no-host |
2 |
1 |
57 |
3 |
3 |
34.42 |
1.73 |
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,539 |
1,118 |
23,711 |
3,209 |
3,113 |
9.34 |
1.26 |
bin-true |
no-host |
105,372 |
66,403 |
774,641 |
128,228 |
125,234 |
7.35 |
1.22 |
configure.cpython |
no-host |
2,218,141 |
2,241,182 |
6,204,164 |
2,217,814 |
2,201,875 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,549 |
390,966 |
646,522 |
412,252 |
412,535 |
1.57 |
1.00 |
configure.tcc |
no-host |
6,595 |
5,477 |
24,002 |
6,976 |
6,914 |
3.64 |
1.06 |
configure.util-linux |
no-host |
2,099,154 |
2,265,221 |
5,384,857 |
1,993,617 |
1,993,488 |
2.57 |
0.95 |
configure.yash |
no-host |
256,613 |
244,622 |
387,577 |
257,927 |
257,464 |
1.51 |
1.01 |
hello-world |
no-host |
154 |
83 |
3,942 |
347 |
336 |
25.60 |
2.25 |
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 |
815 |
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,289 |
1 |
64 |
14.9 |
27.5 |
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,532 |
3 |
63 |
21.2 |
30.3 |
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,885 |
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,835 |
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 |
804 |
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,489 |
1 |
64 |
14.9 |
27.3 |
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,398 |
3 |
61 |
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,833 |
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 |
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,839 |
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 |
14 |
6 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
9 |
2 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
464 |
403 |
64 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
20 |
3 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
15 |
6 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
672 |
490 |
213 |
3.0 |
bash |
9 |
no-host |
bin-true |
546 |
416 |
138 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,304 |
1,523 |
1,032 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
815 |
576 |
254 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
804 |
593 |
229 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,199 |
9,010 |
6,576 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,172 |
9,310 |
6,284 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
28,801 |
17,409 |
13,248 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,289 |
8,956 |
6,608 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,489 |
9,033 |
6,581 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,810 |
1,658 |
1,191 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,759 |
1,637 |
1,140 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,662 |
2,284 |
1,590 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,885 |
1,635 |
1,287 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,833 |
1,602 |
1,269 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
32 |
16 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
33 |
10 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
205 |
144 |
64 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
19 |
31 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
22 |
27 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,079 |
8,973 |
5,581 |
30.4 |
bash |
11 |
no-host |
configure.util-linux |
14,980 |
9,077 |
6,400 |
30.0 |
dash |
19 |
no-host |
configure.util-linux |
31,719 |
21,338 |
11,493 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,532 |
8,600 |
6,124 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,398 |
8,736 |
5,852 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,828 |
1,026 |
811 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,785 |
1,042 |
746 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,484 |
1,512 |
1,014 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,835 |
1,037 |
802 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,839 |
1,093 |
749 |
24.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 |
57 |
31 |
26 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
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,539 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,118 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,711 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,209 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,113 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,372 |
0 |
0 |
0 |
8 |
0 |
1,992 |
56 |
bash |
9 |
no-host |
bin-true |
66,403 |
0 |
0 |
0 |
8 |
0 |
1,994 |
150 |
dash |
17 |
no-host |
bin-true |
774,641 |
0 |
0 |
0 |
8 |
0 |
1,999 |
498 |
osh-cpython |
25 |
no-host |
bin-true |
128,228 |
0 |
0 |
0 |
16 |
0 |
1,988 |
79 |
osh-native |
33 |
no-host |
bin-true |
125,234 |
0 |
0 |
0 |
16 |
0 |
1,994 |
68 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,218,141 |
0 |
0 |
0 |
32,952 |
0 |
14,644 |
1,023 |
bash |
10 |
no-host |
configure.cpython |
2,241,182 |
0 |
0 |
0 |
32,992 |
0 |
14,648 |
1,044 |
dash |
18 |
no-host |
configure.cpython |
6,204,164 |
0 |
0 |
0 |
27,512 |
0 |
13,289 |
1,205 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,217,814 |
0 |
0 |
0 |
27,520 |
0 |
13,234 |
1,119 |
osh-native |
34 |
no-host |
configure.cpython |
2,201,875 |
0 |
0 |
0 |
27,520 |
0 |
13,237 |
1,005 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,549 |
0 |
0 |
0 |
5,120 |
0 |
1,949 |
149 |
bash |
12 |
no-host |
configure.ocaml |
390,966 |
0 |
0 |
0 |
5,112 |
0 |
1,892 |
152 |
dash |
20 |
no-host |
configure.ocaml |
646,522 |
0 |
0 |
0 |
5,112 |
0 |
1,857 |
156 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,252 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
160 |
osh-native |
36 |
no-host |
configure.ocaml |
412,535 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
156 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,595 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,477 |
0 |
0 |
0 |
96 |
0 |
47 |
4 |
dash |
21 |
no-host |
configure.tcc |
24,002 |
0 |
0 |
0 |
96 |
0 |
53 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,976 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,914 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,099,154 |
0 |
0 |
0 |
42,400 |
0 |
18,564 |
1,015 |
bash |
11 |
no-host |
configure.util-linux |
2,265,221 |
1 |
0 |
0 |
42,584 |
0 |
17,482 |
1,037 |
dash |
19 |
no-host |
configure.util-linux |
5,384,857 |
10 |
0 |
0 |
39,112 |
0 |
16,934 |
1,145 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,993,617 |
0 |
0 |
0 |
39,120 |
0 |
16,951 |
956 |
osh-native |
35 |
no-host |
configure.util-linux |
1,993,488 |
0 |
0 |
0 |
39,136 |
0 |
16,981 |
1,109 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,613 |
0 |
0 |
0 |
4,120 |
0 |
869 |
70 |
bash |
14 |
no-host |
configure.yash |
244,622 |
0 |
0 |
0 |
3,720 |
0 |
872 |
103 |
dash |
22 |
no-host |
configure.yash |
387,577 |
0 |
0 |
0 |
3,728 |
0 |
851 |
103 |
osh-cpython |
30 |
no-host |
configure.yash |
257,927 |
0 |
0 |
0 |
3,736 |
0 |
850 |
70 |
osh-native |
38 |
no-host |
configure.yash |
257,464 |
0 |
0 |
0 |
3,736 |
0 |
849 |
154 |
osh-native-souffle |
0 |
no-host |
hello-world |
154 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
83 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,942 |
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 |
336 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host