Tests
Suites
Latest Results
Search
Register
Login
Popular Tests
Timed Linux Kernel Compilation
SVT-AV1
7-Zip Compression
Stockfish
x265
FFmpeg
Newest Tests
LiteRT
WarpX
Epoch
Valkey
Whisperfile
XNNPACK
Recently Updated Tests
ASTC Encoder
SVT-AV1
Unvanquished
Primesieve
XNNPACK
oneDNN
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
NGINX Benchmark 1.2.1
pts/nginx-1.2.1
- 02 March 2018 -
Add initial Windows support.
downloads.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v8.0.0m0--> <PhoronixTestSuite> <Downloads> <Package> <URL>http://nginx.org/download/nginx-1.9.9.tar.gz</URL> <MD5>50fdfa08e93ead7a111cba5a5f5735af</MD5> <SHA256>de66bb2b11c82533aa5cb5ccc27cbce736ab87c9f2c761e5237cda0b00068d73</SHA256> <FileSize>887908</FileSize> <PlatformSpecific>Linux, Solaris, BSD, MacOSX</PlatformSpecific> </Package> <Package> <URL>http://archive.apache.org/dist/httpd/httpd-2.2.17.tar.gz</URL> <MD5>66d8e107f85acc039fd5e624e85728a9</MD5> <FileSize>6597991</FileSize> <PlatformSpecific>Linux, Solaris, BSD, MacOSX</PlatformSpecific> </Package> <Package> <URL>http://www.phoronix-test-suite.com/benchmark-files/apache-ab-test-files-1.tar.gz, http://www.phoronix.net/downloads/phoronix-test-suite/benchmark-files/apache-ab-test-files-1.tar.gz</URL> <MD5>ca0c5bf0dd482a2847c68a52c0759942</MD5> <FileSize>6008</FileSize> </Package> <Package> <URL>http://phoronix-test-suite.com/benchmark-files/Apache24-2.4.29-x64-vc14-r2-ah.zip</URL> <MD5>8f7e773c8db85d55e4cc81ef153fef61</MD5> <SHA256>1e6f26e8fbe3decd4c31cff3347a074c7db1f8af5ac71bf4386a1e80304e47ef</SHA256> <FileSize>10444082</FileSize> <PlatformSpecific>Windows</PlatformSpecific> </Package> <Package> <URL>http://nginx.org/download/nginx-1.9.9.zip</URL> <MD5>0eddb07186d3ee3a4e333d61d1064db7</MD5> <SHA256>8224bd319bc1dde4e0569085d1fcac37578d3be41c60505f34ed9d07e04320e6</SHA256> <FileSize>1357919</FileSize> <PlatformSpecific>Windows</PlatformSpecific> </Package> </Downloads> </PhoronixTestSuite>
install.sh
#!/bin/sh mkdir $HOME/nginx_ tar -zxvf apache-ab-test-files-1.tar.gz tar -zxvf nginx-1.9.9.tar.gz tar -zxvf httpd-2.2.17.tar.gz # we need apache for ab, compile only apr,apt-utils,pcre and ab cd httpd-2.2.17/ ./configure --prefix=$HOME/httpd_ --enable-static-ab --without-http-cache cd srclib/apr make cd ../apr-util make cd ../pcre make cd ../../support make ab cd ../.. cp -av httpd-2.2.17/support/ab nginx_/ cd nginx-1.9.9/ CFLAGS="-Wno-error -O3 -march=native $CFLAGS" CXXFLAGS="-Wno-error -O3 -march=native $CFLAGS" ./configure --prefix=$HOME/nginx_ --without-http_rewrite_module --without-http-cache make -j $NUM_CPU_JOBS echo $? > ~/install-exit-status make install cd .. rm -rf nginx-1.9.9/ rm -rf httpd-2.2.17/ # patch listen port 80 -> 8088 echo " --- nginx_/conf/nginx.conf.orig 2010-11-09 18:22:34.000000000 +0200 +++ nginx_/conf/nginx.conf 2010-11-09 18:17:14.000000000 +0200 @@ -33,7 +33,7 @@ #gzip on; server { + listen 8089; - listen 80; server_name localhost; #charset koi8-r; " > CHANGE-NGINX-PORT.patch patch -p0 < CHANGE-NGINX-PORT.patch mv -f test.html nginx_/html/ mv -f pts.png nginx_/html/ echo "#!/bin/sh ./nginx_/ab \$@ > \$LOG_FILE 2>&1 echo \$? > ~/test-exit-status" > nginx chmod +x nginx
install_windows.sh
#!/bin/sh unzip -o Apache24-2.4.29-x64-vc14-r2-ah.zip unzip -o nginx-1.9.9.zip tar -xf apache-ab-test-files-1.tar.gz mv -f test.html nginx-1.9.9/html mv -f pts.png nginx-1.9.9/html sed -i 's/ listen 80;/ listen 8089;/g' nginx-1.9.9/conf/nginx.conf echo "#!/bin/sh cd ~/nginx-1.9.9 ./nginx.exe & sleep 10 cd ~/Apache24/bin AB_ARGS=\`echo \"\$@\" | sed \"s/localhost/127.0.0.1/g\"\` echo \$AB_ARGS ./ab.exe -r -n \$AB_ARGS > \$LOG_FILE cd ~/nginx-1.9.9 ./nginx.exe -s quit rm -f nginx_/logs/* sleep 5" > nginx chmod +x nginx
post.sh
#!/bin/sh ./nginx_/sbin/nginx -s quit rm -f nginx_/logs/* sleep 3
post_windows.sh
#!/bin/sh
pre.sh
#!/bin/sh ./nginx_/sbin/nginx sleep 5
pre_windows.sh
#!/bin/sh
results-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v8.0.0m0--> <PhoronixTestSuite> <ResultsParser> <OutputTemplate>Document Path: /test.html Document Length: 3064 bytes Concurrency Level: 100 Time taken for tests: 29.224 seconds Complete requests: 500000 Failed requests: 0 Write errors: 0 Total transferred: 1659096222 bytes HTML transferred: 1532088856 bytes Requests per second: #_RESULT_# [#/sec] (mean) Time per request: 5.845 [ms] (mean) Time per request: 0.058 [ms] (mean, across all concurrent requests) Transfer rate: 55440.49 [Kbytes/sec] received</OutputTemplate> </ResultsParser> </PhoronixTestSuite>
test-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v8.0.0m0--> <PhoronixTestSuite> <TestInformation> <Title>NGINX Benchmark</Title> <AppVersion>1.9.9</AppVersion> <Description>This is a test of ab, which is the Apache Benchmark program running against nginx. This test profile measures how many requests per second a given system can sustain when carrying out 2,000,000 requests with 500 requests being carried out concurrently.</Description> <ResultScale>Requests Per Second</ResultScale> <Proportion>HIB</Proportion> <SubTitle>Static Web Page Serving</SubTitle> <TimesToRun>3</TimesToRun> </TestInformation> <TestProfile> <Version>1.2.1</Version> <SupportedPlatforms>Linux, BSD, Solaris, MacOSX, Windows</SupportedPlatforms> <SoftwareType>Utility</SoftwareType> <TestType>System</TestType> <License>Free</License> <Status>Verified</Status> <ExternalDependencies>build-utilities, zlib-development</ExternalDependencies> <EnvironmentSize>61</EnvironmentSize> <ProjectURL>http://nginx.net/</ProjectURL> <Maintainer>Pekka Panula</Maintainer> </TestProfile> <TestSettings> <Default> <Arguments>-n 2000000 -c 500 http://localhost:8089/test.html</Arguments> </Default> </TestSettings> </PhoronixTestSuite>