[
https://issues.apache.org/jira/browse/BEAM-10200?focusedWorklogId=490393&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-490393
]
ASF GitHub Bot logged work on BEAM-10200:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 24/Sep/20 19:19
Start Date: 24/Sep/20 19:19
Worklog Time Spent: 10m
Work Description: codecov[bot] edited a comment on pull request #12562:
URL: https://github.com/apache/beam/pull/12562#issuecomment-696271535
# [Codecov](https://codecov.io/gh/apache/beam/pull/12562?src=pr&el=h1) Report
> Merging
[#12562](https://codecov.io/gh/apache/beam/pull/12562?src=pr&el=desc) into
[master](https://codecov.io/gh/apache/beam/commit/e164d170eb6b5ec1dddd99f09e79dfb0147b84ae?el=desc)
will **increase** coverage by `47.83%`.
> The diff coverage is `6.00%`.
[](https://codecov.io/gh/apache/beam/pull/12562?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #12562 +/- ##
===========================================
+ Coverage 34.47% 82.30% +47.83%
===========================================
Files 684 455 -229
Lines 81483 54583 -26900
Branches 9180 0 -9180
===========================================
+ Hits 28090 44927 +16837
+ Misses 52972 9656 -43316
+ Partials 421 0 -421
```
| [Impacted
Files](https://codecov.io/gh/apache/beam/pull/12562?src=pr&el=tree) | Coverage
Δ | |
|---|---|---|
|
[sdks/python/apache\_beam/utils/profiler.py](https://codecov.io/gh/apache/beam/pull/12562/diff?src=pr&el=tree#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdXRpbHMvcHJvZmlsZXIucHk=)
| `28.12% <6.00%> (ø)` | |
|
[examples/complete/juliaset/\_\_init\_\_.py](https://codecov.io/gh/apache/beam/pull/12562/diff?src=pr&el=tree#diff-ZXhhbXBsZXMvY29tcGxldGUvanVsaWFzZXQvX19pbml0X18ucHk=)
| | |
|
[examples/cookbook/\_\_init\_\_.py](https://codecov.io/gh/apache/beam/pull/12562/diff?src=pr&el=tree#diff-ZXhhbXBsZXMvY29va2Jvb2svX19pbml0X18ucHk=)
| | |
|
[examples/complete/game/user\_score\_it\_test.py](https://codecov.io/gh/apache/beam/pull/12562/diff?src=pr&el=tree#diff-ZXhhbXBsZXMvY29tcGxldGUvZ2FtZS91c2VyX3Njb3JlX2l0X3Rlc3QucHk=)
| | |
|
[testing/load\_tests/load\_test.py](https://codecov.io/gh/apache/beam/pull/12562/diff?src=pr&el=tree#diff-dGVzdGluZy9sb2FkX3Rlc3RzL2xvYWRfdGVzdC5weQ==)
| | |
|
[examples/complete/game/game\_stats.py](https://codecov.io/gh/apache/beam/pull/12562/diff?src=pr&el=tree#diff-ZXhhbXBsZXMvY29tcGxldGUvZ2FtZS9nYW1lX3N0YXRzLnB5)
| | |
|
[runners/interactive/interactive\_runner\_test.py](https://codecov.io/gh/apache/beam/pull/12562/diff?src=pr&el=tree#diff-cnVubmVycy9pbnRlcmFjdGl2ZS9pbnRlcmFjdGl2ZV9ydW5uZXJfdGVzdC5weQ==)
| | |
|
[transforms/environments.py](https://codecov.io/gh/apache/beam/pull/12562/diff?src=pr&el=tree#diff-dHJhbnNmb3Jtcy9lbnZpcm9ubWVudHMucHk=)
| | |
|
[examples/snippets/util\_test.py](https://codecov.io/gh/apache/beam/pull/12562/diff?src=pr&el=tree#diff-ZXhhbXBsZXMvc25pcHBldHMvdXRpbF90ZXN0LnB5)
| | |
|
[examples/snippets/snippets\_test.py](https://codecov.io/gh/apache/beam/pull/12562/diff?src=pr&el=tree#diff-ZXhhbXBsZXMvc25pcHBldHMvc25pcHBldHNfdGVzdC5weQ==)
| | |
| ... and [1130
more](https://codecov.io/gh/apache/beam/pull/12562/diff?src=pr&el=tree-more) | |
------
[Continue to review full report at
Codecov](https://codecov.io/gh/apache/beam/pull/12562?src=pr&el=continue).
> **Legend** - [Click here to learn
more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by
[Codecov](https://codecov.io/gh/apache/beam/pull/12562?src=pr&el=footer). Last
update
[e44c3c2...30fae7a](https://codecov.io/gh/apache/beam/pull/12562?src=pr&el=lastupdated).
Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
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: 490393)
Time Spent: 3.5h (was: 3h 20m)
> Improve memory profiling for users of Portable Beam Python
> ----------------------------------------------------------
>
> Key: BEAM-10200
> URL: https://issues.apache.org/jira/browse/BEAM-10200
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-harness
> Reporter: Valentyn Tymofieiev
> Assignee: Yichi Zhang
> Priority: P2
> Labels: stale-P2, stale-assigned, starter
> Time Spent: 3.5h
> Remaining Estimate: 0h
>
> We have a Profiler[1] that is integrated with SDK worker[1a], however it only
> saves CPU metrics [1b].
> We have a MemoryReporter util[2] which can log heap dumps, however it is not
> documented on Beam Website and does not respect the --profile_memory and
> --profile_location options[3]. The profile_memory flag currently works only
> for Dataflow Runner users who run non-portable batch pipelines; profiles
> are saved only if memory usage between samples exceeds 1000M.
> We should improve memory profiling experience for Portable Python users and
> consider making a guide on how users can investigate OOMing pipelines on Beam
> website.
>
> [1]
> https://github.com/apache/beam/blob/095589c28f5c427bf99fc0330af91c859bb2ad6b/sdks/python/apache_beam/utils/profiler.py#L46
> [1a]
> https://github.com/apache/beam/blob/095589c28f5c427bf99fc0330af91c859bb2ad6b/sdks/python/apache_beam/runners/worker/sdk_worker_main.py#L157
> [1b]
> https://github.com/apache/beam/blob/095589c28f5c427bf99fc0330af91c859bb2ad6b/sdks/python/apache_beam/utils/profiler.py#L112
> [2]
> https://github.com/apache/beam/blob/095589c28f5c427bf99fc0330af91c859bb2ad6b/sdks/python/apache_beam/utils/profiler.py#L124
> [3]
> https://github.com/apache/beam/blob/095589c28f5c427bf99fc0330af91c859bb2ad6b/sdks/python/apache_beam/options/pipeline_options.py#L846
--
This message was sent by Atlassian Jira
(v8.3.4#803005)