[ https://issues.apache.org/jira/browse/THRIFT-775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Zlatanov updated THRIFT-775: -------------------------------- Attachment: tester.pl nytprof.out.aa Attached is a test script that does 10K inserts into Cassandra and the NYTProf .out file. The test run indicates that BinaryTransport is calling lots of methods, which is pretty costly in Perl. IO::Select gets about 40% of the CPU time, with most of the remainder in BinaryTransport and BufferedTransport. The nytprof.out file had to be split, just cat .aa and .ab back together. > 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 > Attachments: nytprof.out.aa, nytprof.out.ab, tester.pl > > > 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.