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 |
10 |
468 |
22 |
22 |
24.11 |
1.16 |
bin-true |
no-host |
677 |
558 |
2,348 |
812 |
821 |
3.47 |
1.20 |
configure.cpython |
no-host |
15,459 |
15,438 |
29,695 |
15,750 |
15,931 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,912 |
3,888 |
4,678 |
3,909 |
3,967 |
1.20 |
1.00 |
configure.tcc |
no-host |
49 |
43 |
205 |
50 |
50 |
4.18 |
1.01 |
configure.util-linux |
no-host |
14,520 |
15,482 |
31,849 |
14,964 |
15,189 |
2.19 |
1.03 |
configure.yash |
no-host |
1,854 |
1,830 |
2,529 |
1,863 |
1,926 |
1.36 |
1.00 |
hello-world |
no-host |
2 |
1 |
65 |
3 |
3 |
42.27 |
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,557 |
1,102 |
23,744 |
3,218 |
3,119 |
9.29 |
1.26 |
bin-true |
no-host |
106,404 |
66,426 |
769,539 |
125,202 |
125,180 |
7.23 |
1.18 |
configure.cpython |
no-host |
2,223,599 |
2,243,177 |
6,196,883 |
2,224,861 |
2,219,838 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,351 |
390,745 |
646,910 |
413,259 |
413,062 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,541 |
5,481 |
23,996 |
6,986 |
6,895 |
3.67 |
1.07 |
configure.util-linux |
no-host |
2,096,673 |
2,260,375 |
5,372,252 |
2,002,956 |
1,988,520 |
2.56 |
0.96 |
configure.yash |
no-host |
256,670 |
245,077 |
387,788 |
258,132 |
257,737 |
1.51 |
1.01 |
hello-world |
no-host |
155 |
81 |
3,946 |
343 |
336 |
25.46 |
2.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.2 |
6.2 |
3,790 |
3,790 |
0 |
694 |
1,862 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
812 |
1 |
2 |
2.6 |
8.0 |
153,754 |
12,330 |
2,895 |
8,743 |
76,326 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,750 |
1 |
66 |
14.9 |
27.4 |
1,771,755 |
49,613 |
28,520 |
85,415 |
878,119 |
808,221 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,964 |
3 |
66 |
21.2 |
30.1 |
2,702,521 |
53,774 |
65,699 |
108,691 |
1,290,644 |
1,303,186 |
32,239 |
41 |
131,398 |
1 |
configure.ocaml |
no-host |
3,909 |
1 |
2 |
2.6 |
20.6 |
150,088 |
11,120 |
5,215 |
7,508 |
70,973 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.3 |
30,594 |
30,594 |
0 |
1,518 |
14,645 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,863 |
1 |
2 |
2.5 |
24.2 |
139,420 |
8,032 |
6,694 |
5,989 |
67,946 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,300 |
64,411 |
42,621 |
4,532 |
54,440 |
57,328 |
277 |
3 |
85,242 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,789 |
3,789 |
0 |
695 |
1,862 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
821 |
1 |
2 |
2.6 |
7.5 |
153,753 |
12,119 |
2,833 |
8,744 |
76,326 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,931 |
1 |
67 |
14.9 |
27.3 |
1,771,754 |
49,071 |
28,458 |
85,416 |
878,119 |
808,219 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
15,189 |
3 |
66 |
21.2 |
30.3 |
2,702,521 |
53,701 |
65,637 |
108,693 |
1,290,644 |
1,303,184 |
32,239 |
41 |
131,274 |
1 |
configure.ocaml |
no-host |
3,967 |
1 |
2 |
2.6 |
20.6 |
150,088 |
11,058 |
5,153 |
7,510 |
70,973 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.3 |
30,594 |
30,594 |
0 |
1,520 |
14,645 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,926 |
1 |
2 |
2.5 |
24.2 |
139,420 |
7,970 |
6,632 |
5,991 |
67,946 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.7 |
116,299 |
64,349 |
42,559 |
4,533 |
54,440 |
57,326 |
277 |
3 |
85,118 |
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 |
14 |
6 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
6 |
4 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
468 |
411 |
60 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
17 |
6 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
16 |
7 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
677 |
509 |
201 |
3.0 |
bash |
9 |
no-host |
bin-true |
558 |
436 |
132 |
1.3 |
dash |
17 |
no-host |
bin-true |
2,348 |
1,545 |
1,074 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
812 |
571 |
259 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
821 |
597 |
238 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,459 |
9,264 |
6,604 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,438 |
9,124 |
6,745 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,695 |
17,997 |
13,621 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,750 |
9,291 |
6,729 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,931 |
9,117 |
6,862 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,912 |
1,657 |
1,297 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,888 |
1,664 |
1,246 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,678 |
2,217 |
1,675 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,909 |
1,656 |
1,282 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,967 |
1,706 |
1,298 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
31 |
19 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
43 |
25 |
19 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
205 |
136 |
72 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
24 |
26 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
50 |
31 |
20 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,520 |
9,026 |
5,972 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
15,482 |
9,316 |
6,664 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,849 |
21,236 |
11,699 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,964 |
8,998 |
6,168 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
15,189 |
9,041 |
6,333 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,854 |
1,033 |
831 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,830 |
1,033 |
800 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,529 |
1,547 |
1,025 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,863 |
1,037 |
829 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,926 |
1,084 |
847 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
65 |
45 |
20 |
18.1 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.2 |
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,557 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,102 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,744 |
0 |
0 |
0 |
8 |
0 |
45 |
14 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,218 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,119 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,404 |
0 |
0 |
0 |
8 |
0 |
1,989 |
36 |
bash |
9 |
no-host |
bin-true |
66,426 |
0 |
0 |
0 |
8 |
0 |
1,981 |
84 |
dash |
17 |
no-host |
bin-true |
769,539 |
0 |
0 |
0 |
8 |
0 |
2,001 |
199 |
osh-cpython |
25 |
no-host |
bin-true |
125,202 |
0 |
0 |
0 |
16 |
0 |
1,992 |
105 |
osh-native |
33 |
no-host |
bin-true |
125,180 |
0 |
0 |
0 |
16 |
0 |
1,982 |
94 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,223,599 |
0 |
0 |
0 |
32,928 |
0 |
14,542 |
1,043 |
bash |
10 |
no-host |
configure.cpython |
2,243,177 |
0 |
0 |
0 |
32,992 |
0 |
14,624 |
1,017 |
dash |
18 |
no-host |
configure.cpython |
6,196,883 |
0 |
0 |
0 |
27,512 |
0 |
13,278 |
1,083 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,224,861 |
0 |
0 |
0 |
27,520 |
0 |
13,197 |
934 |
osh-native |
34 |
no-host |
configure.cpython |
2,219,838 |
0 |
0 |
0 |
27,520 |
0 |
13,311 |
889 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,351 |
0 |
0 |
0 |
5,120 |
0 |
1,948 |
175 |
bash |
12 |
no-host |
configure.ocaml |
390,745 |
0 |
0 |
0 |
5,112 |
0 |
1,938 |
135 |
dash |
20 |
no-host |
configure.ocaml |
646,910 |
1 |
0 |
0 |
5,112 |
0 |
1,853 |
189 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,259 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
311 |
osh-native |
36 |
no-host |
configure.ocaml |
413,062 |
0 |
0 |
0 |
5,120 |
0 |
1,937 |
140 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,541 |
0 |
0 |
0 |
104 |
0 |
49 |
4 |
bash |
13 |
no-host |
configure.tcc |
5,481 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,996 |
0 |
0 |
0 |
96 |
0 |
53 |
8 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,986 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,895 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,096,673 |
1 |
0 |
0 |
42,408 |
0 |
18,568 |
895 |
bash |
11 |
no-host |
configure.util-linux |
2,260,375 |
1 |
0 |
0 |
42,592 |
0 |
17,426 |
1,238 |
dash |
19 |
no-host |
configure.util-linux |
5,372,252 |
6 |
0 |
0 |
39,136 |
0 |
16,977 |
1,275 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,002,956 |
2 |
0 |
0 |
39,120 |
0 |
16,937 |
887 |
osh-native |
35 |
no-host |
configure.util-linux |
1,988,520 |
0 |
0 |
0 |
39,136 |
0 |
17,018 |
938 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,670 |
0 |
0 |
0 |
4,120 |
0 |
872 |
81 |
bash |
14 |
no-host |
configure.yash |
245,077 |
0 |
0 |
0 |
3,720 |
0 |
867 |
81 |
dash |
22 |
no-host |
configure.yash |
387,788 |
0 |
0 |
0 |
3,728 |
0 |
855 |
104 |
osh-cpython |
30 |
no-host |
configure.yash |
258,132 |
0 |
0 |
0 |
3,736 |
0 |
848 |
82 |
osh-native |
38 |
no-host |
configure.yash |
257,737 |
0 |
0 |
0 |
3,736 |
0 |
849 |
71 |
osh-native-souffle |
0 |
no-host |
hello-world |
155 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
81 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,946 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
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