File: performance_test.pyc

package info (click to toggle)
python-webob 1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,340 kB
  • ctags: 2,468
  • sloc: python: 13,433; makefile: 12
file content (22 lines) | stat: -rw-r--r-- 1,987 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#Nc@sddklZdZdZedjoddkZddkZddkZeidoeidZ	ndZ	e	djoddkZddkZddk
Z
d	eid
<eieiegZe
ideiddd
dge	djoeidndGHzx
eqWdeieieiXqddklZeiid
d	jo/dGHdeiefGHdGHdGHdGHdGHneeendS(i(tResponsecCs2ddkl}||dddtdtddS(	Ni(tAccumulatingProfileMiddlewaretlog_filenames/tmp/profile.logtdiscard_first_requesttflush_at_shutdowntpaths/__profile__(trepoze.profile.profilerRtTrue(tappR((s5/home/chrism/projects/webob/tests/performance_test.pytmake_middlewarescCstd}|||S(NsHello world!(R(tenvirontstart_responsetresp((s5/home/chrism/projects/webob/tests/performance_test.pyt
simple_app
st__main__Nitopentrunt0tSHOW_OUTPUTtabs-nt1000shttp://localhost:8080/s!http://localhost:8080/__profile__s
Hit ^C to end(tservesNote you can also use:)s  %s %s opens6to run ab and open a browser (or "run" to just run ab)sNow do:s!ab -n 1000 http://localhost:8080/s+wget -O - http://localhost:8080/__profile__(sopensrun(twebob.responseRR	R
t__name__tsystostsignaltargvtargtNonet
subprocesst
webbrowserttimeR
tPopent
executablet__file__tproctsleeptcallRt	raw_inputtkilltpidtSIGKILLtpaste.httpserverRtget(((s5/home/chrism/projects/webob/tests/performance_test.pyt<module>sB