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 |
462 |
22 |
21 |
23.95 |
1.14 |
bin-true |
no-host |
664 |
541 |
2,264 |
808 |
812 |
3.41 |
1.22 |
configure.cpython |
no-host |
15,048 |
15,072 |
28,779 |
15,273 |
15,242 |
1.91 |
1.01 |
configure.ocaml |
no-host |
3,819 |
3,741 |
4,647 |
3,811 |
3,819 |
1.22 |
1.00 |
configure.tcc |
no-host |
48 |
42 |
204 |
49 |
49 |
4.29 |
1.02 |
configure.util-linux |
no-host |
14,011 |
14,879 |
31,319 |
14,357 |
14,304 |
2.24 |
1.02 |
configure.yash |
no-host |
1,819 |
1,787 |
2,449 |
1,827 |
1,820 |
1.35 |
1.00 |
hello-world |
no-host |
2 |
1 |
57 |
3 |
3 |
36.88 |
1.86 |
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,536 |
1,100 |
23,650 |
3,185 |
3,127 |
9.33 |
1.26 |
bin-true |
no-host |
104,290 |
65,445 |
761,151 |
125,187 |
126,258 |
7.30 |
1.20 |
configure.cpython |
no-host |
2,223,080 |
2,235,288 |
6,204,424 |
2,232,575 |
2,207,165 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,435 |
391,216 |
643,627 |
412,559 |
412,473 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,594 |
5,497 |
23,895 |
6,933 |
6,900 |
3.62 |
1.05 |
configure.util-linux |
no-host |
2,096,493 |
2,262,021 |
5,368,595 |
1,990,346 |
1,992,055 |
2.56 |
0.95 |
configure.yash |
no-host |
256,105 |
244,993 |
386,755 |
258,268 |
258,279 |
1.51 |
1.01 |
hello-world |
no-host |
152 |
82 |
3,965 |
347 |
336 |
26.09 |
2.28 |
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,789 |
3,789 |
0 |
694 |
1,861 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
808 |
1 |
2 |
2.6 |
7.9 |
153,753 |
12,329 |
2,894 |
8,743 |
76,325 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,273 |
1 |
64 |
14.9 |
27.3 |
1,767,675 |
49,060 |
28,519 |
85,427 |
875,384 |
806,864 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,357 |
2 |
61 |
21.2 |
30.0 |
2,698,991 |
29,940 |
65,718 |
108,699 |
1,288,281 |
1,302,011 |
32,241 |
41 |
131,436 |
1 |
configure.ocaml |
no-host |
3,811 |
1 |
2 |
2.6 |
20.6 |
149,553 |
11,119 |
5,214 |
7,508 |
70,616 |
71,429 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.3 |
30,539 |
30,539 |
0 |
1,518 |
14,608 |
14,413 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,827 |
1 |
2 |
2.5 |
24.2 |
139,269 |
8,031 |
6,693 |
5,989 |
67,845 |
65,435 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,299 |
64,410 |
42,620 |
4,532 |
54,439 |
57,328 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,788 |
3,788 |
0 |
695 |
1,861 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
812 |
1 |
2 |
2.6 |
7.5 |
153,752 |
12,118 |
2,832 |
8,744 |
76,325 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,242 |
1 |
65 |
14.9 |
27.4 |
1,767,674 |
37,983 |
24,932 |
85,428 |
875,384 |
806,862 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,304 |
3 |
61 |
21.2 |
30.4 |
2,698,991 |
29,878 |
65,656 |
108,701 |
1,288,281 |
1,302,009 |
32,241 |
41 |
131,312 |
1 |
configure.ocaml |
no-host |
3,819 |
1 |
2 |
2.6 |
20.6 |
149,553 |
11,057 |
5,152 |
7,510 |
70,616 |
71,427 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.1 |
30,539 |
30,539 |
0 |
1,520 |
14,608 |
14,411 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,820 |
1 |
2 |
2.5 |
24.2 |
139,269 |
7,969 |
6,631 |
5,991 |
67,845 |
65,433 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.5 |
116,298 |
64,348 |
42,558 |
4,533 |
54,439 |
57,326 |
277 |
3 |
85,116 |
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 |
10 |
9 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
7 |
3 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
462 |
439 |
26 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
21 |
1 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
16 |
6 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
664 |
479 |
218 |
2.9 |
bash |
9 |
no-host |
bin-true |
541 |
420 |
131 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,264 |
1,506 |
1,014 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
808 |
570 |
253 |
7.9 |
osh-native |
33 |
no-host |
bin-true |
812 |
574 |
252 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,048 |
9,308 |
6,145 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,072 |
8,982 |
6,514 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,779 |
17,573 |
13,047 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,273 |
8,902 |
6,637 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,242 |
8,939 |
6,570 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,819 |
1,615 |
1,239 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,741 |
1,613 |
1,147 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,647 |
2,237 |
1,616 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,811 |
1,664 |
1,184 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,819 |
1,596 |
1,261 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
26 |
22 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
33 |
9 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
204 |
151 |
56 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
36 |
14 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
29 |
20 |
19.1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,011 |
8,909 |
5,584 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
14,879 |
9,221 |
6,156 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,319 |
20,791 |
11,610 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,357 |
8,696 |
5,859 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
14,304 |
8,782 |
5,723 |
30.4 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,819 |
1,032 |
794 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,787 |
1,031 |
760 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,449 |
1,514 |
977 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,827 |
986 |
845 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,820 |
1,072 |
752 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
16 |
no-host |
hello-world |
57 |
33 |
24 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
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,536 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,100 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,650 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,185 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,127 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,290 |
0 |
0 |
0 |
8 |
0 |
1,990 |
46 |
bash |
9 |
no-host |
bin-true |
65,445 |
0 |
0 |
0 |
8 |
0 |
1,988 |
96 |
dash |
17 |
no-host |
bin-true |
761,151 |
0 |
0 |
0 |
8 |
0 |
1,996 |
83 |
osh-cpython |
25 |
no-host |
bin-true |
125,187 |
0 |
0 |
0 |
16 |
0 |
1,989 |
65 |
osh-native |
33 |
no-host |
bin-true |
126,258 |
0 |
0 |
0 |
16 |
0 |
1,995 |
82 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,223,080 |
0 |
0 |
0 |
32,928 |
0 |
14,423 |
1,065 |
bash |
10 |
no-host |
configure.cpython |
2,235,288 |
0 |
0 |
0 |
32,992 |
0 |
14,653 |
1,022 |
dash |
18 |
no-host |
configure.cpython |
6,204,424 |
0 |
0 |
0 |
27,512 |
0 |
13,177 |
1,108 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,232,575 |
0 |
0 |
0 |
27,520 |
0 |
13,242 |
1,029 |
osh-native |
34 |
no-host |
configure.cpython |
2,207,165 |
0 |
0 |
0 |
27,520 |
0 |
13,236 |
943 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,435 |
0 |
0 |
0 |
5,120 |
0 |
1,958 |
147 |
bash |
12 |
no-host |
configure.ocaml |
391,216 |
0 |
0 |
0 |
5,112 |
0 |
1,944 |
156 |
dash |
20 |
no-host |
configure.ocaml |
643,627 |
0 |
0 |
0 |
5,112 |
0 |
1,859 |
175 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,559 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
170 |
osh-native |
36 |
no-host |
configure.ocaml |
412,473 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
145 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,594 |
0 |
0 |
0 |
104 |
0 |
49 |
0 |
bash |
13 |
no-host |
configure.tcc |
5,497 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,895 |
0 |
0 |
0 |
96 |
0 |
53 |
18 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,933 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,900 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,096,493 |
0 |
0 |
0 |
42,408 |
0 |
18,567 |
936 |
bash |
11 |
no-host |
configure.util-linux |
2,262,021 |
1 |
0 |
0 |
42,592 |
0 |
17,484 |
1,015 |
dash |
19 |
no-host |
configure.util-linux |
5,368,595 |
6 |
0 |
0 |
39,112 |
0 |
16,978 |
1,221 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,990,346 |
0 |
0 |
0 |
39,120 |
0 |
17,021 |
1,114 |
osh-native |
35 |
no-host |
configure.util-linux |
1,992,055 |
0 |
0 |
0 |
39,128 |
0 |
16,921 |
951 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,105 |
0 |
0 |
0 |
4,120 |
0 |
873 |
83 |
bash |
14 |
no-host |
configure.yash |
244,993 |
0 |
0 |
0 |
3,720 |
0 |
868 |
85 |
dash |
22 |
no-host |
configure.yash |
386,755 |
0 |
0 |
0 |
3,728 |
0 |
854 |
105 |
osh-cpython |
30 |
no-host |
configure.yash |
258,268 |
0 |
0 |
0 |
3,736 |
0 |
849 |
83 |
osh-native |
38 |
no-host |
configure.yash |
258,279 |
0 |
0 |
0 |
3,736 |
0 |
847 |
81 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
82 |
0 |
0 |
0 |
8 |
0 |
1 |
1 |
dash |
16 |
no-host |
hello-world |
3,965 |
0 |
0 |
0 |
8 |
0 |
7 |
7 |
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