Log of /httpd/flood/trunk/flood_profile.h
Parent Directory
|
Revision Log
Revision
490946 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 29 07:49:58 2006 UTC
(2 years, 10 months ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_profile.h
File length: 9305 byte(s)
Diff to
previous 394795
(
colored)
Update flood to the new license header.
* flood/NOTICE: Update the copyright year to the date of first publication.
* flood/flood_farmer.c, flood/flood_report_relative_times.h,
flood/flood_simple_reports.h, flood/flood_test.c, flood/flood.c,
flood/flood_farmer.h, flood/flood_socket_generic.c, flood/flood_farm.c,
flood/flood_socket_generic.h, flood/flood_farm.h, flood/flood_config.c,
flood/flood_net_ssl.c, flood/flood_config.h, flood/flood_net_ssl.h,
flood/flood_socket_keepalive.c, flood/flood_easy_reports.c,
flood/flood_round_robin.c, flood/flood_socket_keepalive.h,
flood/flood_easy_reports.h, flood/flood_round_robin.h, flood/flood_net.c,
flood/flood_net.h, flood/flood_profile.c, flood/flood_profile.h,
flood/flood_report_relative_times.c, flood/flood_simple_reports.c:
Update to new license header.
(Used committers/relicense/src/perl/update-AL20.pl)
Revision
394795 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Apr 17 22:32:59 2006 UTC
(3 years, 7 months ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_profile.h
File length: 9122 byte(s)
Diff to
previous 106525
(
colored)
Add extraheader, payloadfile attribute to url element; also support custom HTTP
methods.
(This lets flood passably mimic WebDAV requests.)
* flood_round_robin.c
(url_t): Add method_string, extra_headers fields.
(round_robin_create_req): Add short-cut to ->extra_headers field; simplify
request creation based on methods and add in extra headers if present;
(parse_xml_url_info): Set method_string on all variants; support
payloadfile attribute to load the entire payload from a file; include any
extra headers - delimit multiple headers with ; for now.
(round_robin_get_next_url): Fix whitespace.
* flood_profile.h
(method_e): Denote 'other' methods.
* config.h.in
(XML_URLLIST_PAYLOAD_FILE, XML_URLLIST_EXTRA_HEADERS): Define.
Revision
89918 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Aug 4 04:26:21 2001 UTC
(8 years, 3 months ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_profile.h
File length: 10930 byte(s)
Diff to
previous 89914
(
colored)
Add ability to retrieve some data from the response and place it in
state variables (max of 10). These "state" variables live for the
life of the profile (i.e. all elements in the urllist). They may be
referred in any template via $[0-9]. Add ability to store the
entire response (only active if a response template is present).
This works. Sure. I'm going home now.
Revision
89914 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Aug 4 01:23:45 2001 UTC
(8 years, 3 months ago)
by
aaron
Original Path:
httpd/test/trunk/flood/flood_profile.h
File length: 10842 byte(s)
Diff to
previous 89904
(
colored)
Adds a new reporting mechanism where elapsed times during
each request/response test cycle are printed as opposed
to the absolute time samples reported in the "easy"
reports scheme. The new scheme is called "relative_reports".
I've included a new sample file that exemplifies this.
Revision
89904 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 3 04:55:53 2001 UTC
(8 years, 3 months ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_profile.h
File length: 10820 byte(s)
Diff to
previous 89848
(
colored)
Add better resolution timers (connect, write, read, close).
Adjust easy reports to print these timers out.
(Aaron, I did this tonight rather than wait until tomorrow because I
want to capture this info on some long runs that I will be running
overnight. Sorry! Let me know if you have any issues with this
implementation...)
Revision
89848 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 1 03:10:37 2001 UTC
(8 years, 3 months ago)
by
aaron
Original Path:
httpd/test/trunk/flood/flood_profile.h
File length: 10616 byte(s)
Diff to
previous 89764
(
colored)
This is an atypically large patch. I got half way into fixing
the profile_events API to work with keepalive when I realized
that these event "groups" should be off in their own files.
So:
- Updated the profile_events_t struct to handle sockets
in an abstractable way. They now have a lifetime and
their behaviour can be overriden in this manner.
- Regrouped the events in the profile_events to make
more sense. This stuff should probable be split up
into the groups (where a "group" is a bunch of
event functions that need to all be overriden at
once to provide some new functionality). Currently
the groups are: profile, sockets, reporting, verification.
- Moved the three implementations that we currently have
for the socket events group each into their own files.
The current flavors are: generic, ssl, and keepalive.
- Updated the various examples to work with the new
events.
Revision
89764 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 29 15:43:07 2001 UTC
(8 years, 4 months ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_profile.h
File length: 10318 byte(s)
Diff to
previous 89694
(
colored)
Add HTTP Keep-Alive support (rudimentary, but functional).
This is done by adding two new hooks:
open_req - Opens a socket (send_req used to do this implicitly).
create_req - Constructs the request (used to be part of get_next_url).
The open_req is executed *before* the create_req because we need to know
if we are a keepalive request and only the socket code knows whether we
are keepalive or not. This is a slight performance penalty on non-keepalive
requests because we are creating the request buffer *after* we have opened
the socket. We could do a "create_sock" that does everything but connect
and sets the keepalive flag? I'll discuss this with Aaron on Monday.
We now have a field in the request that specifies if it should be
Keep-Alive or not. Also, the response has a keepalive field to indicate
whether the connection was keptalive. If the connection was not keptalive,
then the socket should be closed at each iteration.
Revision
89694 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 25 00:33:31 2001 UTC
(8 years, 4 months ago)
by
aaron
Original Path:
httpd/test/trunk/flood/flood_profile.h
File length: 9920 byte(s)
Diff to
previous 89633
(
colored)
process_stats() now takes the request and the response objects.
Both are public structures, so this does not cause reporting
to be coupled to profile implementation.
This changes was made to facilitate the reporting mechanism,
so it now has access to the current URI being requested, and
both simple_reports and easy_reports were modified to print
out the current URI.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.