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 |
483 |
22 |
21 |
25.72 |
1.16 |
bin-true |
no-host |
663 |
530 |
2,409 |
798 |
793 |
3.63 |
1.20 |
configure.cpython |
no-host |
14,612 |
15,118 |
29,328 |
15,297 |
15,020 |
2.01 |
1.05 |
configure.ocaml |
no-host |
3,807 |
3,730 |
4,762 |
3,767 |
3,758 |
1.25 |
0.99 |
configure.tcc |
no-host |
47 |
41 |
212 |
47 |
48 |
4.49 |
1.00 |
configure.util-linux |
no-host |
13,876 |
14,784 |
31,958 |
14,065 |
13,947 |
2.30 |
1.01 |
configure.yash |
no-host |
1,797 |
1,761 |
2,559 |
1,799 |
1,800 |
1.42 |
1.00 |
hello-world |
no-host |
1 |
1 |
60 |
3 |
3 |
46.46 |
2.18 |
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,556 |
1,130 |
24,268 |
3,207 |
3,098 |
9.49 |
1.25 |
bin-true |
no-host |
105,320 |
66,368 |
813,346 |
125,129 |
126,165 |
7.72 |
1.19 |
configure.cpython |
no-host |
1,990,754 |
2,024,808 |
6,109,224 |
2,001,514 |
2,002,031 |
3.07 |
1.01 |
configure.ocaml |
no-host |
373,851 |
354,114 |
615,955 |
376,644 |
375,580 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,085 |
5,016 |
24,068 |
6,513 |
6,435 |
3.96 |
1.07 |
configure.util-linux |
no-host |
1,916,149 |
2,072,074 |
5,292,598 |
1,817,505 |
1,806,207 |
2.76 |
0.95 |
configure.yash |
no-host |
233,983 |
222,321 |
370,157 |
236,051 |
235,846 |
1.58 |
1.01 |
hello-world |
no-host |
148 |
77 |
3,969 |
347 |
341 |
26.82 |
2.34 |
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 |
798 |
1 |
2 |
2.6 |
8.0 |
153,772 |
12,413 |
2,901 |
8,752 |
76,337 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,297 |
1 |
68 |
15.3 |
29.1 |
1,773,763 |
49,828 |
28,526 |
91,505 |
881,465 |
800,793 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,065 |
5 |
67 |
21.6 |
30.3 |
2,704,674 |
53,757 |
65,725 |
114,372 |
1,293,957 |
1,296,345 |
32,241 |
41 |
131,450 |
1 |
configure.ocaml |
no-host |
3,767 |
1 |
2 |
2.6 |
22.5 |
149,788 |
11,154 |
5,221 |
7,733 |
70,844 |
71,211 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.7 |
30,573 |
30,573 |
0 |
1,542 |
14,635 |
14,396 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,799 |
1 |
2 |
2.6 |
26.1 |
139,684 |
8,041 |
6,700 |
6,395 |
68,253 |
65,036 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,321 |
64,419 |
42,627 |
4,544 |
54,454 |
57,323 |
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 |
793 |
1 |
2 |
2.6 |
7.9 |
153,771 |
12,332 |
2,896 |
8,753 |
76,337 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,020 |
2 |
66 |
15.3 |
29.3 |
1,773,762 |
49,823 |
28,521 |
91,506 |
881,465 |
800,791 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,947 |
3 |
64 |
21.6 |
30.3 |
2,704,674 |
53,734 |
65,720 |
114,374 |
1,293,957 |
1,296,343 |
32,241 |
41 |
131,440 |
1 |
configure.ocaml |
no-host |
3,758 |
1 |
2 |
2.6 |
22.5 |
149,788 |
11,149 |
5,216 |
7,735 |
70,844 |
71,209 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.6 |
30,573 |
30,573 |
0 |
1,544 |
14,635 |
14,394 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,800 |
1 |
2 |
2.6 |
26.2 |
139,684 |
8,030 |
6,689 |
6,397 |
68,253 |
65,034 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.5 |
116,320 |
64,414 |
42,622 |
4,545 |
54,454 |
57,321 |
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 |
19 |
10 |
9 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
5 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
483 |
428 |
60 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
13 |
10 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
12 |
10 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
663 |
300 |
395 |
3.0 |
bash |
9 |
no-host |
bin-true |
530 |
277 |
265 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,409 |
812 |
1,857 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
798 |
292 |
523 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
793 |
296 |
513 |
7.9 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,612 |
6,518 |
8,500 |
29.1 |
bash |
10 |
no-host |
configure.cpython |
15,118 |
6,800 |
8,720 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
29,328 |
14,586 |
16,687 |
28.9 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,297 |
6,774 |
8,809 |
29.1 |
osh-native |
34 |
no-host |
configure.cpython |
15,020 |
6,463 |
8,665 |
29.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,807 |
1,345 |
1,492 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,730 |
1,297 |
1,454 |
22.5 |
dash |
20 |
no-host |
configure.ocaml |
4,762 |
1,892 |
2,099 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,767 |
1,281 |
1,528 |
22.5 |
osh-native |
36 |
no-host |
configure.ocaml |
3,758 |
1,320 |
1,475 |
22.5 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
20 |
28 |
19.8 |
bash |
13 |
no-host |
configure.tcc |
41 |
20 |
21 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
212 |
147 |
68 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
23 |
25 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
21 |
27 |
19.6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,876 |
5,835 |
8,506 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,784 |
6,105 |
9,211 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,958 |
18,134 |
14,935 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,065 |
5,534 |
8,739 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
13,947 |
5,455 |
8,714 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,797 |
886 |
921 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,761 |
878 |
887 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,559 |
1,426 |
1,179 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,799 |
914 |
890 |
26.1 |
osh-native |
38 |
no-host |
configure.yash |
1,800 |
906 |
899 |
26.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
60 |
45 |
15 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
2 |
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,556 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,130 |
0 |
0 |
0 |
8 |
0 |
39 |
4 |
dash |
23 |
no-host |
abuild-print-help |
24,268 |
0 |
0 |
0 |
8 |
0 |
45 |
8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,207 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,098 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,320 |
0 |
0 |
0 |
8 |
0 |
1,988 |
218 |
bash |
9 |
no-host |
bin-true |
66,368 |
0 |
0 |
0 |
8 |
0 |
1,979 |
76 |
dash |
17 |
no-host |
bin-true |
813,346 |
0 |
0 |
0 |
8 |
0 |
1,982 |
473 |
osh-cpython |
25 |
no-host |
bin-true |
125,129 |
0 |
0 |
0 |
16 |
0 |
1,989 |
121 |
osh-native |
33 |
no-host |
bin-true |
126,165 |
0 |
0 |
0 |
16 |
0 |
1,975 |
174 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,990,754 |
0 |
0 |
0 |
32,928 |
0 |
14,247 |
1,308 |
bash |
10 |
no-host |
configure.cpython |
2,024,808 |
0 |
0 |
0 |
32,992 |
0 |
14,330 |
1,301 |
dash |
18 |
no-host |
configure.cpython |
6,109,224 |
0 |
0 |
0 |
27,512 |
0 |
13,083 |
1,129 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,001,514 |
0 |
0 |
0 |
27,520 |
0 |
13,139 |
1,054 |
osh-native |
34 |
no-host |
configure.cpython |
2,002,031 |
0 |
0 |
0 |
27,520 |
0 |
13,104 |
1,101 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,851 |
0 |
0 |
0 |
5,120 |
0 |
1,954 |
188 |
bash |
12 |
no-host |
configure.ocaml |
354,114 |
0 |
0 |
0 |
5,112 |
0 |
1,936 |
180 |
dash |
20 |
no-host |
configure.ocaml |
615,955 |
1 |
0 |
0 |
5,112 |
0 |
1,847 |
179 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,644 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
193 |
osh-native |
36 |
no-host |
configure.ocaml |
375,580 |
0 |
0 |
0 |
5,120 |
0 |
1,920 |
200 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,085 |
0 |
0 |
0 |
104 |
0 |
49 |
4 |
bash |
13 |
no-host |
configure.tcc |
5,016 |
0 |
0 |
0 |
96 |
0 |
47 |
4 |
dash |
21 |
no-host |
configure.tcc |
24,068 |
0 |
0 |
0 |
96 |
0 |
51 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,513 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,435 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,916,149 |
0 |
0 |
0 |
42,400 |
0 |
18,446 |
1,342 |
bash |
11 |
no-host |
configure.util-linux |
2,072,074 |
0 |
0 |
0 |
42,584 |
0 |
17,296 |
1,397 |
dash |
19 |
no-host |
configure.util-linux |
5,292,598 |
12 |
0 |
0 |
39,136 |
0 |
17,047 |
1,258 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,817,505 |
2 |
0 |
0 |
39,120 |
0 |
17,035 |
1,276 |
osh-native |
35 |
no-host |
configure.util-linux |
1,806,207 |
0 |
0 |
0 |
39,128 |
0 |
16,913 |
1,112 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,983 |
0 |
0 |
0 |
4,120 |
0 |
870 |
97 |
bash |
14 |
no-host |
configure.yash |
222,321 |
0 |
0 |
0 |
3,720 |
0 |
870 |
101 |
dash |
22 |
no-host |
configure.yash |
370,157 |
0 |
0 |
0 |
3,728 |
0 |
851 |
91 |
osh-cpython |
30 |
no-host |
configure.yash |
236,051 |
0 |
0 |
0 |
3,736 |
0 |
847 |
113 |
osh-native |
38 |
no-host |
configure.yash |
235,846 |
0 |
0 |
0 |
3,736 |
0 |
851 |
83 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
77 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,969 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
347 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host