wForget opened a new pull request, #9612:
URL: https://github.com/apache/incubator-gluten/pull/9612
## What changes were proposed in this pull request?
Improve performance of PayloadCloser Iterator.
Fixes: #9611
## How was this patch tested?
new benchmark case.
before this change:
```
Java HotSpot(TM) 64-Bit Server VM 1.8.0_431-b10 on Mac OS X 15.3.1
Apple M4
Multi Threads - recycle: Best Time(ms) Avg Time(ms)
Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
Scala Iterator 138 143
10 361.5 2.8 1.0X
Gluten Iterator V1 10005 10006
0 5.0 200.1 0.0X
```
after this change:
```
Java HotSpot(TM) 64-Bit Server VM 1.8.0_431-b10 on Mac OS X 15.3.1
Apple M4
Multi Threads - recycle: Best Time(ms) Avg Time(ms)
Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
Scala Iterator 146 156
12 342.7 2.9 1.0X
Gluten Iterator V1 344 517
231 145.2 6.9 0.4X
```
--
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]