axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Updated: (AXIS-1323) Poor performance with large amount of data
Date Fri, 28 Sep 2007 12:54:03 GMT

     [ https://issues.apache.org/jira/browse/AXIS-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Davanum Srinivas updated AXIS-1323:
-----------------------------------

    Assignee:     (was: Davanum Srinivas)

> Poor performance with large amount of data
> ------------------------------------------
>
>                 Key: AXIS-1323
>                 URL: https://issues.apache.org/jira/browse/AXIS-1323
>             Project: Axis
>          Issue Type: Bug
>    Affects Versions: 1.2 Beta
>         Environment: Windows XP, Tomcat 5.0.16
>            Reporter: Jani Väisänen
>         Attachments: perf.zip
>
>
> I have compared AXIS and WASP 4.7 with simple test. I'm passing String array to the service
that doesn't do anything to that array. Service only returns a String message. The test measures
the time consumed for the call.
> Here are the results:
> ARRAY_SIZE	AXIS(ms)	WASP(ms)
> 100		468		717
> 1000		1418		811
> 10000		10726		1310
> 100000		OutOfMem	5176
> AXIS can handle small amount of data fairly well, but WASP beats AXIS with larger arrays.

> Sample code of the service:
>     public String handleStringArray(String s[]){
>      
>         String returnString;
>         returnString = "array lenght was: " + s.length;
>         
>         return returnString;
>         
>     }
> Sample code of the client:
>         String[] s = new String[1000];
>         for(int i = 0; i < s.length; i++){
>             s[i] = "qwertyuiopåasdfghjklöäzxcvbnm";
>             
>         }
>         TimeServiceServiceLocator locator = new TimeServiceServiceLocator();
>         TimeService service = locator.getTimeServiceAxis();
>         
>         start = new Date();
>         result = service.handleStringArray(s);
>         end = new Date();
>         
>         System.out.println("Time consumed: " + (end.getTime() - start.getTime()));

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message