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 |
480 |
22 |
21 |
25.68 |
1.15 |
bin-true |
no-host |
661 |
530 |
2,298 |
793 |
790 |
3.48 |
1.20 |
configure.cpython |
no-host |
14,732 |
14,764 |
28,639 |
14,942 |
14,939 |
1.94 |
1.01 |
configure.ocaml |
no-host |
3,761 |
3,737 |
4,642 |
3,783 |
3,787 |
1.23 |
1.01 |
configure.tcc |
no-host |
47 |
41 |
201 |
47 |
47 |
4.33 |
1.02 |
configure.util-linux |
no-host |
13,787 |
14,641 |
31,272 |
14,071 |
13,999 |
2.27 |
1.02 |
configure.yash |
no-host |
1,837 |
1,750 |
2,451 |
1,798 |
1,817 |
1.33 |
0.98 |
hello-world |
no-host |
1 |
1 |
58 |
3 |
3 |
42.70 |
2.04 |
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,532 |
1,099 |
23,559 |
3,153 |
3,140 |
9.30 |
1.25 |
bin-true |
no-host |
109,320 |
66,414 |
761,073 |
125,165 |
126,270 |
6.96 |
1.14 |
configure.cpython |
no-host |
1,994,407 |
2,019,363 |
5,988,895 |
1,997,071 |
1,980,106 |
3.00 |
1.00 |
configure.ocaml |
no-host |
373,721 |
353,829 |
605,719 |
376,255 |
375,139 |
1.62 |
1.01 |
configure.tcc |
no-host |
6,070 |
5,004 |
23,418 |
6,502 |
6,432 |
3.86 |
1.07 |
configure.util-linux |
no-host |
1,900,921 |
2,067,144 |
5,166,993 |
1,805,279 |
1,804,084 |
2.72 |
0.95 |
configure.yash |
no-host |
233,788 |
221,763 |
363,983 |
234,691 |
235,529 |
1.56 |
1.00 |
hello-world |
no-host |
148 |
80 |
3,951 |
345 |
338 |
26.70 |
2.33 |
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.4 |
3,789 |
3,789 |
0 |
694 |
1,861 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
793 |
1 |
2 |
2.6 |
8.4 |
153,753 |
12,329 |
2,894 |
8,743 |
76,325 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,942 |
1 |
67 |
14.9 |
29.2 |
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,071 |
3 |
64 |
21.2 |
30.2 |
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,783 |
1 |
2 |
2.6 |
22.6 |
149,553 |
11,119 |
5,214 |
7,508 |
70,616 |
71,429 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.7 |
30,539 |
30,539 |
0 |
1,518 |
14,608 |
14,413 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,798 |
1 |
2 |
2.5 |
26.3 |
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 |
8.8 |
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 |
6.0 |
3,788 |
3,788 |
0 |
695 |
1,861 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
790 |
1 |
2 |
2.6 |
7.6 |
153,752 |
12,118 |
2,832 |
8,744 |
76,325 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,939 |
2 |
66 |
14.9 |
29.1 |
1,767,674 |
37,983 |
24,932 |
85,428 |
875,384 |
806,862 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,999 |
3 |
63 |
21.2 |
30.3 |
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,787 |
1 |
2 |
2.6 |
22.6 |
149,553 |
11,057 |
5,152 |
7,510 |
70,616 |
71,427 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.4 |
30,539 |
30,539 |
0 |
1,520 |
14,608 |
14,411 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,817 |
1 |
2 |
2.5 |
26.4 |
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.7 |
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 |
11 |
8 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
480 |
425 |
59 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
10 |
12 |
8.8 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
10 |
12 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
661 |
310 |
386 |
3.0 |
bash |
9 |
no-host |
bin-true |
530 |
277 |
265 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,298 |
753 |
1,806 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
793 |
309 |
501 |
8.4 |
osh-native |
33 |
no-host |
bin-true |
790 |
300 |
506 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,732 |
6,718 |
8,430 |
29.1 |
bash |
10 |
no-host |
configure.cpython |
14,764 |
6,686 |
8,518 |
29.3 |
dash |
18 |
no-host |
configure.cpython |
28,639 |
14,339 |
16,205 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,942 |
6,587 |
8,639 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
14,939 |
6,474 |
8,743 |
29.1 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,761 |
1,336 |
1,467 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,737 |
1,305 |
1,455 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,642 |
1,902 |
1,951 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,783 |
1,323 |
1,499 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,787 |
1,331 |
1,495 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
23 |
24 |
19.5 |
bash |
13 |
no-host |
configure.tcc |
41 |
15 |
26 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
201 |
133 |
72 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
17 |
31 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
21 |
26 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,787 |
5,848 |
8,437 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
14,641 |
5,934 |
9,246 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,272 |
17,820 |
14,562 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,071 |
5,581 |
8,708 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
13,999 |
5,591 |
8,626 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,837 |
921 |
904 |
26.3 |
bash |
14 |
no-host |
configure.yash |
1,750 |
879 |
875 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,451 |
1,356 |
1,138 |
26.3 |
osh-cpython |
30 |
no-host |
configure.yash |
1,798 |
893 |
910 |
26.3 |
osh-native |
38 |
no-host |
configure.yash |
1,817 |
904 |
918 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
58 |
38 |
20 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
2 |
6.0 |
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,532 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,099 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,559 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,153 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,140 |
0 |
0 |
0 |
16 |
0 |
39 |
6 |
osh-native-souffle |
1 |
no-host |
bin-true |
109,320 |
0 |
0 |
0 |
8 |
0 |
1,979 |
107 |
bash |
9 |
no-host |
bin-true |
66,414 |
0 |
0 |
0 |
8 |
0 |
1,981 |
100 |
dash |
17 |
no-host |
bin-true |
761,073 |
0 |
0 |
0 |
8 |
0 |
1,981 |
289 |
osh-cpython |
25 |
no-host |
bin-true |
125,165 |
0 |
0 |
0 |
16 |
0 |
1,971 |
147 |
osh-native |
33 |
no-host |
bin-true |
126,270 |
0 |
0 |
0 |
16 |
0 |
1,975 |
153 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,994,407 |
0 |
0 |
0 |
32,928 |
0 |
14,253 |
1,326 |
bash |
10 |
no-host |
configure.cpython |
2,019,363 |
0 |
0 |
0 |
32,992 |
0 |
14,336 |
1,300 |
dash |
18 |
no-host |
configure.cpython |
5,988,895 |
0 |
0 |
0 |
27,512 |
0 |
13,063 |
1,147 |
osh-cpython |
26 |
no-host |
configure.cpython |
1,997,071 |
1 |
0 |
0 |
27,520 |
0 |
13,054 |
1,112 |
osh-native |
34 |
no-host |
configure.cpython |
1,980,106 |
0 |
0 |
0 |
27,520 |
0 |
13,069 |
1,067 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,721 |
0 |
0 |
0 |
5,120 |
0 |
1,945 |
179 |
bash |
12 |
no-host |
configure.ocaml |
353,829 |
0 |
0 |
0 |
5,112 |
0 |
1,936 |
190 |
dash |
20 |
no-host |
configure.ocaml |
605,719 |
0 |
0 |
0 |
5,112 |
0 |
1,850 |
199 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,255 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
199 |
osh-native |
36 |
no-host |
configure.ocaml |
375,139 |
0 |
0 |
0 |
5,120 |
0 |
1,921 |
208 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,070 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,004 |
0 |
0 |
0 |
96 |
0 |
47 |
9 |
dash |
21 |
no-host |
configure.tcc |
23,418 |
0 |
0 |
0 |
96 |
0 |
53 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,502 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,432 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,900,921 |
0 |
0 |
0 |
42,400 |
0 |
18,506 |
1,269 |
bash |
11 |
no-host |
configure.util-linux |
2,067,144 |
0 |
0 |
0 |
42,592 |
0 |
17,344 |
1,393 |
dash |
19 |
no-host |
configure.util-linux |
5,166,993 |
9 |
0 |
0 |
39,112 |
0 |
17,062 |
1,386 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,805,279 |
1 |
0 |
0 |
39,128 |
0 |
16,977 |
1,201 |
osh-native |
35 |
no-host |
configure.util-linux |
1,804,084 |
0 |
0 |
0 |
39,136 |
0 |
17,078 |
1,186 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,788 |
0 |
0 |
0 |
4,120 |
0 |
879 |
99 |
bash |
14 |
no-host |
configure.yash |
221,763 |
0 |
0 |
0 |
3,720 |
0 |
868 |
90 |
dash |
22 |
no-host |
configure.yash |
363,983 |
0 |
0 |
0 |
3,728 |
0 |
855 |
91 |
osh-cpython |
30 |
no-host |
configure.yash |
234,691 |
0 |
0 |
0 |
3,736 |
0 |
846 |
85 |
osh-native |
38 |
no-host |
configure.yash |
235,529 |
0 |
0 |
0 |
3,736 |
0 |
849 |
102 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
80 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,951 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
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