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 |
473 |
23 |
22 |
24.26 |
1.16 |
bin-true |
no-host |
684 |
544 |
2,288 |
818 |
829 |
3.34 |
1.20 |
configure.cpython |
no-host |
15,805 |
15,588 |
29,940 |
15,769 |
15,964 |
1.89 |
1.00 |
configure.ocaml |
no-host |
3,931 |
3,850 |
4,820 |
3,958 |
3,980 |
1.23 |
1.01 |
configure.tcc |
no-host |
49 |
42 |
214 |
50 |
49 |
4.34 |
1.01 |
configure.util-linux |
no-host |
14,537 |
15,357 |
32,738 |
14,921 |
15,037 |
2.25 |
1.03 |
configure.yash |
no-host |
1,894 |
1,829 |
2,630 |
1,911 |
1,890 |
1.39 |
1.01 |
hello-world |
no-host |
2 |
1 |
63 |
3 |
3 |
36.09 |
1.71 |
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,101 |
23,559 |
3,219 |
3,110 |
9.30 |
1.27 |
bin-true |
no-host |
105,390 |
66,410 |
759,529 |
124,206 |
125,261 |
7.21 |
1.18 |
configure.cpython |
no-host |
2,216,969 |
2,248,965 |
6,220,862 |
2,219,426 |
2,215,067 |
2.81 |
1.00 |
configure.ocaml |
no-host |
410,867 |
391,333 |
644,003 |
413,273 |
412,540 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,533 |
5,467 |
23,925 |
6,998 |
6,907 |
3.66 |
1.07 |
configure.util-linux |
no-host |
2,099,916 |
2,262,529 |
5,362,346 |
1,993,176 |
1,985,643 |
2.55 |
0.95 |
configure.yash |
no-host |
256,376 |
244,491 |
387,114 |
257,964 |
257,163 |
1.51 |
1.01 |
hello-world |
no-host |
152 |
83 |
3,956 |
346 |
337 |
26.03 |
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 |
818 |
1 |
2 |
2.6 |
8.0 |
153,753 |
12,329 |
2,894 |
8,743 |
76,325 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,769 |
1 |
66 |
14.9 |
27.4 |
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,921 |
3 |
65 |
21.2 |
30.1 |
2,698,991 |
29,940 |
65,698 |
108,699 |
1,288,281 |
1,302,011 |
32,241 |
41 |
131,396 |
1 |
configure.ocaml |
no-host |
3,958 |
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 |
50 |
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,911 |
1 |
2 |
2.5 |
24.4 |
139,269 |
8,031 |
6,693 |
5,989 |
67,845 |
65,435 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
9.2 |
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 |
829 |
1 |
2 |
2.6 |
7.7 |
153,752 |
12,118 |
2,832 |
8,744 |
76,325 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,964 |
2 |
70 |
14.9 |
27.3 |
1,767,674 |
37,983 |
24,932 |
85,428 |
875,384 |
806,862 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
15,037 |
3 |
66 |
21.2 |
30.1 |
2,698,991 |
29,878 |
65,636 |
108,701 |
1,288,281 |
1,302,009 |
32,241 |
41 |
131,272 |
1 |
configure.ocaml |
no-host |
3,980 |
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.3 |
30,539 |
30,539 |
0 |
1,520 |
14,608 |
14,411 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,890 |
1 |
2 |
2.5 |
24.4 |
139,269 |
7,969 |
6,631 |
5,991 |
67,845 |
65,433 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
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 |
20 |
18 |
2 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
6 |
4 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
473 |
434 |
43 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
14 |
9 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
19 |
4 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
684 |
498 |
218 |
2.9 |
bash |
9 |
no-host |
bin-true |
544 |
413 |
139 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,288 |
1,463 |
1,080 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
818 |
588 |
244 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
829 |
585 |
256 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,805 |
9,385 |
6,818 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,588 |
9,499 |
6,517 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
29,940 |
18,248 |
13,609 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,769 |
9,109 |
6,931 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,964 |
9,353 |
6,856 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,931 |
1,720 |
1,226 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,850 |
1,616 |
1,254 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,820 |
2,360 |
1,678 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,958 |
1,692 |
1,306 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,980 |
1,644 |
1,372 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
15 |
35 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
30 |
12 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
214 |
151 |
67 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
32 |
18 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
40 |
9 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,537 |
9,045 |
5,961 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,357 |
9,324 |
6,519 |
30.0 |
dash |
19 |
no-host |
configure.util-linux |
32,738 |
21,813 |
12,036 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,921 |
9,040 |
6,051 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
15,037 |
8,969 |
6,253 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,894 |
1,112 |
792 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,829 |
1,064 |
767 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,630 |
1,616 |
1,059 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,911 |
1,097 |
818 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,890 |
1,045 |
848 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
63 |
35 |
27 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,532 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,101 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,559 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,219 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,110 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,390 |
0 |
0 |
0 |
8 |
0 |
1,987 |
60 |
bash |
9 |
no-host |
bin-true |
66,410 |
0 |
0 |
0 |
8 |
0 |
1,991 |
48 |
dash |
17 |
no-host |
bin-true |
759,529 |
0 |
0 |
0 |
8 |
0 |
1,991 |
159 |
osh-cpython |
25 |
no-host |
bin-true |
124,206 |
0 |
0 |
0 |
16 |
0 |
1,988 |
176 |
osh-native |
33 |
no-host |
bin-true |
125,261 |
0 |
0 |
0 |
16 |
0 |
1,988 |
46 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,216,969 |
0 |
0 |
0 |
32,928 |
0 |
14,446 |
938 |
bash |
10 |
no-host |
configure.cpython |
2,248,965 |
0 |
0 |
0 |
32,992 |
0 |
14,669 |
950 |
dash |
18 |
no-host |
configure.cpython |
6,220,862 |
0 |
0 |
0 |
27,512 |
0 |
13,236 |
1,108 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,219,426 |
0 |
0 |
0 |
27,520 |
0 |
13,313 |
947 |
osh-native |
34 |
no-host |
configure.cpython |
2,215,067 |
0 |
0 |
0 |
27,520 |
0 |
13,291 |
905 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,867 |
0 |
0 |
0 |
5,120 |
0 |
1,966 |
152 |
bash |
12 |
no-host |
configure.ocaml |
391,333 |
0 |
0 |
0 |
5,112 |
0 |
1,928 |
139 |
dash |
20 |
no-host |
configure.ocaml |
644,003 |
0 |
0 |
0 |
5,112 |
0 |
1,854 |
173 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,273 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
150 |
osh-native |
36 |
no-host |
configure.ocaml |
412,540 |
0 |
0 |
0 |
5,120 |
0 |
1,935 |
139 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,533 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,467 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,925 |
0 |
0 |
0 |
96 |
0 |
53 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,998 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,907 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,099,916 |
1 |
0 |
0 |
42,400 |
0 |
18,595 |
1,051 |
bash |
11 |
no-host |
configure.util-linux |
2,262,529 |
0 |
0 |
0 |
42,584 |
0 |
17,477 |
968 |
dash |
19 |
no-host |
configure.util-linux |
5,362,346 |
6 |
0 |
0 |
39,112 |
0 |
16,977 |
1,184 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,993,176 |
4 |
0 |
0 |
39,128 |
0 |
16,940 |
974 |
osh-native |
35 |
no-host |
configure.util-linux |
1,985,643 |
1 |
0 |
0 |
39,136 |
0 |
16,985 |
954 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,376 |
0 |
0 |
0 |
4,120 |
0 |
870 |
72 |
bash |
14 |
no-host |
configure.yash |
244,491 |
0 |
0 |
0 |
3,720 |
0 |
873 |
76 |
dash |
22 |
no-host |
configure.yash |
387,114 |
0 |
0 |
0 |
3,728 |
0 |
854 |
95 |
osh-cpython |
30 |
no-host |
configure.yash |
257,964 |
0 |
0 |
0 |
3,736 |
0 |
846 |
92 |
osh-native |
38 |
no-host |
configure.yash |
257,163 |
0 |
0 |
0 |
3,736 |
0 |
850 |
84 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
83 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,956 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
0 |
1 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host