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-native |
osh-souffle |
osh-static |
osh bash ratio |
static bash ratio |
abuild-print-help |
no-host |
16 |
9 |
21 |
21 |
19 |
1.33 |
1.22 |
bin-true |
no-host |
660 |
454 |
819 |
801 |
673 |
1.24 |
1.02 |
configure.cpython |
no-host |
13,986 |
14,042 |
13,953 |
13,386 |
13,552 |
1.00 |
0.97 |
configure.ocaml |
no-host |
3,649 |
3,698 |
3,776 |
3,897 |
3,913 |
1.03 |
1.07 |
configure.tcc |
no-host |
46 |
42 |
47 |
46 |
46 |
1.02 |
1.00 |
configure.util-linux |
no-host |
12,621 |
13,633 |
12,620 |
12,333 |
12,691 |
1.00 |
1.01 |
configure.yash |
no-host |
1,684 |
1,708 |
1,706 |
1,755 |
1,814 |
1.01 |
1.08 |
hello-world |
no-host |
1 |
1 |
3 |
3 |
1 |
2.61 |
1.06 |
Minor Page Faults
workload |
host name |
bash |
dash |
osh-native |
osh-souffle |
osh-static |
osh bash ratio |
static bash ratio |
abuild-print-help |
no-host |
2,414 |
1,154 |
3,297 |
3,205 |
2,716 |
1.37 |
1.13 |
bin-true |
no-host |
99,909 |
49,371 |
134,221 |
136,219 |
109,604 |
1.34 |
1.10 |
configure.cpython |
no-host |
1,615,307 |
1,641,496 |
1,475,028 |
1,478,431 |
1,416,879 |
0.91 |
0.88 |
configure.ocaml |
no-host |
298,542 |
280,679 |
310,155 |
308,741 |
300,170 |
1.04 |
1.01 |
configure.tcc |
no-host |
5,214 |
4,189 |
5,450 |
5,392 |
4,971 |
1.05 |
0.95 |
configure.util-linux |
no-host |
1,536,771 |
1,703,453 |
1,355,597 |
1,353,509 |
1,311,313 |
0.88 |
0.85 |
configure.yash |
no-host |
173,431 |
159,594 |
170,893 |
170,856 |
167,994 |
0.99 |
0.97 |
hello-world |
no-host |
152 |
88 |
388 |
382 |
184 |
2.55 |
1.21 |
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 |
7.1 |
3,845 |
3,845 |
0 |
709 |
1,886 |
1,250 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
819 |
1 |
2 |
2.6 |
8.9 |
156,823 |
15,445 |
2,932 |
8,768 |
77,355 |
70,700 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
13,953 |
2 |
71 |
23.8 |
34.5 |
1,807,490 |
42,329 |
29,105 |
80,210 |
906,425 |
820,855 |
25,789 |
63 |
50,000 |
0 |
configure.util-linux |
no-host |
12,620 |
3 |
69 |
27.1 |
39.6 |
2,730,808 |
37,546 |
66,625 |
105,146 |
1,312,788 |
1,312,874 |
32,539 |
42 |
133,250 |
1 |
configure.ocaml |
no-host |
3,776 |
1 |
2 |
2.7 |
28.7 |
150,156 |
12,492 |
6,535 |
7,774 |
71,007 |
71,375 |
1,693 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.4 |
26.2 |
30,817 |
30,817 |
0 |
1,560 |
14,752 |
14,505 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,706 |
1 |
2 |
2.9 |
33.4 |
140,416 |
8,106 |
6,740 |
6,341 |
68,787 |
65,288 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
3.0 |
9.8 |
117,373 |
65,835 |
42,018 |
4,938 |
54,787 |
57,648 |
277 |
3 |
84,036 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.7 |
3,844 |
3,844 |
0 |
708 |
1,886 |
1,250 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
801 |
1 |
2 |
2.6 |
8.4 |
156,823 |
15,440 |
2,927 |
8,768 |
77,355 |
70,700 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
13,386 |
1 |
68 |
23.8 |
34.5 |
1,807,489 |
42,323 |
29,099 |
80,209 |
906,425 |
820,855 |
25,789 |
63 |
50,000 |
0 |
configure.util-linux |
no-host |
12,333 |
3 |
66 |
27.1 |
39.7 |
2,730,808 |
37,532 |
66,618 |
105,146 |
1,312,788 |
1,312,874 |
32,539 |
42 |
133,236 |
1 |
configure.ocaml |
no-host |
3,897 |
1 |
2 |
2.7 |
28.7 |
150,156 |
12,486 |
6,529 |
7,774 |
71,007 |
71,375 |
1,693 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
46 |
0 |
0 |
1.4 |
26.0 |
30,817 |
30,817 |
0 |
1,560 |
14,752 |
14,505 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,755 |
1 |
2 |
2.9 |
33.4 |
140,416 |
8,095 |
6,729 |
6,341 |
68,787 |
65,288 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
3.0 |
9.4 |
117,373 |
65,830 |
42,013 |
4,938 |
54,787 |
57,648 |
277 |
3 |
84,026 |
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 |
16 |
6 |
11 |
5.0 |
bash |
15 |
no-host |
abuild-print-help |
9 |
6 |
4 |
3.8 |
dash |
23 |
no-host |
abuild-print-help |
21 |
12 |
10 |
9.8 |
osh-native |
31 |
no-host |
abuild-print-help |
21 |
9 |
13 |
9.4 |
osh-souffle |
39 |
no-host |
abuild-print-help |
19 |
12 |
8 |
6.8 |
osh-static |
1 |
no-host |
bin-true |
660 |
317 |
381 |
3.3 |
bash |
9 |
no-host |
bin-true |
454 |
282 |
178 |
1.6 |
dash |
17 |
no-host |
bin-true |
819 |
317 |
511 |
8.9 |
osh-native |
25 |
no-host |
bin-true |
801 |
296 |
521 |
8.4 |
osh-souffle |
33 |
no-host |
bin-true |
673 |
310 |
369 |
5.4 |
osh-static |
2 |
no-host |
configure.cpython |
13,986 |
7,582 |
6,777 |
34.5 |
bash |
10 |
no-host |
configure.cpython |
14,042 |
7,636 |
6,779 |
34.5 |
dash |
18 |
no-host |
configure.cpython |
13,953 |
7,296 |
6,911 |
34.5 |
osh-native |
26 |
no-host |
configure.cpython |
13,386 |
6,968 |
6,552 |
34.5 |
osh-souffle |
34 |
no-host |
configure.cpython |
13,552 |
7,335 |
6,430 |
34.5 |
osh-static |
4 |
no-host |
configure.ocaml |
3,649 |
1,462 |
1,226 |
28.7 |
bash |
12 |
no-host |
configure.ocaml |
3,698 |
1,463 |
1,258 |
28.5 |
dash |
20 |
no-host |
configure.ocaml |
3,776 |
1,503 |
1,314 |
28.7 |
osh-native |
28 |
no-host |
configure.ocaml |
3,897 |
1,507 |
1,359 |
28.7 |
osh-souffle |
36 |
no-host |
configure.ocaml |
3,913 |
1,542 |
1,378 |
28.7 |
osh-static |
5 |
no-host |
configure.tcc |
46 |
23 |
24 |
26.2 |
bash |
13 |
no-host |
configure.tcc |
42 |
24 |
18 |
26.1 |
dash |
21 |
no-host |
configure.tcc |
47 |
23 |
25 |
26.2 |
osh-native |
29 |
no-host |
configure.tcc |
46 |
18 |
29 |
26.0 |
osh-souffle |
37 |
no-host |
configure.tcc |
46 |
21 |
25 |
26.3 |
osh-static |
3 |
no-host |
configure.util-linux |
12,621 |
6,514 |
6,564 |
39.7 |
bash |
11 |
no-host |
configure.util-linux |
13,633 |
6,493 |
7,619 |
39.6 |
dash |
19 |
no-host |
configure.util-linux |
12,620 |
6,204 |
6,597 |
39.6 |
osh-native |
27 |
no-host |
configure.util-linux |
12,333 |
6,100 |
6,430 |
39.7 |
osh-souffle |
35 |
no-host |
configure.util-linux |
12,691 |
6,450 |
6,424 |
39.4 |
osh-static |
6 |
no-host |
configure.yash |
1,684 |
944 |
749 |
33.1 |
bash |
14 |
no-host |
configure.yash |
1,708 |
937 |
769 |
33.4 |
dash |
22 |
no-host |
configure.yash |
1,706 |
934 |
774 |
33.4 |
osh-native |
30 |
no-host |
configure.yash |
1,755 |
991 |
763 |
33.4 |
osh-souffle |
38 |
no-host |
configure.yash |
1,814 |
979 |
830 |
33.2 |
osh-static |
0 |
no-host |
hello-world |
1 |
1 |
0 |
3.1 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
3 |
0 |
3 |
7.1 |
osh-native |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.7 |
osh-souffle |
32 |
no-host |
hello-world |
1 |
0 |
1 |
3.7 |
osh-static |
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,414 |
0 |
0 |
0 |
8 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,154 |
0 |
0 |
0 |
8 |
0 |
40 |
1 |
dash |
23 |
no-host |
abuild-print-help |
3,297 |
0 |
0 |
0 |
16 |
0 |
36 |
1 |
osh-native |
31 |
no-host |
abuild-print-help |
3,205 |
0 |
0 |
0 |
16 |
0 |
37 |
0 |
osh-souffle |
39 |
no-host |
abuild-print-help |
2,716 |
0 |
0 |
0 |
8 |
0 |
37 |
0 |
osh-static |
1 |
no-host |
bin-true |
99,909 |
0 |
0 |
0 |
8 |
0 |
1,983 |
98 |
bash |
9 |
no-host |
bin-true |
49,371 |
0 |
0 |
0 |
8 |
0 |
2,986 |
46 |
dash |
17 |
no-host |
bin-true |
134,221 |
0 |
0 |
0 |
16 |
0 |
1,978 |
84 |
osh-native |
25 |
no-host |
bin-true |
136,219 |
0 |
0 |
0 |
16 |
0 |
1,983 |
91 |
osh-souffle |
33 |
no-host |
bin-true |
109,604 |
0 |
0 |
0 |
8 |
0 |
1,981 |
70 |
osh-static |
2 |
no-host |
configure.cpython |
1,615,307 |
0 |
0 |
0 |
25,272 |
0 |
14,050 |
994 |
bash |
10 |
no-host |
configure.cpython |
1,641,496 |
0 |
0 |
0 |
25,272 |
0 |
14,090 |
1,075 |
dash |
18 |
no-host |
configure.cpython |
1,475,028 |
0 |
0 |
0 |
25,280 |
0 |
9,725 |
794 |
osh-native |
26 |
no-host |
configure.cpython |
1,478,431 |
0 |
0 |
0 |
25,280 |
0 |
9,737 |
747 |
osh-souffle |
34 |
no-host |
configure.cpython |
1,416,879 |
1 |
0 |
0 |
25,272 |
0 |
9,741 |
742 |
osh-static |
4 |
no-host |
configure.ocaml |
298,542 |
0 |
0 |
0 |
4,432 |
0 |
2,013 |
194 |
bash |
12 |
no-host |
configure.ocaml |
280,679 |
0 |
0 |
0 |
4,432 |
0 |
2,095 |
194 |
dash |
20 |
no-host |
configure.ocaml |
310,155 |
0 |
0 |
0 |
4,440 |
0 |
1,991 |
199 |
osh-native |
28 |
no-host |
configure.ocaml |
308,741 |
0 |
0 |
0 |
4,440 |
0 |
1,995 |
206 |
osh-souffle |
36 |
no-host |
configure.ocaml |
300,170 |
0 |
0 |
0 |
4,432 |
0 |
1,990 |
221 |
osh-static |
5 |
no-host |
configure.tcc |
5,214 |
0 |
0 |
0 |
80 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
4,189 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
21 |
no-host |
configure.tcc |
5,450 |
0 |
0 |
0 |
96 |
0 |
41 |
4 |
osh-native |
29 |
no-host |
configure.tcc |
5,392 |
0 |
0 |
0 |
96 |
0 |
41 |
2 |
osh-souffle |
37 |
no-host |
configure.tcc |
4,971 |
0 |
0 |
0 |
88 |
0 |
41 |
2 |
osh-static |
3 |
no-host |
configure.util-linux |
1,536,771 |
2 |
0 |
0 |
35,944 |
0 |
18,940 |
1,106 |
bash |
11 |
no-host |
configure.util-linux |
1,703,453 |
1 |
0 |
0 |
35,936 |
0 |
17,087 |
1,244 |
dash |
19 |
no-host |
configure.util-linux |
1,355,597 |
0 |
0 |
0 |
35,952 |
0 |
15,170 |
864 |
osh-native |
27 |
no-host |
configure.util-linux |
1,353,509 |
0 |
0 |
0 |
35,944 |
0 |
15,156 |
904 |
osh-souffle |
35 |
no-host |
configure.util-linux |
1,311,313 |
8 |
0 |
0 |
35,936 |
0 |
15,237 |
862 |
osh-static |
6 |
no-host |
configure.yash |
173,431 |
0 |
0 |
0 |
3,616 |
0 |
874 |
99 |
bash |
14 |
no-host |
configure.yash |
159,594 |
0 |
0 |
0 |
3,616 |
0 |
1,000 |
89 |
dash |
22 |
no-host |
configure.yash |
170,893 |
0 |
0 |
0 |
3,632 |
0 |
760 |
101 |
osh-native |
30 |
no-host |
configure.yash |
170,856 |
0 |
0 |
0 |
3,624 |
0 |
761 |
88 |
osh-souffle |
38 |
no-host |
configure.yash |
167,994 |
0 |
0 |
0 |
3,616 |
0 |
759 |
112 |
osh-static |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
88 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
388 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
24 |
no-host |
hello-world |
382 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-souffle |
32 |
no-host |
hello-world |
184 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
osh-static |
Shell and Host