Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2236

Haskell implementation has very low performance

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            blackbox.dev Blackbox Dev Team
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment