neilconway commented on PR #20352:
URL: https://github.com/apache/datafusion/pull/20352#issuecomment-3899864982

   Benchmarks:
   
   ```
   $ critcmp initcap-v2-vanilla initcap-v2-opt
   group                                           initcap-v2-opt               
          initcap-v2-vanilla
   -----                                           --------------               
          ------------------
   initcap scalar/scalar_utf8                      1.00     99.3±0.82ns        
? ?/sec    1.53    151.7±0.87ns        ? ?/sec
   initcap scalar/scalar_utf8view                  1.00     93.2±2.04ns        
? ?/sec    1.74    162.3±2.52ns        ? ?/sec
   initcap size=1024 str_len=128/array_utf8        1.00     96.6±0.16µs        
? ?/sec    1.42    137.3±0.69µs        ? ?/sec
   initcap size=1024 str_len=128/array_utf8view    1.00     73.2±0.05µs        
? ?/sec    1.81    132.3±0.24µs        ? ?/sec
   initcap size=1024 str_len=16/array_utf8         1.00     13.6±0.02µs        
? ?/sec    1.55     21.0±0.06µs        ? ?/sec
   initcap size=1024 str_len=16/array_utf8view     1.00     16.9±0.05µs        
? ?/sec    1.32     22.3±0.05µs        ? ?/sec
   initcap size=4096 str_len=128/array_utf8        1.00    384.7±0.50µs        
? ?/sec    1.42    547.1±3.02µs        ? ?/sec
   initcap size=4096 str_len=128/array_utf8view    1.00    291.6±0.28µs        
? ?/sec    1.82    529.4±3.35µs        ? ?/sec
   initcap size=4096 str_len=16/array_utf8         1.00     52.9±0.07µs        
? ?/sec    1.56     82.5±0.14µs        ? ?/sec
   initcap size=4096 str_len=16/array_utf8view     1.00     65.7±0.12µs        
? ?/sec    1.36     89.4±0.48µs        ? ?/sec
   initcap size=8192 str_len=128/array_utf8        1.00    770.2±1.22µs        
? ?/sec    1.42   1096.4±2.68µs        ? ?/sec
   initcap size=8192 str_len=128/array_utf8view    1.00    580.4±0.60µs        
? ?/sec    1.82   1059.1±5.74µs        ? ?/sec
   initcap size=8192 str_len=16/array_utf8         1.00    105.4±0.38µs        
? ?/sec    1.58    166.3±0.41µs        ? ?/sec
   initcap size=8192 str_len=16/array_utf8view     1.00    130.2±0.54µs        
? ?/sec    1.38    179.5±1.16µs        ? ?/sec
   ```


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