File: test_openbsd_luna88k_bootup.sh

package info (click to toggle)
gxemul 0.7.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,152 kB
  • sloc: ansic: 111,065; sh: 972; exp: 354; makefile: 118
file content (30 lines) | stat: -rwxr-xr-x 677 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh
#
#  A small test to measure how long time it takes (real time) to boot
#  OpenBSD/luna88k up to the login prompt.
#
#  Start with:
#
#	test/test_openbsd_luna88k_bootup.sh
#
#  after making sure that you have 'liveimage-luna88k-raw-20201206.img' and
#  'boot' in the current directory.
#
#
#  2021-04-22 baseline:
#	71.10 seconds: ./configure gcc8 --debug
#	36.70 seconds: ./configure (clang 10.0.1)
#
#  M88K_MAX_VPH_TLB_ENTRIES:
#	 32	37.21 seconds
#	 64	36.76 seconds
#	128	36.70 seconds
#	192	36.67 seconds


time test/test_openbsd_luna88k_bootup.expect 2> /tmp/gxemul_result

echo "-------------------------------------------------"
echo
cat /tmp/gxemul_result