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 |
464 |
21 |
21 |
25.00 |
1.15 |
bin-true |
no-host |
646 |
524 |
2,262 |
789 |
791 |
3.50 |
1.22 |
configure.cpython |
no-host |
14,459 |
14,456 |
27,992 |
14,616 |
14,600 |
1.94 |
1.01 |
configure.ocaml |
no-host |
3,697 |
3,628 |
4,544 |
3,716 |
3,699 |
1.23 |
1.01 |
configure.tcc |
no-host |
46 |
40 |
200 |
47 |
47 |
4.33 |
1.02 |
configure.util-linux |
no-host |
13,397 |
14,245 |
30,556 |
13,780 |
13,699 |
2.28 |
1.03 |
configure.yash |
no-host |
1,788 |
1,717 |
2,383 |
1,764 |
1,764 |
1.33 |
0.99 |
hello-world |
no-host |
1 |
1 |
55 |
3 |
3 |
43.56 |
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,534 |
1,114 |
23,591 |
3,156 |
3,105 |
9.31 |
1.25 |
bin-true |
no-host |
105,348 |
66,453 |
759,086 |
128,169 |
126,241 |
7.21 |
1.22 |
configure.cpython |
no-host |
2,000,334 |
2,020,852 |
5,989,979 |
2,004,449 |
1,984,595 |
2.99 |
1.00 |
configure.ocaml |
no-host |
373,625 |
354,153 |
606,257 |
376,137 |
375,233 |
1.62 |
1.01 |
configure.tcc |
no-host |
6,098 |
4,969 |
23,418 |
6,461 |
6,439 |
3.84 |
1.06 |
configure.util-linux |
no-host |
1,903,421 |
2,066,623 |
5,172,401 |
1,804,562 |
1,797,384 |
2.72 |
0.95 |
configure.yash |
no-host |
233,272 |
221,288 |
363,699 |
234,724 |
235,182 |
1.56 |
1.01 |
hello-world |
no-host |
148 |
78 |
3,949 |
344 |
339 |
26.68 |
2.32 |
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 |
789 |
1 |
2 |
2.6 |
8.3 |
153,753 |
12,329 |
2,894 |
8,743 |
76,325 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,616 |
1 |
62 |
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 |
13,780 |
3 |
60 |
21.2 |
30.3 |
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,716 |
0 |
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.6 |
30,539 |
30,539 |
0 |
1,518 |
14,608 |
14,413 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,764 |
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 |
21 |
1 |
2 |
2.8 |
9.0 |
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.8 |
3,788 |
3,788 |
0 |
695 |
1,861 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
791 |
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,600 |
1 |
64 |
14.9 |
29.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 |
13,699 |
3 |
61 |
21.2 |
30.0 |
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,699 |
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.6 |
30,539 |
30,539 |
0 |
1,520 |
14,608 |
14,411 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,764 |
1 |
2 |
2.5 |
26.2 |
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 |
10 |
9 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
464 |
398 |
69 |
22.8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
21 |
9 |
13 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
10 |
11 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
646 |
292 |
387 |
3.0 |
bash |
9 |
no-host |
bin-true |
524 |
277 |
259 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,262 |
771 |
1,748 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
789 |
308 |
499 |
8.3 |
osh-native |
33 |
no-host |
bin-true |
791 |
277 |
529 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,459 |
6,554 |
8,294 |
29.3 |
bash |
10 |
no-host |
configure.cpython |
14,456 |
6,500 |
8,386 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
27,992 |
14,031 |
15,783 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,616 |
6,426 |
8,474 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
14,600 |
6,429 |
8,442 |
29.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,697 |
1,297 |
1,442 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,628 |
1,286 |
1,364 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,544 |
1,856 |
1,897 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,716 |
1,270 |
1,486 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,699 |
1,272 |
1,465 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
24 |
23 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
40 |
19 |
21 |
19.5 |
dash |
21 |
no-host |
configure.tcc |
200 |
141 |
62 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
30 |
18 |
19.6 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
21 |
27 |
19.6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,397 |
5,760 |
8,117 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,245 |
5,822 |
8,931 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
30,556 |
17,266 |
14,361 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,780 |
5,474 |
8,525 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
13,699 |
5,471 |
8,444 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,788 |
925 |
861 |
26.3 |
bash |
14 |
no-host |
configure.yash |
1,717 |
912 |
808 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,383 |
1,307 |
1,117 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,764 |
881 |
886 |
26.3 |
osh-native |
38 |
no-host |
configure.yash |
1,764 |
873 |
895 |
26.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
55 |
38 |
17 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
2 |
5.8 |
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,534 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,114 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,591 |
0 |
0 |
0 |
8 |
0 |
45 |
4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,156 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,105 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,348 |
0 |
0 |
0 |
8 |
0 |
1,984 |
124 |
bash |
9 |
no-host |
bin-true |
66,453 |
0 |
0 |
0 |
8 |
0 |
1,986 |
58 |
dash |
17 |
no-host |
bin-true |
759,086 |
0 |
0 |
0 |
8 |
0 |
1,984 |
191 |
osh-cpython |
25 |
no-host |
bin-true |
128,169 |
0 |
0 |
0 |
16 |
0 |
1,978 |
146 |
osh-native |
33 |
no-host |
bin-true |
126,241 |
0 |
0 |
0 |
16 |
0 |
1,983 |
249 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,000,334 |
0 |
0 |
0 |
32,928 |
0 |
14,232 |
1,224 |
bash |
10 |
no-host |
configure.cpython |
2,020,852 |
1 |
0 |
0 |
32,992 |
0 |
14,321 |
1,326 |
dash |
18 |
no-host |
configure.cpython |
5,989,979 |
0 |
0 |
0 |
27,512 |
0 |
13,048 |
1,187 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,004,449 |
0 |
0 |
0 |
27,520 |
0 |
13,140 |
1,268 |
osh-native |
34 |
no-host |
configure.cpython |
1,984,595 |
0 |
0 |
0 |
27,520 |
0 |
13,081 |
1,200 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,625 |
0 |
0 |
0 |
5,120 |
0 |
1,950 |
182 |
bash |
12 |
no-host |
configure.ocaml |
354,153 |
0 |
0 |
0 |
5,112 |
0 |
1,941 |
193 |
dash |
20 |
no-host |
configure.ocaml |
606,257 |
1 |
0 |
0 |
5,112 |
0 |
1,855 |
196 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,137 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
209 |
osh-native |
36 |
no-host |
configure.ocaml |
375,233 |
0 |
0 |
0 |
5,120 |
0 |
1,921 |
224 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,098 |
0 |
0 |
0 |
104 |
0 |
48 |
2 |
bash |
13 |
no-host |
configure.tcc |
4,969 |
0 |
0 |
0 |
96 |
0 |
46 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,418 |
0 |
0 |
0 |
96 |
0 |
53 |
17 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,461 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,439 |
0 |
0 |
0 |
104 |
0 |
47 |
9 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,903,421 |
1 |
0 |
0 |
42,400 |
0 |
18,438 |
1,324 |
bash |
11 |
no-host |
configure.util-linux |
2,066,623 |
1 |
0 |
0 |
42,592 |
0 |
17,396 |
1,363 |
dash |
19 |
no-host |
configure.util-linux |
5,172,401 |
12 |
0 |
0 |
39,112 |
0 |
17,011 |
1,321 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,804,562 |
0 |
0 |
0 |
39,120 |
0 |
16,991 |
1,230 |
osh-native |
35 |
no-host |
configure.util-linux |
1,797,384 |
0 |
0 |
0 |
39,128 |
0 |
16,986 |
1,284 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,272 |
0 |
0 |
0 |
4,120 |
0 |
896 |
80 |
bash |
14 |
no-host |
configure.yash |
221,288 |
0 |
0 |
0 |
3,720 |
0 |
870 |
88 |
dash |
22 |
no-host |
configure.yash |
363,699 |
0 |
0 |
0 |
3,728 |
0 |
854 |
86 |
osh-cpython |
30 |
no-host |
configure.yash |
234,724 |
0 |
0 |
0 |
3,736 |
0 |
847 |
82 |
osh-native |
38 |
no-host |
configure.yash |
235,182 |
0 |
0 |
0 |
3,744 |
0 |
849 |
109 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
78 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,949 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host