-
- Downloads
[SPARK-4387][PySpark] Refactoring python profiling code to make it extensible
This PR is based on #3255 , fix conflicts and code style. Closes #3255. Author: Yandu Oppacher <yandu.oppacher@jadedpixel.com> Author: Davies Liu <davies@databricks.com> Closes #3901 from davies/refactor-python-profile-code and squashes the following commits: b4a9306 [Davies Liu] fix tests 4b79ce8 [Davies Liu] add docstring for profiler_cls 2700e47 [Davies Liu] use BasicProfiler as default 349e341 [Davies Liu] more refactor 6a5d4df [Davies Liu] refactor and fix tests 31bf6b6 [Davies Liu] fix code style 0864b5d [Yandu Oppacher] Remove unused method 76a6c37 [Yandu Oppacher] Added a profile collector to accumulate the profilers per stage 9eefc36 [Yandu Oppacher] Fix doc 9ace076 [Yandu Oppacher] Refactor of profiler, and moved tests around 8739aff [Yandu Oppacher] Code review fixes 9bda3ec [Yandu Oppacher] Refactor profiler code
Showing
- docs/configuration.md 3 additions, 0 deletionsdocs/configuration.md
- python/pyspark/__init__.py 2 additions, 0 deletionspython/pyspark/__init__.py
- python/pyspark/accumulators.py 0 additions, 15 deletionspython/pyspark/accumulators.py
- python/pyspark/context.py 14 additions, 32 deletionspython/pyspark/context.py
- python/pyspark/profiler.py 172 additions, 0 deletionspython/pyspark/profiler.py
- python/pyspark/rdd.py 9 additions, 6 deletionspython/pyspark/rdd.py
- python/pyspark/tests.py 31 additions, 9 deletionspython/pyspark/tests.py
- python/pyspark/worker.py 3 additions, 9 deletionspython/pyspark/worker.py
- python/run-tests 1 addition, 0 deletionspython/run-tests
Loading
Please register or sign in to comment