[ 
https://issues.apache.org/jira/browse/THRIFT-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12866007#action_12866007
 ] 

T Jake Luciani commented on THRIFT-775:
---------------------------------------

I agree the performance is poor, but not sure if optimizing the perl is the 
best approach.

Most languages implement a c/c++ implementation of the binary protocol to 
address.  I would suggest this approach since we could look at another 
implementation and port it to use XS.

Could you run your code through NYTProf and attach the html report, so we can 
confirm the binary protocol impl is the culprit?

Thanks,

Jake

> performance improvements for Perl
> ---------------------------------
>
>                 Key: THRIFT-775
>                 URL: https://issues.apache.org/jira/browse/THRIFT-775
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Perl), Library (Perl)
>            Reporter: Ted Zlatanov
>
> The Perl libraries are 5-20x slower than the Java libraries for the same 
> data.  Possible performance boosters:
> - make fewer OO method calls
> - build and use monolithic pack/unpack templates when possible

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

Reply via email to