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 |
483 |
23 |
22 |
24.30 |
1.14 |
bin-true |
no-host |
703 |
556 |
2,400 |
825 |
833 |
3.41 |
1.17 |
configure.cpython |
no-host |
16,205 |
15,756 |
30,934 |
16,249 |
16,261 |
1.91 |
1.00 |
configure.ocaml |
no-host |
3,965 |
3,928 |
4,931 |
4,014 |
4,016 |
1.24 |
1.01 |
configure.tcc |
no-host |
49 |
44 |
218 |
51 |
50 |
4.41 |
1.03 |
configure.util-linux |
no-host |
14,901 |
15,821 |
34,607 |
15,383 |
15,330 |
2.32 |
1.03 |
configure.yash |
no-host |
1,927 |
1,882 |
2,614 |
1,938 |
1,932 |
1.36 |
1.01 |
hello-world |
no-host |
2 |
1 |
61 |
3 |
3 |
33.15 |
1.60 |
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,517 |
1,099 |
23,594 |
3,193 |
3,114 |
9.37 |
1.27 |
bin-true |
no-host |
107,371 |
66,376 |
755,861 |
125,137 |
125,269 |
7.04 |
1.17 |
configure.cpython |
no-host |
2,217,781 |
2,239,826 |
6,188,234 |
2,231,111 |
2,205,650 |
2.79 |
1.01 |
configure.ocaml |
no-host |
410,542 |
391,506 |
643,201 |
412,908 |
412,629 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,552 |
5,491 |
23,836 |
6,954 |
6,914 |
3.64 |
1.06 |
configure.util-linux |
no-host |
2,095,893 |
2,264,948 |
5,349,017 |
1,997,923 |
1,987,994 |
2.55 |
0.95 |
configure.yash |
no-host |
256,300 |
245,313 |
385,590 |
257,093 |
256,739 |
1.50 |
1.00 |
hello-world |
no-host |
152 |
83 |
3,960 |
341 |
336 |
26.05 |
2.24 |
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.0 |
3,789 |
3,789 |
0 |
694 |
1,861 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
825 |
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 |
16,249 |
1 |
68 |
14.9 |
27.5 |
1,767,675 |
49,060 |
28,519 |
85,427 |
875,384 |
806,864 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
15,383 |
3 |
69 |
21.2 |
30.0 |
2,699,097 |
29,940 |
65,698 |
108,729 |
1,288,315 |
1,302,053 |
32,244 |
41 |
131,396 |
1 |
configure.ocaml |
no-host |
4,014 |
1 |
2 |
2.6 |
20.4 |
149,553 |
11,119 |
5,214 |
7,508 |
70,616 |
71,429 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
51 |
0 |
0 |
1.3 |
19.1 |
30,539 |
30,539 |
0 |
1,518 |
14,608 |
14,413 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,938 |
1 |
2 |
2.5 |
24.2 |
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 |
833 |
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 |
16,261 |
2 |
70 |
14.9 |
27.4 |
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,330 |
3 |
68 |
21.2 |
30.4 |
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 |
4,016 |
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 |
50 |
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,932 |
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.8 |
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 |
11 |
9 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
6 |
4 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
483 |
436 |
50 |
22.4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
20 |
3 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
19 |
3 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
703 |
508 |
229 |
3.0 |
bash |
9 |
no-host |
bin-true |
556 |
423 |
142 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,400 |
1,539 |
1,133 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
825 |
591 |
249 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
833 |
577 |
269 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
16,205 |
9,803 |
6,823 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,756 |
9,296 |
6,890 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
30,934 |
18,651 |
14,291 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
16,249 |
9,448 |
7,071 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
16,261 |
9,580 |
6,957 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,965 |
1,726 |
1,277 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,928 |
1,666 |
1,282 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,931 |
2,427 |
1,729 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
4,014 |
1,705 |
1,346 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
4,016 |
1,776 |
1,278 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
29 |
22 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
44 |
24 |
20 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
218 |
163 |
58 |
19.1 |
osh-cpython |
29 |
no-host |
configure.tcc |
51 |
38 |
14 |
19.1 |
osh-native |
37 |
no-host |
configure.tcc |
50 |
25 |
26 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,901 |
9,292 |
6,086 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,821 |
9,572 |
6,741 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
34,607 |
22,661 |
13,147 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,383 |
9,204 |
6,378 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
15,330 |
9,226 |
6,298 |
30.4 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,927 |
1,112 |
822 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,882 |
1,114 |
772 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,614 |
1,534 |
1,124 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,938 |
1,138 |
802 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,932 |
1,056 |
881 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
61 |
38 |
22 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.0 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,517 |
0 |
0 |
0 |
16 |
0 |
40 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,099 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,594 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,193 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,114 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,371 |
0 |
0 |
0 |
8 |
0 |
1,988 |
115 |
bash |
9 |
no-host |
bin-true |
66,376 |
0 |
0 |
0 |
8 |
0 |
1,985 |
51 |
dash |
17 |
no-host |
bin-true |
755,861 |
0 |
0 |
0 |
8 |
0 |
1,994 |
247 |
osh-cpython |
25 |
no-host |
bin-true |
125,137 |
0 |
0 |
0 |
16 |
0 |
1,991 |
200 |
osh-native |
33 |
no-host |
bin-true |
125,269 |
0 |
0 |
0 |
16 |
0 |
1,983 |
98 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,217,781 |
1 |
0 |
0 |
32,928 |
0 |
14,552 |
1,086 |
bash |
10 |
no-host |
configure.cpython |
2,239,826 |
0 |
0 |
0 |
32,992 |
0 |
14,706 |
979 |
dash |
18 |
no-host |
configure.cpython |
6,188,234 |
0 |
0 |
0 |
27,512 |
0 |
13,193 |
1,118 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,231,111 |
0 |
0 |
0 |
27,520 |
0 |
13,175 |
967 |
osh-native |
34 |
no-host |
configure.cpython |
2,205,650 |
0 |
0 |
0 |
27,520 |
0 |
13,224 |
921 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,542 |
0 |
0 |
0 |
5,120 |
0 |
1,948 |
170 |
bash |
12 |
no-host |
configure.ocaml |
391,506 |
0 |
0 |
0 |
5,112 |
0 |
1,935 |
129 |
dash |
20 |
no-host |
configure.ocaml |
643,201 |
0 |
0 |
0 |
5,112 |
0 |
1,855 |
180 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,908 |
0 |
0 |
0 |
5,120 |
0 |
1,923 |
169 |
osh-native |
36 |
no-host |
configure.ocaml |
412,629 |
0 |
0 |
0 |
5,120 |
0 |
1,933 |
140 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,552 |
0 |
0 |
0 |
104 |
0 |
49 |
0 |
bash |
13 |
no-host |
configure.tcc |
5,491 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,836 |
0 |
0 |
0 |
96 |
0 |
53 |
12 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,954 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,914 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,095,893 |
1 |
0 |
0 |
42,400 |
0 |
18,475 |
1,098 |
bash |
11 |
no-host |
configure.util-linux |
2,264,948 |
1 |
0 |
0 |
42,592 |
0 |
17,396 |
1,151 |
dash |
19 |
no-host |
configure.util-linux |
5,349,017 |
7 |
0 |
0 |
39,128 |
0 |
16,996 |
1,171 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,997,923 |
1 |
0 |
0 |
39,144 |
0 |
16,966 |
974 |
osh-native |
35 |
no-host |
configure.util-linux |
1,987,994 |
1 |
0 |
0 |
39,136 |
0 |
16,950 |
954 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,300 |
0 |
0 |
0 |
4,120 |
0 |
868 |
82 |
bash |
14 |
no-host |
configure.yash |
245,313 |
0 |
0 |
0 |
3,720 |
0 |
868 |
71 |
dash |
22 |
no-host |
configure.yash |
385,590 |
0 |
0 |
0 |
3,728 |
0 |
853 |
91 |
osh-cpython |
30 |
no-host |
configure.yash |
257,093 |
0 |
0 |
0 |
3,736 |
0 |
845 |
84 |
osh-native |
38 |
no-host |
configure.yash |
256,739 |
0 |
0 |
0 |
3,736 |
0 |
847 |
76 |
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,960 |
0 |
0 |
0 |
8 |
0 |
7 |
7 |
osh-cpython |
24 |
no-host |
hello-world |
341 |
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