Tests
Suites
Latest Results
Search
Register
Login
Popular Tests
Timed Linux Kernel Compilation
SVT-AV1
7-Zip Compression
Stockfish
FFmpeg
x265
Newest Tests
Rustls
LiteRT
WarpX
Epoch
Valkey
Whisperfile
Recently Updated Tests
Mobile Neural Network
ACES DGEMM
NWChem
SuperTuxKart
ASTC Encoder
SVT-AV1
New & Recently Updated Tests
Recently Updated Suites
Database Test Suite
Machine Learning
Steam
New & Recently Updated Suites
Component Benchmarks
CPUs / Processors
GPUs / Graphics
OpenGL
Disks / Storage
Motherboards
File-Systems
Operating Systems
OpenBenchmarking.org
Corporate / Organization Info
Bug Reports / Feature Requests
Systemd Total Boot Time 1.0.3
pts/systemd-boot-total-1.0.3
- 24 June 2016 -
Add new test run options
install.sh
#!/bin/sh SA=`which systemd-analyze` echo $? > ~/install-exit-status cat > systemd-boot-total << EOT #!/bin/sh case \$@ in total ) OUTPUT="\$(${SA} | sed -e 's/in /\n/' -e 's/[+|=] /\n/g' | sed -n '6p'| cut -d' ' -f1)" ;; userspace ) OUTPUT="\$(${SA} | sed -e 's/in /\n/' -e 's/[+|=] /\n/g' | sed -n '5p'| cut -d' ' -f1)" ;; kernel ) OUTPUT="\$(${SA} | sed -e 's/in /\n/' -e 's/[+|=] /\n/g' | sed -n '4p'| cut -d' ' -f1)" ;; loader ) OUTPUT="\$(${SA} | sed -e 's/in /\n/' -e 's/[+|=] /\n/g' | sed -n '3p'| cut -d' ' -f1)" ;; firmware ) OUTPUT="\$(${SA} | sed -e 's/in /\n/' -e 's/[+|=] /\n/g' | sed -n '2p'| cut -d' ' -f1)" ;; esac if [[ "\$OUTPUT" =~ "ms" ]];then TIME_MS="\$(echo \$OUTPUT | cut -d'm' -f1)" echo \$TIME_MS > \$LOG_FILE 2>&1 else TIME_SEC="\$(echo \$OUTPUT | cut -d's' -f1)" TIME_MS="\$(echo "\$TIME_SEC * 1000" | bc)" echo \$TIME_MS > \$LOG_FILE 2>&1 fi EOT chmod +x systemd-boot-total
results-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v6.4.0--> <PhoronixTestSuite> <ResultsParser> <OutputTemplate>#_RESULT_#</OutputTemplate> <StripFromResult>s</StripFromResult> </ResultsParser> </PhoronixTestSuite>
support-check.sh
#!/bin/sh which systemd-analyze if [ $? -gt 0 ]; then echo "Systemd is required for this test." > $TEST_CUSTOM_ERROR fi
test-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v6.4.0--> <PhoronixTestSuite> <TestInformation> <Title>Systemd Total Boot Time</Title> <Description>This test uses systemd-analyze to report the entire boot time.</Description> <ResultScale>s</ResultScale> <Proportion>LIB</Proportion> <TimesToRun>1</TimesToRun> </TestInformation> <TestProfile> <Version>1.0.3</Version> <SupportedPlatforms>Linux</SupportedPlatforms> <SoftwareType>Utility</SoftwareType> <TestType>Processor</TestType> <Maintainer>Jim Kukunas</Maintainer> </TestProfile> <TestSettings> <Option> <DisplayName>Test</DisplayName> <Identifier>run-test</Identifier> <ArgumentPrefix></ArgumentPrefix> <ArgumentPostfix></ArgumentPostfix> <DefaultEntry>0</DefaultEntry> <Menu> <Entry> <Name>Total</Name> <Value>total</Value> <Message></Message> </Entry> <Entry> <Name>Userspace</Name> <Value>userspace</Value> <Message></Message> </Entry> <Entry> <Name>Kernel</Name> <Value>kernel</Value> <Message></Message> </Entry> <Entry> <Name>Loader</Name> <Value>loader</Value> <Message></Message> </Entry> <Entry> <Name>Firmware</Name> <Value>firmware</Value> <Message></Message> </Entry> </Menu> </Option> </TestSettings> </PhoronixTestSuite>