[
https://issues.apache.org/jira/browse/THRIFT-2236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aki Sukegawa resolved THRIFT-2236.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.9.2
Resolved via THRIFT-2641
With -O1 compiler option and TestClient -n=1000, Haskell is still slower than
C++ but difference was ~60%, not 30 times anymore.
> Haskell implementation has very low performance
> -----------------------------------------------
>
> Key: THRIFT-2236
> URL: https://issues.apache.org/jira/browse/THRIFT-2236
> Project: Thrift
> Issue Type: Bug
> Components: Haskell - Compiler, Haskell - Library
> Affects Versions: 0.9
> Reporter: Blackbox Dev Team
> Priority: Critical
> Fix For: 0.9.2
>
>
> See question on stackoverflow:
> http://stackoverflow.com/questions/19512952/haskell-thrift-library-300x-slower-than-c-in-performance-test/19530547
> To sum up the problem is with Haskell Thrift implementation which is 300
> times slower than C++ on small operations and 30 times slower on bigger ones.
> We have discussed this issue on haskell IRC and stackoverflow and as someone
> has noticed, that one of the problems is with wrong implementation, which
> reads 4 bytes of the stream and handles the rest of it in a lazy manner, see:
> http://stackoverflow.com/a/19530003/1641629
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)