@adriancole I am pretty sure there are better ways to do this but, 
unfortunately, I am not familiar enough with the code and how reflection is 
used here to implement what you are suggesting.

FWIW, here are the performance improvements I see on my local machine. I can 
also run numbers against master if needed.

Experiment: Generate 100K signed urls to warm the JVM and then generate 100K 
more and time the second batch.

signGetBlob(): Generates 1,823 URLs/sec with 1.6.3-SNAPSHOT (44e8487) and 5798 
URL/s with this patch.
signPutBlob(): Generates 1,274 URLs/sec with 1.6.3-SNAPSHOT (44e8487) and 4,093 
URL/s with this patch.


---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/155#issuecomment-25216880

Reply via email to