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 |
20 |
10 |
502 |
24 |
21 |
25.31 |
1.21 |
bin-true |
no-host |
679 |
542 |
2,433 |
817 |
809 |
3.58 |
1.20 |
configure.cpython |
no-host |
15,652 |
15,805 |
30,167 |
15,757 |
15,628 |
1.93 |
1.01 |
configure.ocaml |
no-host |
3,979 |
3,813 |
4,882 |
3,952 |
3,962 |
1.23 |
0.99 |
configure.tcc |
no-host |
50 |
42 |
229 |
51 |
49 |
4.57 |
1.03 |
configure.util-linux |
no-host |
14,643 |
15,278 |
33,733 |
14,757 |
14,846 |
2.30 |
1.01 |
configure.yash |
no-host |
1,918 |
1,812 |
2,618 |
1,900 |
1,914 |
1.37 |
0.99 |
hello-world |
no-host |
1 |
1 |
59 |
3 |
3 |
41.66 |
2.26 |
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,527 |
1,124 |
24,149 |
3,240 |
3,099 |
9.56 |
1.28 |
bin-true |
no-host |
108,393 |
66,393 |
802,432 |
127,212 |
127,198 |
7.40 |
1.17 |
configure.cpython |
no-host |
1,994,297 |
2,028,993 |
6,101,177 |
2,014,461 |
2,004,083 |
3.06 |
1.01 |
configure.ocaml |
no-host |
373,661 |
353,932 |
616,153 |
377,031 |
375,892 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,082 |
5,007 |
24,062 |
6,496 |
6,463 |
3.96 |
1.07 |
configure.util-linux |
no-host |
1,915,221 |
2,071,084 |
5,296,604 |
1,823,656 |
1,812,780 |
2.77 |
0.95 |
configure.yash |
no-host |
233,634 |
220,864 |
369,432 |
235,181 |
235,074 |
1.58 |
1.01 |
hello-world |
no-host |
147 |
78 |
3,969 |
346 |
339 |
27.00 |
2.35 |
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,805 |
3,805 |
0 |
700 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
817 |
1 |
2 |
2.6 |
8.0 |
156,772 |
15,414 |
2,901 |
8,752 |
77,337 |
70,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,757 |
2 |
76 |
15.5 |
29.2 |
1,785,013 |
30,559 |
28,526 |
91,505 |
887,089 |
806,419 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,757 |
3 |
71 |
21.6 |
30.5 |
2,709,214 |
53,761 |
65,705 |
114,372 |
1,296,230 |
1,298,612 |
32,241 |
41 |
131,410 |
1 |
configure.ocaml |
no-host |
3,952 |
1 |
2 |
2.6 |
22.6 |
149,859 |
11,178 |
5,221 |
7,733 |
70,879 |
71,247 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
51 |
0 |
0 |
1.3 |
19.5 |
30,575 |
30,575 |
0 |
1,542 |
14,636 |
14,397 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,900 |
1 |
2 |
2.6 |
26.4 |
139,881 |
8,045 |
6,700 |
6,397 |
68,350 |
65,134 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
24 |
1 |
2 |
2.8 |
9.2 |
116,337 |
64,419 |
42,627 |
4,544 |
54,462 |
57,331 |
277 |
3 |
85,254 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,804 |
3,804 |
0 |
701 |
1,870 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
809 |
1 |
2 |
2.6 |
7.5 |
156,771 |
15,409 |
2,896 |
8,753 |
77,337 |
70,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,628 |
1 |
72 |
15.4 |
29.1 |
1,785,012 |
30,546 |
28,521 |
91,506 |
887,089 |
806,417 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,846 |
3 |
70 |
21.6 |
30.2 |
2,709,214 |
53,738 |
65,700 |
114,374 |
1,296,230 |
1,298,610 |
32,241 |
41 |
131,400 |
1 |
configure.ocaml |
no-host |
3,962 |
1 |
2 |
2.6 |
22.6 |
149,859 |
11,173 |
5,216 |
7,735 |
70,879 |
71,245 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.7 |
30,575 |
30,575 |
0 |
1,544 |
14,636 |
14,395 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,914 |
1 |
2 |
2.6 |
26.5 |
139,881 |
8,034 |
6,689 |
6,399 |
68,350 |
65,132 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,336 |
64,414 |
42,622 |
4,545 |
54,462 |
57,329 |
277 |
3 |
85,244 |
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 |
20 |
11 |
10 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
4 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
502 |
437 |
69 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
24 |
13 |
12 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
10 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
679 |
300 |
413 |
2.9 |
bash |
9 |
no-host |
bin-true |
542 |
265 |
289 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,433 |
832 |
1,867 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
817 |
284 |
550 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
809 |
283 |
541 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,652 |
6,999 |
9,060 |
29.1 |
bash |
10 |
no-host |
configure.cpython |
15,805 |
6,947 |
9,303 |
29.1 |
dash |
18 |
no-host |
configure.cpython |
30,167 |
15,135 |
17,036 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,757 |
6,749 |
9,317 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
15,628 |
6,802 |
9,119 |
29.1 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,979 |
1,389 |
1,634 |
22.5 |
bash |
12 |
no-host |
configure.ocaml |
3,813 |
1,366 |
1,469 |
22.5 |
dash |
20 |
no-host |
configure.ocaml |
4,882 |
2,000 |
2,122 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,952 |
1,351 |
1,644 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,962 |
1,362 |
1,637 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
50 |
27 |
24 |
19.6 |
bash |
13 |
no-host |
configure.tcc |
42 |
16 |
27 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
229 |
161 |
71 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
51 |
26 |
26 |
19.5 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
19 |
31 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,643 |
6,199 |
8,975 |
30.4 |
bash |
11 |
no-host |
configure.util-linux |
15,278 |
6,056 |
9,725 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
33,733 |
19,194 |
15,726 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,757 |
5,844 |
9,150 |
30.5 |
osh-native |
35 |
no-host |
configure.util-linux |
14,846 |
5,855 |
9,224 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,918 |
912 |
1,016 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,812 |
892 |
925 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,618 |
1,439 |
1,227 |
26.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,900 |
920 |
983 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,914 |
932 |
988 |
26.5 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
16 |
no-host |
hello-world |
59 |
39 |
20 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
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,527 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,124 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,149 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,240 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,099 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
108,393 |
0 |
0 |
0 |
8 |
0 |
1,981 |
250 |
bash |
9 |
no-host |
bin-true |
66,393 |
0 |
0 |
0 |
8 |
0 |
1,977 |
72 |
dash |
17 |
no-host |
bin-true |
802,432 |
0 |
0 |
0 |
8 |
0 |
1,988 |
275 |
osh-cpython |
25 |
no-host |
bin-true |
127,212 |
0 |
0 |
0 |
16 |
0 |
1,984 |
189 |
osh-native |
33 |
no-host |
bin-true |
127,198 |
0 |
0 |
0 |
16 |
0 |
1,978 |
133 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,994,297 |
0 |
0 |
0 |
32,928 |
0 |
14,220 |
1,140 |
bash |
10 |
no-host |
configure.cpython |
2,028,993 |
0 |
0 |
0 |
32,992 |
0 |
14,404 |
1,149 |
dash |
18 |
no-host |
configure.cpython |
6,101,177 |
0 |
0 |
0 |
27,512 |
0 |
13,060 |
1,017 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,014,461 |
0 |
0 |
0 |
27,520 |
0 |
13,112 |
1,005 |
osh-native |
34 |
no-host |
configure.cpython |
2,004,083 |
0 |
0 |
0 |
27,520 |
0 |
13,002 |
1,060 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,661 |
0 |
0 |
0 |
5,120 |
0 |
1,941 |
194 |
bash |
12 |
no-host |
configure.ocaml |
353,932 |
0 |
0 |
0 |
5,112 |
0 |
1,930 |
205 |
dash |
20 |
no-host |
configure.ocaml |
616,153 |
0 |
0 |
0 |
5,112 |
0 |
1,846 |
212 |
osh-cpython |
28 |
no-host |
configure.ocaml |
377,031 |
0 |
0 |
0 |
5,120 |
0 |
1,920 |
208 |
osh-native |
36 |
no-host |
configure.ocaml |
375,892 |
0 |
0 |
0 |
5,120 |
0 |
1,920 |
180 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,082 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,007 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
24,062 |
0 |
0 |
0 |
96 |
0 |
53 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,496 |
0 |
0 |
0 |
104 |
0 |
46 |
5 |
osh-native |
37 |
no-host |
configure.tcc |
6,463 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,915,221 |
1 |
0 |
0 |
42,400 |
0 |
18,561 |
1,144 |
bash |
11 |
no-host |
configure.util-linux |
2,071,084 |
2 |
0 |
0 |
42,592 |
0 |
17,428 |
1,351 |
dash |
19 |
no-host |
configure.util-linux |
5,296,604 |
4 |
0 |
0 |
39,128 |
0 |
17,100 |
1,218 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,823,656 |
6 |
0 |
0 |
39,128 |
0 |
17,010 |
1,071 |
osh-native |
35 |
no-host |
configure.util-linux |
1,812,780 |
1 |
0 |
0 |
39,136 |
0 |
16,998 |
1,086 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,634 |
0 |
0 |
0 |
4,120 |
0 |
867 |
85 |
bash |
14 |
no-host |
configure.yash |
220,864 |
0 |
0 |
0 |
3,720 |
0 |
873 |
85 |
dash |
22 |
no-host |
configure.yash |
369,432 |
0 |
0 |
0 |
3,728 |
0 |
852 |
69 |
osh-cpython |
30 |
no-host |
configure.yash |
235,181 |
0 |
0 |
0 |
3,736 |
0 |
850 |
92 |
osh-native |
38 |
no-host |
configure.yash |
235,074 |
0 |
0 |
0 |
3,736 |
0 |
847 |
90 |
osh-native-souffle |
0 |
no-host |
hello-world |
147 |
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,969 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host