Thanks, we use ab test for our php pages. Do you mean write a unit test by myself? I'm sorry I don't know Scala or lift well. Is there an example test for this kink of benchmark? Thanks.
On Dec 13, 12:10 am, James Black <[email protected]> wrote: > On Sat, Dec 12, 2009 at 5:12 AM, daiwhea <[email protected]> wrote: > > I just have a test with some example lift apps. But I'm sorry to say > > that I cannot achieve this high performance on my dev box(Dell xps > > 420, 6 G RAM, Quad CPU) > > > my env is Ubuntu 8.10. > > java version "1.6.0_14" > > Java(TM) SE Runtime Environment (build 1.6.0_14-b08) > > Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode) > > > with the latest : lift-archetype-jpa-basic > > -DarchetypeArtifactId=lift-archetype-jpa-basic \ > > -DarchetypeVersion=1.1-M7 > > I haven't tried to get it as fast as I can, but the jpa project goes to > the database, so you may want to use lift-archetype-basic. > > Also, the first time you load it there may be a slow down due to > initializations, so to get a good test you may want to write a unit test > that will load it perhaps 100 times and then you can get the average, > fastest and slowest times to get an idea how it is performing. > > Also, you may need to subtract any javascript/css files, or, when you > compare to PHP make certain you have similar files being loaded for PHP for > a true comparison. -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
