beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (BEAM-3981) Futurize and fix python 2 compatibility for coders package
Date Wed, 02 May 2018 18:06:00 GMT


ASF GitHub Bot logged work on BEAM-3981:

                Author: ASF GitHub Bot
            Created on: 02/May/18 18:05
            Start Date: 02/May/18 18:05
    Worklog Time Spent: 10m 
      Work Description: tvalentyn commented on issue #5053: [BEAM-3981] Futurize coders subpackage
   Based on the information I currently have, my best guess is that regression is caused by
changes in Cython's interpretation of Py3 implementations of range() and iteritems() in
We can see a difference in code generated by Cython here:
   I am seeing 7% regression in the median on the benchmarks I've been running, and I was
able to see the regression go away with these changes reverted. 
   We can also try to benchmark these methods in isolation to confirm and rule out the variance
of test setup. I might not have time to do it this week.
   @robertwb , do you  think anything can be done to improve Cython translation here?

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 97618)
    Time Spent: 15.5h  (was: 15h 20m)

> Futurize and fix python 2 compatibility for coders package
> ----------------------------------------------------------
>                 Key: BEAM-3981
>                 URL:
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-py-core
>            Reporter: Robbe
>            Assignee: Robbe
>            Priority: Major
>          Time Spent: 15.5h
>  Remaining Estimate: 0h
> Run automatic conversion with futurize tool on coders subpackage and fix python 2 compatibility.
This prepares the subpackage for python 3 support.

This message was sent by Atlassian JIRA

View raw message