Further to my performance tweaks on Simple.Web I've found that the request.ServerVariables call in the ASP.NET bridge takes unnecessary time out of a request (it appears lazy loaded by ASP.NET).
The information used is also not changing throughout the application lifecycle, so I've made a change to read it once on startup and then efficiently use that data when assembling the environment hash.
Further to my performance tweaks on Simple.Web I've found that the request.ServerVariables call in the ASP.NET bridge takes unnecessary time out of a request (it appears lazy loaded by ASP.NET).
The information used is also not changing throughout the application lifecycle, so I've made a change to read it once on startup and then efficiently use that data when assembling the environment hash.