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 |
16 |
9 |
524 |
22 |
21 |
33.39 |
1.39 |
| bin-true |
no-host |
605 |
434 |
2,440 |
806 |
795 |
4.03 |
1.33 |
| configure.cpython |
no-host |
13,700 |
13,773 |
29,134 |
14,521 |
14,598 |
2.13 |
1.06 |
| configure.ocaml |
no-host |
3,650 |
3,589 |
4,611 |
3,702 |
3,685 |
1.26 |
1.01 |
| configure.tcc |
no-host |
46 |
41 |
219 |
49 |
49 |
4.77 |
1.06 |
| configure.util-linux |
no-host |
12,350 |
13,180 |
31,811 |
13,515 |
13,561 |
2.58 |
1.09 |
| configure.yash |
no-host |
1,695 |
1,638 |
2,413 |
1,700 |
1,710 |
1.42 |
1.00 |
| hello-world |
no-host |
1 |
1 |
61 |
3 |
3 |
51.37 |
2.40 |
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,396 |
1,171 |
24,657 |
3,413 |
3,355 |
10.29 |
1.42 |
| bin-true |
no-host |
98,867 |
49,358 |
833,605 |
139,207 |
134,315 |
8.43 |
1.41 |
| configure.cpython |
no-host |
1,624,407 |
1,644,486 |
6,007,934 |
1,817,714 |
1,782,985 |
3.70 |
1.12 |
| configure.ocaml |
no-host |
298,450 |
280,885 |
556,902 |
316,563 |
315,571 |
1.87 |
1.06 |
| configure.tcc |
no-host |
5,248 |
4,224 |
23,811 |
5,963 |
5,893 |
4.54 |
1.14 |
| configure.util-linux |
no-host |
1,529,814 |
1,696,146 |
4,985,308 |
1,725,728 |
1,709,016 |
3.26 |
1.13 |
| configure.yash |
no-host |
173,683 |
159,471 |
316,802 |
179,057 |
178,886 |
1.82 |
1.03 |
| hello-world |
no-host |
152 |
85 |
3,899 |
383 |
378 |
25.65 |
2.52 |
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.3 |
6.8 |
3,826 |
3,826 |
0 |
703 |
1,880 |
1,243 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
806 |
1 |
2 |
2.6 |
8.8 |
156,798 |
15,428 |
2,915 |
8,760 |
77,347 |
70,691 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,521 |
1 |
63 |
15.2 |
34.5 |
1,782,989 |
46,101 |
25,356 |
91,621 |
885,111 |
806,257 |
25,789 |
62 |
50,000 |
0 |
| configure.util-linux |
no-host |
13,515 |
3 |
58 |
21.4 |
39.5 |
2,707,122 |
126,354 |
66,586 |
113,462 |
1,294,567 |
1,299,093 |
32,539 |
41 |
133,172 |
1 |
| configure.ocaml |
no-host |
3,702 |
1 |
2 |
2.7 |
28.7 |
149,873 |
12,476 |
6,519 |
7,818 |
70,839 |
71,216 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
26.2 |
30,628 |
30,628 |
0 |
1,581 |
14,645 |
14,402 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,700 |
1 |
2 |
2.6 |
33.5 |
140,017 |
8,080 |
6,714 |
6,525 |
68,347 |
65,145 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.7 |
116,368 |
64,438 |
42,639 |
4,561 |
54,471 |
57,336 |
277 |
3 |
85,278 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.4 |
3,825 |
3,825 |
0 |
704 |
1,880 |
1,241 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
795 |
1 |
2 |
2.6 |
8.5 |
156,797 |
15,423 |
2,910 |
8,761 |
77,347 |
70,689 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,598 |
1 |
65 |
15.2 |
34.4 |
1,782,988 |
46,087 |
25,352 |
91,622 |
885,111 |
806,255 |
25,789 |
62 |
50,000 |
0 |
| configure.util-linux |
no-host |
13,561 |
3 |
60 |
21.4 |
39.6 |
2,707,122 |
126,347 |
66,579 |
113,464 |
1,294,567 |
1,299,091 |
32,539 |
41 |
133,158 |
1 |
| configure.ocaml |
no-host |
3,685 |
1 |
2 |
2.7 |
28.6 |
149,873 |
12,470 |
6,513 |
7,820 |
70,839 |
71,214 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
26.0 |
30,628 |
30,628 |
0 |
1,583 |
14,645 |
14,400 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,710 |
1 |
2 |
2.6 |
33.3 |
140,017 |
8,069 |
6,703 |
6,527 |
68,347 |
65,143 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
9.3 |
116,367 |
64,433 |
42,634 |
4,562 |
54,471 |
57,334 |
277 |
3 |
85,268 |
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 |
16 |
9 |
8 |
4.6 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
6 |
3 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
524 |
466 |
62 |
22.8 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
22 |
12 |
11 |
9.7 |
osh-native |
| 39 |
no-host |
abuild-print-help |
21 |
11 |
10 |
9.3 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
605 |
307 |
334 |
3.0 |
bash |
| 9 |
no-host |
bin-true |
434 |
275 |
163 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
2,440 |
909 |
1,795 |
18.1 |
osh-cpython |
| 25 |
no-host |
bin-true |
806 |
299 |
522 |
8.8 |
osh-native |
| 33 |
no-host |
bin-true |
795 |
304 |
506 |
8.5 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
13,700 |
7,549 |
6,504 |
34.7 |
bash |
| 10 |
no-host |
configure.cpython |
13,773 |
7,490 |
6,668 |
34.6 |
dash |
| 18 |
no-host |
configure.cpython |
29,134 |
15,917 |
15,177 |
34.5 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
14,521 |
7,305 |
7,504 |
34.5 |
osh-native |
| 34 |
no-host |
configure.cpython |
14,598 |
7,236 |
7,506 |
34.4 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
3,650 |
1,453 |
1,235 |
28.8 |
bash |
| 12 |
no-host |
configure.ocaml |
3,589 |
1,406 |
1,205 |
28.5 |
dash |
| 20 |
no-host |
configure.ocaml |
4,611 |
2,099 |
1,734 |
28.7 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
3,702 |
1,469 |
1,275 |
28.7 |
osh-native |
| 36 |
no-host |
configure.ocaml |
3,685 |
1,481 |
1,242 |
28.6 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
46 |
24 |
22 |
26.1 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
24 |
17 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
219 |
155 |
67 |
26.1 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
49 |
24 |
25 |
26.2 |
osh-native |
| 37 |
no-host |
configure.tcc |
49 |
26 |
23 |
26.0 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
12,350 |
6,422 |
6,377 |
39.5 |
bash |
| 11 |
no-host |
configure.util-linux |
13,180 |
6,357 |
7,288 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
31,811 |
20,025 |
12,861 |
39.5 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
13,515 |
6,319 |
7,424 |
39.5 |
osh-native |
| 35 |
no-host |
configure.util-linux |
13,561 |
6,174 |
7,464 |
39.6 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
1,695 |
945 |
756 |
33.2 |
bash |
| 14 |
no-host |
configure.yash |
1,638 |
953 |
686 |
33.5 |
dash |
| 22 |
no-host |
configure.yash |
2,413 |
1,434 |
1,021 |
33.3 |
osh-cpython |
| 30 |
no-host |
configure.yash |
1,700 |
944 |
759 |
33.5 |
osh-native |
| 38 |
no-host |
configure.yash |
1,710 |
938 |
774 |
33.3 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.1 |
bash |
| 8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
61 |
43 |
18 |
18.1 |
osh-cpython |
| 24 |
no-host |
hello-world |
3 |
2 |
1 |
6.8 |
osh-native |
| 32 |
no-host |
hello-world |
3 |
1 |
1 |
6.4 |
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,396 |
0 |
0 |
0 |
8 |
0 |
41 |
2 |
bash |
| 15 |
no-host |
abuild-print-help |
1,171 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
24,657 |
0 |
0 |
0 |
8 |
0 |
45 |
4 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
3,413 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
| 39 |
no-host |
abuild-print-help |
3,355 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
98,867 |
0 |
0 |
0 |
8 |
0 |
1,980 |
60 |
bash |
| 9 |
no-host |
bin-true |
49,358 |
0 |
0 |
0 |
8 |
0 |
2,977 |
54 |
dash |
| 17 |
no-host |
bin-true |
833,605 |
0 |
0 |
0 |
8 |
0 |
1,988 |
165 |
osh-cpython |
| 25 |
no-host |
bin-true |
139,207 |
0 |
0 |
0 |
16 |
0 |
1,952 |
114 |
osh-native |
| 33 |
no-host |
bin-true |
134,315 |
0 |
0 |
0 |
16 |
0 |
1,971 |
99 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
1,624,407 |
0 |
0 |
0 |
25,296 |
0 |
14,020 |
1,175 |
bash |
| 10 |
no-host |
configure.cpython |
1,644,486 |
0 |
0 |
0 |
25,272 |
0 |
14,067 |
1,045 |
dash |
| 18 |
no-host |
configure.cpython |
6,007,934 |
0 |
0 |
0 |
25,272 |
0 |
12,847 |
879 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
1,817,714 |
0 |
0 |
0 |
25,280 |
0 |
12,828 |
1,050 |
osh-native |
| 34 |
no-host |
configure.cpython |
1,782,985 |
0 |
0 |
0 |
25,280 |
0 |
12,835 |
1,038 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
298,450 |
0 |
0 |
0 |
4,432 |
0 |
2,007 |
207 |
bash |
| 12 |
no-host |
configure.ocaml |
280,885 |
0 |
0 |
0 |
4,432 |
0 |
2,102 |
196 |
dash |
| 20 |
no-host |
configure.ocaml |
556,902 |
0 |
0 |
0 |
4,432 |
0 |
1,909 |
201 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
316,563 |
0 |
0 |
0 |
4,440 |
0 |
2,003 |
200 |
osh-native |
| 36 |
no-host |
configure.ocaml |
315,571 |
0 |
0 |
0 |
4,440 |
0 |
1,990 |
190 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
5,248 |
0 |
0 |
0 |
80 |
0 |
49 |
3 |
bash |
| 13 |
no-host |
configure.tcc |
4,224 |
0 |
0 |
0 |
88 |
0 |
51 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
23,811 |
0 |
0 |
0 |
88 |
0 |
53 |
3 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
5,963 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
osh-native |
| 37 |
no-host |
configure.tcc |
5,893 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
1,529,814 |
0 |
0 |
0 |
35,944 |
0 |
18,984 |
1,097 |
bash |
| 11 |
no-host |
configure.util-linux |
1,696,146 |
0 |
0 |
0 |
35,936 |
0 |
17,017 |
1,237 |
dash |
| 19 |
no-host |
configure.util-linux |
4,985,308 |
3 |
0 |
0 |
35,944 |
0 |
17,503 |
908 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
1,725,728 |
1 |
0 |
0 |
35,944 |
0 |
17,488 |
1,137 |
osh-native |
| 35 |
no-host |
configure.util-linux |
1,709,016 |
2 |
0 |
0 |
35,944 |
0 |
17,441 |
1,013 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
173,683 |
0 |
0 |
0 |
3,616 |
0 |
874 |
98 |
bash |
| 14 |
no-host |
configure.yash |
159,471 |
0 |
0 |
0 |
3,616 |
0 |
998 |
258 |
dash |
| 22 |
no-host |
configure.yash |
316,802 |
0 |
0 |
0 |
3,616 |
0 |
860 |
107 |
osh-cpython |
| 30 |
no-host |
configure.yash |
179,057 |
0 |
0 |
0 |
3,624 |
0 |
854 |
105 |
osh-native |
| 38 |
no-host |
configure.yash |
178,886 |
0 |
0 |
0 |
3,624 |
0 |
856 |
98 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
85 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
3,899 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
| 24 |
no-host |
hello-world |
383 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 32 |
no-host |
hello-world |
378 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host