Browse Source

Disable IIS HTTP logging

Match the overall policy of the other framework benchmarks.

On my setup, this improves the requests/sec of a test like 'json' by 3-5%.
Malcolm Evershed 12 years ago
parent
commit
c31b4dc063
1 changed files with 3 additions and 0 deletions
  1. 3 0
      installer.ps1

+ 3 - 0
installer.ps1

@@ -23,6 +23,9 @@ Install-WindowsFeature Web-Asp-Net45
 $env:Path += ";C:\Windows\system32\inetsrv"; [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::Machine)
 appcmd set config -section:system.webServer/httpErrors -errorMode:Detailed | Out-Null
 
+# Disable logging
+appcmd set config -section:system.webServer/httpLogging -dontLog:True | Out-Null
+
 # URL Rewrite
 $rewrite_url = "http://download.microsoft.com/download/6/7/D/67D80164-7DD0-48AF-86E3-DE7A182D6815/rewrite_2.0_rtw_x64.msi"
 $rewrite_local = "$workdir\rewrite_2.0_rtw_x64.msi"