[ 
https://issues.apache.org/jira/browse/BEAM-10549?focusedWorklogId=469882&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-469882
 ]

ASF GitHub Bot logged work on BEAM-10549:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Aug/20 19:00
            Start Date: 12/Aug/20 19:00
    Worklog Time Spent: 10m 
      Work Description: saavannanavati commented on pull request #12352:
URL: https://github.com/apache/beam/pull/12352#issuecomment-673052973


   I increased the element step size from `1000` to `5000` to reduce 
statistical noise
   
   ```1 Element 
   -- Simple Types
   ---- 8.06 sec (No Type Check)
   ---- 6.91 sec (Runtime Type Check)
   ---- 6.82 sec (Performance Runtime Type Check)
   -- Nested Types
   ---- 6.69 sec (No Type Check)
   ---- 7.29 sec (Runtime Type Check)
   ---- 7.16 sec (Performance Runtime Type Check)
   
   
   5001 Elements
   -- Simple Types
   ---- 27.47 sec (No Type Check)
   ---- 205.32 sec (Runtime Type Check)
   ---- 29.46 sec (Performance Runtime Type Check)
   -- Nested Types
   ---- 39.77 sec (No Type Check)
   ---- 221.99 sec (Runtime Type Check)
   ---- 39.32 sec (Performance Runtime Type Check)
   
   
   10001 Elements
   -- Simple Types
   ---- 46.98 sec (No Type Check)
   ---- 421.24 sec (Runtime Type Check)
   ---- 50.40 sec (Performance Runtime Type Check)
   -- Nested Types
   ---- 70.13 sec (No Type Check)
   ---- 498.13 sec (Runtime Type Check)
   ---- 73.87 sec (Performance Runtime Type Check)
   
   
   15001 Elements
   -- Simple Types
   ---- 69.44 sec (No Type Check)
   ---- 591.33 sec (Runtime Type Check)
   ---- 70.89 sec (Performance Runtime Type Check)
   -- Nested Types
   ---- 102.38 sec (No Type Check)
   ---- 655.52 sec (Runtime Type Check)
   ---- 104.80 sec (Performance Runtime Type Check)
   
   
   20001 Elements
   -- Simple Types
   ---- 88.59 sec (No Type Check)
   ---- 783.28 sec (Runtime Type Check)
   ---- 90.18 sec (Performance Runtime Type Check)
   -- Nested Types
   ---- 134.59 sec (No Type Check)
   ---- 866.90 sec (Runtime Type Check)
   ---- 136.48 sec (Performance Runtime Type Check)
   
   
   25001 Elements
   -- Simple Types
   ---- 107.82 sec (No Type Check)
   ---- 983.15 sec (Runtime Type Check)
   ---- 110.43 sec (Performance Runtime Type Check)
   -- Nested Types
   ---- 162.78 sec (No Type Check)
   ---- 1082.71 sec (Runtime Type Check)
   ---- 166.83 sec (Performance Runtime Type Check)
   
   
   30001 Elements
   -- Simple Types
   ---- 129.01 sec (No Type Check)
   ---- 1179.65 sec (Runtime Type Check)
   ---- 131.40 sec (Performance Runtime Type Check)
   -- Nested Types
   ---- 194.90 sec (No Type Check)
   ---- 1304.59 sec (Runtime Type Check)
   ---- 201.05 sec (Performance Runtime Type Check)
   
   
   35001 Elements
   -- Simple Types
   ---- 150.23 sec (No Type Check)
   ---- 1753.36 sec (Runtime Type Check)
   ---- 202.36 sec (Performance Runtime Type Check)
   -- Nested Types
   ---- 211.88 sec (No Type Check)
   ---- 2010.76 sec (Runtime Type Check)
   ---- 334.67 sec (Performance Runtime Type Check)
   
   
   40001 Elements
   -- Simple Types
   ---- 228.75 sec (No Type Check)
   ---- 2059.11 sec (Runtime Type Check)
   ---- 242.76 sec (Performance Runtime Type Check)
   -- Nested Types
   ---- 390.91 sec (No Type Check)
   ---- 2340.73 sec (Runtime Type Check)
   ---- 389.67 sec (Performance Runtime Type Check)
   
   
   45001 Elements
   -- Simple Types
   ---- 270.50 sec (No Type Check)
   ---- 2332.55 sec (Runtime Type Check)
   ---- 276.58 sec (Performance Runtime Type Check)
   -- Nested Types
   ---- 414.10 sec (No Type Check)
   ---- 2625.58 sec (Runtime Type Check)
   ---- 423.93 sec (Performance Runtime Type Check)```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 469882)
    Time Spent: 5.5h  (was: 5h 20m)

> Improve Runtime Type Checking Performance
> -----------------------------------------
>
>                 Key: BEAM-10549
>                 URL: https://issues.apache.org/jira/browse/BEAM-10549
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>            Reporter: Saavan Nanavati
>            Assignee: Saavan Nanavati
>            Priority: P2
>          Time Spent: 5.5h
>  Remaining Estimate: 0h
>
> The performance gain will come from moving the runtime type check from a 
> decorator to OperationCounters.
>  
> This has (2) improvements:
>  # Cython optimizable
>  # Sampling is a built-in feature
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to