You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2006/11/24 04:08:01 UTC

[jira] Created: (AXIS2-1769) Performance tuning for Axis2

Performance tuning for Axis2
----------------------------

                 Key: AXIS2-1769
                 URL: http://issues.apache.org/jira/browse/AXIS2-1769
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
            Reporter: Davanum Srinivas


Catch all issue for improving performance.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Assigned: (AXIS2-1769) Performance tuning for Axis2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1769?page=all ]

Davanum Srinivas reassigned AXIS2-1769:
---------------------------------------

    Assignee: Davanum Srinivas

> Performance tuning for Axis2
> ----------------------------
>
>                 Key: AXIS2-1769
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1769
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Davanum Srinivas
>         Assigned To: Davanum Srinivas
>
> Catch all issue for improving performance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (AXIS2-1769) Performance tuning for Axis2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1769?page=all ]

Davanum Srinivas updated AXIS2-1769:
------------------------------------

    Attachment: perf-002.txt

- prevent unneceaary toLowerCase 
- remove unused code
- reduce the # of times isDebugEnabled is called


> Performance tuning for Axis2
> ----------------------------
>
>                 Key: AXIS2-1769
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1769
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Davanum Srinivas
>         Assigned To: Davanum Srinivas
>         Attachments: perf-001.txt, perf-002.txt
>
>
> Catch all issue for improving performance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (AXIS2-1769) Performance tuning for Axis2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1769?page=all ]

Davanum Srinivas updated AXIS2-1769:
------------------------------------

    Attachment: perf-26-003.txt

close the xmlstreamreader, add a servlet init param option to switch it off if someone runs into trouble (to get back old behavior).

thanks,
dims


> Performance tuning for Axis2
> ----------------------------
>
>                 Key: AXIS2-1769
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1769
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Davanum Srinivas
>         Assigned To: Davanum Srinivas
>         Attachments: perf-001.txt, perf-002.txt, perf-003.txt, perf-004.txt, perf-004.txt, perf-005.txt, perf-26-001.txt, perf-26-002.txt, perf-26-003.txt
>
>
> Catch all issue for improving performance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (AXIS2-1769) Performance tuning for Axis2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1769?page=all ]

Davanum Srinivas updated AXIS2-1769:
------------------------------------

    Attachment: perf-26-001.txt

Patch to avoid creating OMSourcedElementImpl unless we really need it.

> Performance tuning for Axis2
> ----------------------------
>
>                 Key: AXIS2-1769
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1769
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Davanum Srinivas
>         Assigned To: Davanum Srinivas
>         Attachments: perf-001.txt, perf-002.txt, perf-003.txt, perf-004.txt, perf-004.txt, perf-005.txt, perf-26-001.txt
>
>
> Catch all issue for improving performance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (AXIS2-1769) Performance tuning for Axis2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1769?page=all ]

Davanum Srinivas updated AXIS2-1769:
------------------------------------

    Attachment: perf-004.txt

try to avoid toLowerCase followed by indexOf.

-- dims

> Performance tuning for Axis2
> ----------------------------
>
>                 Key: AXIS2-1769
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1769
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Davanum Srinivas
>         Assigned To: Davanum Srinivas
>         Attachments: perf-001.txt, perf-002.txt, perf-003.txt, perf-004.txt, perf-004.txt
>
>
> Catch all issue for improving performance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (AXIS2-1769) Performance tuning for Axis2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1769?page=all ]

Davanum Srinivas updated AXIS2-1769:
------------------------------------

    Attachment: perf-005.txt

- Add a constant instead of creating QName everytime.

> Performance tuning for Axis2
> ----------------------------
>
>                 Key: AXIS2-1769
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1769
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Davanum Srinivas
>         Assigned To: Davanum Srinivas
>         Attachments: perf-001.txt, perf-002.txt, perf-003.txt, perf-004.txt, perf-004.txt, perf-005.txt
>
>
> Catch all issue for improving performance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (AXIS2-1769) Performance tuning for Axis2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1769?page=all ]

Davanum Srinivas updated AXIS2-1769:
------------------------------------

    Attachment: perf-003.txt

- add more isDebugEnabled in dispatchers
- replace Date().getTime() with System.currentTimeMillis()


> Performance tuning for Axis2
> ----------------------------
>
>                 Key: AXIS2-1769
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1769
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Davanum Srinivas
>         Assigned To: Davanum Srinivas
>         Attachments: perf-001.txt, perf-002.txt, perf-003.txt
>
>
> Catch all issue for improving performance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2-1769) Performance tuning for Axis2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1769?page=comments#action_12454727 ] 
            
Davanum Srinivas commented on AXIS2-1769:
-----------------------------------------

Added a patch for woodstox in their JIRA:
http://jira.codehaus.org/browse/WSTX-90

> Performance tuning for Axis2
> ----------------------------
>
>                 Key: AXIS2-1769
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1769
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Davanum Srinivas
>         Assigned To: Davanum Srinivas
>         Attachments: perf-001.txt, perf-002.txt, perf-003.txt, perf-004.txt, perf-004.txt, perf-005.txt, perf-26-001.txt, perf-26-002.txt, perf-26-003.txt
>
>
> Catch all issue for improving performance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (AXIS2-1769) Performance tuning for Axis2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1769?page=all ]

Davanum Srinivas updated AXIS2-1769:
------------------------------------

    Attachment: perf-004.txt

don't create/call targetresolver chain if it is empty.

-- dims

> Performance tuning for Axis2
> ----------------------------
>
>                 Key: AXIS2-1769
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1769
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Davanum Srinivas
>         Assigned To: Davanum Srinivas
>         Attachments: perf-001.txt, perf-002.txt, perf-003.txt, perf-004.txt
>
>
> Catch all issue for improving performance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (AXIS2-1769) Performance tuning for Axis2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1769?page=all ]

Davanum Srinivas updated AXIS2-1769:
------------------------------------

    Attachment: perf-26-002.txt

close the created xml stream writers.

-- dims

> Performance tuning for Axis2
> ----------------------------
>
>                 Key: AXIS2-1769
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1769
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Davanum Srinivas
>         Assigned To: Davanum Srinivas
>         Attachments: perf-001.txt, perf-002.txt, perf-003.txt, perf-004.txt, perf-004.txt, perf-005.txt, perf-26-001.txt, perf-26-002.txt
>
>
> Catch all issue for improving performance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2-1769) Performance tuning for Axis2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1769?page=comments#action_12452354 ] 
            
Davanum Srinivas commented on AXIS2-1769:
-----------------------------------------

Applied  perf-001.txt both in trunk and 1.1 branch.

-- dims

> Performance tuning for Axis2
> ----------------------------
>
>                 Key: AXIS2-1769
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1769
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Davanum Srinivas
>         Assigned To: Davanum Srinivas
>         Attachments: perf-001.txt
>
>
> Catch all issue for improving performance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (AXIS2-1769) Performance tuning for Axis2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1769?page=all ]

Davanum Srinivas updated AXIS2-1769:
------------------------------------

    Attachment: perf-001.txt

- call log.isDebugEnabled() once and store the result.
- Prevent calling toLowerCase() multiple times
- call replaceAll only if it is necessary.

> Performance tuning for Axis2
> ----------------------------
>
>                 Key: AXIS2-1769
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1769
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Davanum Srinivas
>         Assigned To: Davanum Srinivas
>         Attachments: perf-001.txt
>
>
> Catch all issue for improving performance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Resolved: (AXIS2-1769) Performance tuning for Axis2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1769?page=all ]

Davanum Srinivas resolved AXIS2-1769.
-------------------------------------

    Resolution: Fixed

Done for this round. We can open one more for the next iteration.

thanks,
dims

> Performance tuning for Axis2
> ----------------------------
>
>                 Key: AXIS2-1769
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1769
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Davanum Srinivas
>         Assigned To: Davanum Srinivas
>         Attachments: perf-001.txt, perf-002.txt, perf-003.txt, perf-004.txt, perf-004.txt, perf-005.txt, perf-26-001.txt, perf-26-002.txt, perf-26-003.txt
>
>
> Catch all issue for improving performance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2-1769) Performance tuning for Axis2

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1769?page=comments#action_12452506 ] 
            
Davanum Srinivas commented on AXIS2-1769:
-----------------------------------------

applied perf-002.txt

> Performance tuning for Axis2
> ----------------------------
>
>                 Key: AXIS2-1769
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1769
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Davanum Srinivas
>         Assigned To: Davanum Srinivas
>         Attachments: perf-001.txt, perf-002.txt
>
>
> Catch all issue for improving performance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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