You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "andygrove (via GitHub)" <gi...@apache.org> on 2025/12/23 16:46:42 UTC

[I] Improve performance of `repeat` expression [datafusion-comet]

andygrove opened a new issue, #2974:
URL: https://github.com/apache/datafusion-comet/issues/2974

   ### What is the problem the feature request solves?
   
   `CometStringExpressionBenchmark` shows poor performance:
   
   ```
   OpenJDK 64-Bit Server VM 11.0.22+7-LTS on Mac OS X 14.6.1
   Apple M3 Max
   repeat:                                   Best Time(ms)   Avg Time(ms)   Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
   ------------------------------------------------------------------------------------------------------------------------
   Spark                                                10             43          31          0.1        9282.0       1.0X
   Comet (Scan)                                         10             84          30          0.1       10044.0       0.9X
   Comet (Scan + Exec)                                  31             91          28          0.0       30348.9       0.3X
   ```
   
   ### Describe the potential solution
   
   Review benchmark to make sure it is valid, then try and optimize.
   
   ### Additional context
   
   _No response_


-- 
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: github-unsubscribe@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Improve performance of `repeat` expression [datafusion-comet]

Posted by "andygrove (via GitHub)" <gi...@apache.org>.
andygrove commented on issue #2974:
URL: https://github.com/apache/datafusion-comet/issues/2974#issuecomment-4397980363

   ```
   Running benchmark: repeat
     Running case: Spark
     Stopped after 197 iterations, 2009 ms
     Running case: Comet (Scan)
     Stopped after 196 iterations, 2009 ms
     Running case: Comet (Scan + Exec)
     Stopped after 663 iterations, 2001 ms
   
   OpenJDK 64-Bit Server VM 17.0.17+10 on Mac OS X 26.3.1
   Apple M3 Ultra
   repeat:                                   Best Time(ms)   Avg Time(ms)   Stdev(ms)    Rate(M/s)   Per Row(ns)   Relative
   ------------------------------------------------------------------------------------------------------------------------
   Spark                                                10             10           1          0.1        9374.8       1.0X
   Comet (Scan)                                         10             10           1          0.1        9503.7       1.0X
   Comet (Scan + Exec)                                   2              3           1          0.4        2420.6       3.9X
   ```


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Improve performance of `repeat` expression [datafusion-comet]

Posted by "andygrove (via GitHub)" <gi...@apache.org>.
andygrove commented on issue #2974:
URL: https://github.com/apache/datafusion-comet/issues/2974#issuecomment-3693125887

   I created a PR in DataFusion: https://github.com/apache/datafusion/pull/19502


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Improve performance of `repeat` expression [datafusion-comet]

Posted by "andygrove (via GitHub)" <gi...@apache.org>.
andygrove closed issue #2974: Improve performance of `repeat` expression
URL: https://github.com/apache/datafusion-comet/issues/2974


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org