From 3af94516bb8147b0370f44c8d23787528f081ba7 Mon Sep 17 00:00:00 2001 From: Louis DeJardin Date: Thu, 6 May 2010 13:46:47 -0700 Subject: [PATCH 1/3] Removing "Class1.cs" reference from a project --HG-- branch : dev --- src/Orchard.Profile/Orchard.Profile.csproj | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Orchard.Profile/Orchard.Profile.csproj b/src/Orchard.Profile/Orchard.Profile.csproj index 7ae306298..61f2f501d 100644 --- a/src/Orchard.Profile/Orchard.Profile.csproj +++ b/src/Orchard.Profile/Orchard.Profile.csproj @@ -54,7 +54,6 @@ - From 3fef79382e6e7b946d4cc3608cffe3f6df454f6e Mon Sep 17 00:00:00 2001 From: Louis DeJardin Date: Thu, 6 May 2010 14:03:41 -0700 Subject: [PATCH 2/3] Adding a Readme.txt to the Orchard.Profile class library --HG-- branch : dev --- src/Orchard.Profile/Orchard.Profile.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Orchard.Profile/Orchard.Profile.csproj b/src/Orchard.Profile/Orchard.Profile.csproj index 61f2f501d..2bcedb089 100644 --- a/src/Orchard.Profile/Orchard.Profile.csproj +++ b/src/Orchard.Profile/Orchard.Profile.csproj @@ -73,6 +73,7 @@ + From 07a05214588afd3501532cab2db66d4a6c7895c8 Mon Sep 17 00:00:00 2001 From: Louis DeJardin Date: Thu, 6 May 2010 14:22:08 -0700 Subject: [PATCH 3/3] Adding a Readme.txt to the Orchard.Profile class library --HG-- branch : dev --- src/Orchard.Profile/Readme.txt | 38 ++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/Orchard.Profile/Readme.txt diff --git a/src/Orchard.Profile/Readme.txt b/src/Orchard.Profile/Readme.txt new file mode 100644 index 000000000..69663946b --- /dev/null +++ b/src/Orchard.Profile/Readme.txt @@ -0,0 +1,38 @@ + +== creating profiling image == + +From the base of the checkout, execute +>./build.cmd profiling + +* the ./orchard.proj creates an orchard web site at ./build/Profiling +* the ./src/Orchard.Profile/profiling-setup-commands.txt holds the additional orchard.exe steps used to initialize +* the ./src/Orchard.DevTools/Commands/ProfilingCommands.cs holds an additional handful of steps to populate items + +The localhost:80 web server should be pointed to the ./build/Profiling folder at this point +The "admin" password is "profiling-secret" without quotes + + + +== repeatable load for code profiling == + +Attach your profiler to the web server +Run one of the unit tests from the ./src/Orchard.Profile class library +Each test produces a specific, repeatable set of requests against localhost:80 + + + +== stess load wcat capacity profiling == + +This will be done from a command prompt running as administrator in the ./src/Orchard.Profile folder + +If wcat is not already configured for your system, execute +./src/Orchard.Profile>Initialize.cmd + +To run one of the scenario scripts, like dashboard.txt, execute +./src/Orchard.Profile>Go.cmd dashboard + +Scenarios are located at ./src/Orchard.Profile/Scripts with a .txt extension +They generate a variable, high level of load against localhost:80 + +(see wcat documentation for further information about scenario files and wcat capabilities) +