Hi all, Yesterday I pushed the first implementation of a client side benchmark. To execute it, you can login into the application, change to System Administrator role and then access
http://host:port/conext/web/org.openbravo.client.kernel/benchmark/ eg. http://localhost/openbravo/web/org.openbravo.client.kernel/benchmark/ IMPORTANT: * This test is 'heavy' and can kill your browser window ;) * If you're using IE, you need to change the number of instructions per second - http://support.microsoft.com/default.aspx?scid=kb;en-us;175500 = What are we testing? = We are executing one of the most expensive tasks, 'opening a tab'. We call the openView method from the ViewManager, several times. Note: We are not measuring the time spend in 'writing' to the DOM. = Example of the Output = ViewManager.openView x 3 ±15.17% (5 cycles) Elapsed time: 9.225 Total tabs created: 25 Where x3 means that this browser can complete 3 call in a second. Then the interesting one is the 'Elapsed time' where _lower is better_. == Some Example Numbers == I took a Windows XP with 1GB of RAM, and executed the test in several browsers, and using live.builds as a server. Here you have some numbers. The fastest is Safari 5 and the slower is IE (not even complete a call in a second!) __Safari 5__ ViewManager.openView x 3 ±15.17% (5 cycles) Elapsed time: 9.225 Total tabs created: 25 ViewManager.openView x 2 ±12.60% (5 cycles) Elapsed time: 11.799 Total tabs created: 25 _Chrome 9_ ViewManager.openView x 2 ±11.25% (5 cycles) Elapsed time: 14.072 Total tabs created: 25 ViewManager.openView x 2 ±11.35% (5 cycles) Elapsed time: 13.787 Total tabs created: 25 _Firefox 4b10_ ViewManager.openView x 2 ±3.95% (5 cycles) Elapsed time: 16.957 Total tabs created: 25 ViewManager.openView x 2 ±7.50% (5 cycles) Elapsed time: 16.301 Total tabs created: 25 _IE 8_ ViewManager.openView x 0 ±45.68% (5 cycles) Elapsed time: 57.964 Total tabs created: 25 ViewManager.openView x 0 ±45.59% (5 cycles) Elapsed time: 58.354 Total tabs created: 25 -- Iván Perdomo ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Openbravo-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbravo-development
