zhengruifeng opened a new pull request, #57270:
URL: https://github.com/apache/spark/pull/57270

   ### What changes were proposed in this pull request?
   
   This draft adds opt-in, machine-readable timing markers around PySpark test 
fixture lifecycle operations:
   
   - SparkContext setup and teardown for per-test and reused classic fixtures.
   - Classic SparkSession setup and teardown.
   - Spark Connect session setup and teardown.
   
   The default PR build workflow sets `PYSPARK_SESSION_TIMING=1`, so timings 
are collected for this PR without changing scheduled or maintenance workflows.
   
   ### Why are the changes needed?
   
   Pandas-on-Spark CI starts many isolated classic and Connect fixtures. The 
timings provide the data needed to determine how much of that CI time is spent 
creating and closing sessions before changing test grouping or fixture reuse.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   - `python3 -m py_compile python/pyspark/testing/utils.py 
python/pyspark/testing/sqlutils.py python/pyspark/testing/connectutils.py`
   - Verified an enabled marker with `spark-dev-313`.
   - A live pandas-on-Spark suite is pending because this worktree has no Spark 
assembly artifact.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Codex (GPT-5)


-- 
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.

To unsubscribe, e-mail: [email protected]

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to