Hi Marc,

Here is the sample project: https://github.com/mujahedsyed/xml-security.git
due to data protection I had to create a sample xml that is little bit
complex, but this still simulates the issue. The processing instruction tag
that indicates the qname to be encrypted is located on line 6987 of
https://github.com/mujahedsyed/xml-security/blob/master/src/main/resources/data-file.xml
the file size is 326KB when you run this sample app you will notice that
decryption time is around 38 secs. If you remove the encrypt PI tag from
line 6987 and place it on line 5 than decryption time is around 6 secs!

My investigation suggests that the most time consuming operation is next
method as previously mention - i have a doubt if this can be optimized.

Please let me know your valuable suggestions. Thanks.

Regards,
Mujahed



--
View this message in context: 
http://apache-xml-project.6118.n7.nabble.com/Performance-Testing-tp41389p41396.html
Sent from the Apache XML - Security - Dev mailing list archive at Nabble.com.

Reply via email to