mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-19 18:27:55 +08:00
Updating profiling readme
--HG-- branch : 1.x
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
@echo off
|
||||
call "%~dp0\_environment"
|
||||
"%wcatfiles%\wcat.wsf" -terminate -run -clients localhost -t "%~dp0\Scripts\%1.txt" -f "%~dp0\settings.txt" -s localhost -singleip -x
|
||||
"%wcatfiles%\wcat.wsf" -terminate -run -clients localhost -t ".\Scripts\%1.txt" -f ".\settings.txt" -s localhost -singleip -x
|
||||
|
@@ -1,6 +1,8 @@
|
||||
|
||||
== creating profiling image ==
|
||||
|
||||
Create a SQL Server database named Orchard, on the . instance. This can be changed in profiling-setup-commands.txt
|
||||
|
||||
From the base of the checkout, execute
|
||||
>./build.cmd profiling
|
||||
|
||||
|
63
src/Orchard.Profile/Scripts/homepage.txt
Normal file
63
src/Orchard.Profile/Scripts/homepage.txt
Normal file
@@ -0,0 +1,63 @@
|
||||
scenario
|
||||
{
|
||||
name = "Fiddler WCAT Script ";
|
||||
warmup = 10;
|
||||
duration = 30;
|
||||
cooldown = 1;
|
||||
|
||||
default
|
||||
{
|
||||
version = HTTP11;
|
||||
setheader
|
||||
{
|
||||
name = "Connection";
|
||||
value = "keep-alive";
|
||||
}
|
||||
close = ka;
|
||||
}
|
||||
|
||||
transaction
|
||||
{
|
||||
id = "1";
|
||||
weight = 1;
|
||||
request
|
||||
{
|
||||
url = "/";
|
||||
setheader
|
||||
{
|
||||
name="Host";
|
||||
value="localhost";
|
||||
}
|
||||
setheader
|
||||
{
|
||||
name="Connection";
|
||||
value="keep-alive";
|
||||
}
|
||||
setheader
|
||||
{
|
||||
name="User-Agent";
|
||||
value="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7";
|
||||
}
|
||||
setheader
|
||||
{
|
||||
name="Accept";
|
||||
value="text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
|
||||
}
|
||||
setheader
|
||||
{
|
||||
name="Accept-Encoding";
|
||||
value="gzip,deflate,sdch";
|
||||
}
|
||||
setheader
|
||||
{
|
||||
name="Accept-Language";
|
||||
value="en-US,en;q=0.8";
|
||||
}
|
||||
setheader
|
||||
{
|
||||
name="Accept-Charset";
|
||||
value="ISO-8859-1,utf-8;q=0.7,*;q=0.3";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user