Hyukjin Kwon created SPARK-62312:
------------------------------------
Summary: Make the first read of a large flat repeated field of the
drop-in's protobuf runtime as fast as it was before SPARK-62266
Key: SPARK-62312
URL: https://issues.apache.org/jira/browse/SPARK-62312
Project: Spark
Issue Type: Bug
Components: Connect
Affects Versions: 5.0.0
Reporter: Hyukjin Kwon
After SPARK-62266 (606e700a), the first read of a whole Literal array of 100K
strings of the protobuf runtime of the Python client takes 56.6 ms against 43.0
ms before, while its parse saves only 22%: the read costs 144% of what the
parse saves (85% and 83% at 1K and 10K, about even at 100 and 1M). The objects
of the first read are made in a pass of their own over memory that no longer
fits in cache. Make that first read as fast as it was before SPARK-62266.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]