CS3911 Su mmer 2005 Monday 20 June 2005Team I I – A P Pr actice Exa m Daniel L ee OsieckiTechnical Memorandum:PHP & JSP Comparative BenchmarkOverviewThis do cument outlin es t he pro cedure a nd c onclusions of a compa rative b enchmark o f th eJSP an d PHP envi ronments r unning f unctionally i dentical c ode imple menting th e mostbasic func tionality of t he AP P ractice Exam s ystem. Th e g oal of this b enchmark is todemonstrate th e sup erior sc alability of th e PHP e nvironment i n th e s pecific p roblemdomain of th e AP Pra ctice Exa m.EnvironmentAll b enchmarks we re ru n on th e de velopers' pr ivate s ystem, a P entium I II cl ass L inuxserver e nvironment. I n a ll t ests th e d atabase an d w ebservices pl atform we re ru nsimultaneously on th e sa me ma chine.The o riginal J SP ve rsion of t he s ystem w as i nstalled and r un unde r A pacheJakarta/Tomcat v ersion 5.5.7 using J ava 1.4.2-01. This s ystem wa s insta lled e xactly asprovided wi th th e followin g c hanges:• Code d ependent on th e Mi crosoft Wi ndows op erating s ystem wa s c hanged to op eratein a s tandard c ross-platform ma nner.• Character ca se ir regularities we re fixed.• Database lo gin in formation was ch anged to int eract with the loc al da tabase se tup.The PHP v ersion o f th e s ystem w as imple mented b y the developers fo r th e pu rpose o f th ebenchmark. W herever possibl e s imilar cl ass a nd fun ction l ayouts w ere us ed to c reate aPHP ...
Voir