lgbo-ustc commented on PR #5735:
URL: 
https://github.com/apache/incubator-gluten/pull/5735#issuecomment-2134296123

   
分析了下`StorageJoinFromReadBuffer::StorageJoinFromReadBuffer`和`StorageJoinFromReadBuffer::getJoinLocked`在变动前后的耗时变化。
   - before
   ```
   2024-05-28 11:38:49.246 <Error> StorageJoinFromReadBuffer: xxx 
0x7f64a0054e18 Restored 2000000 rows in 187530754 ns
   2024-05-28 11:38:49.370 <Error> StorageJoinFromReadBuffer: xxx 
0x7f643d800018 Restored 1000000 rows in 121716415 ns
   2024-05-28 11:38:49.372 <Error> StorageJoinFromReadBuffer: xxx 
0x7f643e010418 Restored 91 rows in 222327 ns
   
   
   2024-05-28 11:38:49.374 <Error> StorageJoinFromReadBuffer: xxx 
0x7f64a0054e18 getJoinLocked in 16978 ns
   2024-05-28 11:38:49.376 <Error> StorageJoinFromReadBuffer: xxx 
0x7f643d800018 getJoinLocked in 20424 ns
   2024-05-28 11:38:49.376 <Error> StorageJoinFromReadBuffer: xxx 
0x7f643e010418 getJoinLocked in 13135 ns
   ```
   
   - after
   ```
   2024-05-28 11:29:53.533 <Error> StorageJoinFromReadBuffer: xxx 
0x7f5384fd4418 Restored storage join 61036721 ns. rows: 2000000
   2024-05-28 11:29:53.603 <Error> StorageJoinFromReadBuffer: xxx 
0x7f53815da018 Restored storage join 64989205 ns. rows: 1000000
   2024-05-28 11:29:53.605 <Error> StorageJoinFromReadBuffer: xxx 
0x7f53815daa18 Restored storage join 46237 ns. rows: 91
   
   
   2024-05-28 11:29:53.748 <Error> StorageJoinFromReadBuffer: xxxx 
0x7f5384fd4418 getJoinLocked 138523572 ns
   2024-05-28 11:29:53.814 <Error> StorageJoinFromReadBuffer: xxxx 
0x7f53815da018 getJoinLocked 64938654 ns
   2024-05-28 11:29:53.815 <Error> StorageJoinFromReadBuffer: xxxx 
0x7f53815daa18 getJoinLocked 70355 ns
   ```
   
   
`StorageJoinFromReadBuffer::StorageJoinFromReadBuffer`和`StorageJoinFromReadBuffer::getJoinLocked`相加的耗时并太大的差别。
   


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