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 |
478 |
22 |
21 |
25.79 |
1.19 |
bin-true |
no-host |
656 |
528 |
2,404 |
796 |
799 |
3.67 |
1.21 |
configure.cpython |
no-host |
14,905 |
14,928 |
29,204 |
15,193 |
15,159 |
1.96 |
1.02 |
configure.ocaml |
no-host |
3,790 |
3,718 |
4,730 |
3,847 |
3,864 |
1.25 |
1.01 |
configure.tcc |
no-host |
47 |
41 |
210 |
48 |
48 |
4.49 |
1.02 |
configure.util-linux |
no-host |
13,848 |
14,671 |
32,229 |
14,503 |
14,396 |
2.33 |
1.05 |
configure.yash |
no-host |
1,852 |
1,770 |
2,510 |
1,829 |
1,843 |
1.36 |
0.99 |
hello-world |
no-host |
1 |
1 |
58 |
3 |
3 |
42.23 |
2.02 |
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,541 |
1,098 |
24,656 |
3,208 |
3,115 |
9.70 |
1.26 |
bin-true |
no-host |
105,372 |
65,445 |
804,489 |
128,178 |
128,203 |
7.63 |
1.22 |
configure.cpython |
no-host |
1,991,666 |
2,032,194 |
6,113,995 |
2,018,642 |
2,003,321 |
3.07 |
1.01 |
configure.ocaml |
no-host |
373,061 |
353,569 |
616,562 |
376,997 |
375,862 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,099 |
5,018 |
24,078 |
6,506 |
6,473 |
3.95 |
1.07 |
configure.util-linux |
no-host |
1,912,871 |
2,072,636 |
5,296,289 |
1,819,285 |
1,807,245 |
2.77 |
0.95 |
configure.yash |
no-host |
233,496 |
222,299 |
369,419 |
235,874 |
234,557 |
1.58 |
1.01 |
hello-world |
no-host |
149 |
78 |
3,975 |
344 |
338 |
26.68 |
2.31 |
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.4 |
3,807 |
3,807 |
0 |
701 |
1,870 |
1,236 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
796 |
1 |
2 |
2.6 |
8.1 |
156,774 |
15,415 |
2,902 |
8,753 |
77,337 |
70,684 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,193 |
1 |
69 |
15.5 |
29.2 |
1,785,015 |
30,560 |
28,527 |
91,506 |
886,575 |
806,934 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,503 |
3 |
67 |
21.6 |
30.1 |
2,709,216 |
53,762 |
65,706 |
114,373 |
1,295,038 |
1,299,805 |
32,241 |
41 |
131,412 |
1 |
configure.ocaml |
no-host |
3,847 |
1 |
2 |
2.6 |
22.5 |
149,861 |
11,179 |
5,222 |
7,734 |
70,874 |
71,253 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.6 |
30,577 |
30,577 |
0 |
1,543 |
14,636 |
14,398 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,829 |
1 |
2 |
2.6 |
26.4 |
139,883 |
8,046 |
6,701 |
6,398 |
68,339 |
65,146 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,339 |
64,420 |
42,628 |
4,545 |
54,462 |
57,332 |
277 |
3 |
85,256 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.8 |
3,806 |
3,806 |
0 |
702 |
1,870 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
799 |
1 |
2 |
2.6 |
7.9 |
156,773 |
15,410 |
2,897 |
8,754 |
77,337 |
70,682 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,159 |
1 |
68 |
15.4 |
29.1 |
1,785,014 |
30,547 |
28,522 |
91,507 |
886,575 |
806,932 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,396 |
3 |
65 |
21.6 |
30.3 |
2,709,216 |
53,739 |
65,721 |
114,375 |
1,295,038 |
1,299,803 |
32,241 |
41 |
131,442 |
1 |
configure.ocaml |
no-host |
3,864 |
1 |
2 |
2.6 |
22.6 |
149,861 |
11,174 |
5,217 |
7,736 |
70,874 |
71,251 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.6 |
30,577 |
30,577 |
0 |
1,545 |
14,636 |
14,396 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,843 |
1 |
2 |
2.6 |
26.3 |
139,883 |
8,035 |
6,690 |
6,400 |
68,339 |
65,144 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.8 |
116,338 |
64,415 |
42,623 |
4,546 |
54,462 |
57,330 |
277 |
3 |
85,246 |
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 |
12 |
7 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
478 |
416 |
65 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
10 |
12 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
15 |
7 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
656 |
306 |
386 |
2.9 |
bash |
9 |
no-host |
bin-true |
528 |
275 |
264 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,404 |
783 |
1,886 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
796 |
292 |
522 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
799 |
294 |
522 |
7.9 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,905 |
6,732 |
8,583 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,928 |
6,840 |
8,529 |
29.3 |
dash |
18 |
no-host |
configure.cpython |
29,204 |
14,359 |
16,787 |
29.1 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,193 |
6,728 |
8,758 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
15,159 |
6,705 |
8,743 |
29.1 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,790 |
1,337 |
1,494 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,718 |
1,323 |
1,417 |
22.5 |
dash |
20 |
no-host |
configure.ocaml |
4,730 |
1,903 |
2,050 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,847 |
1,345 |
1,542 |
22.5 |
osh-native |
36 |
no-host |
configure.ocaml |
3,864 |
1,309 |
1,593 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
23 |
25 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
41 |
22 |
19 |
19.8 |
dash |
21 |
no-host |
configure.tcc |
210 |
141 |
73 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
23 |
25 |
19.6 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
25 |
23 |
19.6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,848 |
5,935 |
8,410 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,671 |
5,919 |
9,277 |
30.5 |
dash |
19 |
no-host |
configure.util-linux |
32,229 |
18,277 |
15,087 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,503 |
5,723 |
9,010 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,396 |
5,773 |
8,850 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,852 |
885 |
956 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,770 |
900 |
875 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,510 |
1,378 |
1,179 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,829 |
929 |
904 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,843 |
899 |
949 |
26.3 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
16 |
no-host |
hello-world |
58 |
40 |
18 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,541 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,098 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,656 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,208 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,115 |
0 |
0 |
0 |
16 |
0 |
38 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,372 |
0 |
0 |
0 |
8 |
0 |
1,991 |
95 |
bash |
9 |
no-host |
bin-true |
65,445 |
0 |
0 |
0 |
8 |
0 |
1,981 |
100 |
dash |
17 |
no-host |
bin-true |
804,489 |
0 |
0 |
0 |
8 |
0 |
1,995 |
469 |
osh-cpython |
25 |
no-host |
bin-true |
128,178 |
0 |
0 |
0 |
16 |
0 |
1,972 |
148 |
osh-native |
33 |
no-host |
bin-true |
128,203 |
0 |
0 |
0 |
16 |
0 |
1,980 |
111 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,991,666 |
0 |
0 |
0 |
32,928 |
0 |
14,318 |
1,240 |
bash |
10 |
no-host |
configure.cpython |
2,032,194 |
0 |
0 |
0 |
32,992 |
0 |
14,324 |
1,238 |
dash |
18 |
no-host |
configure.cpython |
6,113,995 |
0 |
0 |
0 |
27,512 |
0 |
13,028 |
1,166 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,018,642 |
0 |
0 |
0 |
27,520 |
0 |
13,117 |
1,088 |
osh-native |
34 |
no-host |
configure.cpython |
2,003,321 |
0 |
0 |
0 |
27,520 |
0 |
12,996 |
1,054 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,061 |
0 |
0 |
0 |
5,120 |
0 |
1,945 |
158 |
bash |
12 |
no-host |
configure.ocaml |
353,569 |
0 |
0 |
0 |
5,112 |
0 |
1,923 |
190 |
dash |
20 |
no-host |
configure.ocaml |
616,562 |
0 |
0 |
0 |
5,112 |
0 |
1,847 |
193 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,997 |
0 |
0 |
0 |
5,120 |
0 |
1,918 |
211 |
osh-native |
36 |
no-host |
configure.ocaml |
375,862 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
193 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,099 |
0 |
0 |
0 |
104 |
0 |
49 |
12 |
bash |
13 |
no-host |
configure.tcc |
5,018 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
21 |
no-host |
configure.tcc |
24,078 |
0 |
0 |
0 |
96 |
0 |
53 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,506 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native |
37 |
no-host |
configure.tcc |
6,473 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,912,871 |
0 |
0 |
0 |
42,400 |
0 |
18,401 |
1,338 |
bash |
11 |
no-host |
configure.util-linux |
2,072,636 |
0 |
0 |
0 |
42,592 |
0 |
17,339 |
1,358 |
dash |
19 |
no-host |
configure.util-linux |
5,296,289 |
6 |
0 |
0 |
39,112 |
0 |
17,015 |
1,312 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,819,285 |
0 |
0 |
0 |
39,120 |
0 |
16,880 |
1,107 |
osh-native |
35 |
no-host |
configure.util-linux |
1,807,245 |
0 |
0 |
0 |
39,128 |
0 |
16,997 |
1,107 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,496 |
0 |
0 |
0 |
4,120 |
0 |
880 |
85 |
bash |
14 |
no-host |
configure.yash |
222,299 |
0 |
0 |
0 |
3,720 |
0 |
871 |
71 |
dash |
22 |
no-host |
configure.yash |
369,419 |
1 |
0 |
0 |
3,728 |
0 |
854 |
79 |
osh-cpython |
30 |
no-host |
configure.yash |
235,874 |
0 |
0 |
0 |
3,736 |
0 |
848 |
76 |
osh-native |
38 |
no-host |
configure.yash |
234,557 |
0 |
0 |
0 |
3,736 |
0 |
849 |
86 |
osh-native-souffle |
0 |
no-host |
hello-world |
149 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
78 |
0 |
0 |
0 |
8 |
0 |
1 |
1 |
dash |
16 |
no-host |
hello-world |
3,975 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
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