Shekharrajak commented on PR #3211:
URL:
https://github.com/apache/datafusion-comet/pull/3211#issuecomment-3765404801
Benchmark result :
```
➜ datafusion-comet git:(feature/aes-encrypt-support) ✗ cat
spark/benchmarks/CometEncryptionBenchmark-jdk17-results.txt
================================================================================================
Encryption expressions
================================================================================================
================================================================================================
aes_encrypt_gcm_basic
================================================================================================
OpenJDK 64-Bit Server VM 17.0.13+11 on Mac OS X 26.2
Apple M4 Max
aes_encrypt_gcm_basic: Best Time(ms) Avg Time(ms)
Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
Spark 274 279
3 0.4 2740.6 1.0X
Comet (Scan) 270 275
7 0.4 2703.9 1.0X
Comet (Scan + Exec) 230 238
8 0.4 2300.4 1.2X
================================================================================================
aes_encrypt_gcm_with_mode
================================================================================================
OpenJDK 64-Bit Server VM 17.0.13+11 on Mac OS X 26.2
Apple M4 Max
aes_encrypt_gcm_with_mode: Best Time(ms) Avg Time(ms)
Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
Spark 266 276
11 0.4 2661.5 1.0X
Comet (Scan) 264 269
4 0.4 2638.5 1.0X
Comet (Scan + Exec) 228 234
9 0.4 2279.5 1.2X
================================================================================================
aes_encrypt_cbc
================================================================================================
OpenJDK 64-Bit Server VM 17.0.13+11 on Mac OS X 26.2
Apple M4 Max
aes_encrypt_cbc: Best Time(ms) Avg Time(ms)
Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
Spark 260 263
2 0.4 2598.5 1.0X
Comet (Scan) 260 266
6 0.4 2595.3 1.0X
Comet (Scan + Exec) 174 176
1 0.6 1736.1 1.5X
================================================================================================
aes_encrypt_ecb
================================================================================================
OpenJDK 64-Bit Server VM 17.0.13+11 on Mac OS X 26.2
Apple M4 Max
aes_encrypt_ecb: Best Time(ms) Avg Time(ms)
Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
Spark 221 224
6 0.5 2206.5 1.0X
Comet (Scan) 223 228
4 0.4 2227.1 1.0X
Comet (Scan + Exec) 154 160
6 0.7 1537.5 1.4X
================================================================================================
aes_encrypt_gcm_with_iv
================================================================================================
OpenJDK 64-Bit Server VM 17.0.13+11 on Mac OS X 26.2
Apple M4 Max
aes_encrypt_gcm_with_iv: Best Time(ms) Avg Time(ms)
Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
Spark 236 240
4 0.4 2360.4 1.0X
Comet (Scan) 240 243
5 0.4 2395.7 1.0X
Comet (Scan + Exec) 226 236
20 0.4 2264.4 1.0X
================================================================================================
aes_encrypt_gcm_with_aad
================================================================================================
OpenJDK 64-Bit Server VM 17.0.13+11 on Mac OS X 26.2
Apple M4 Max
aes_encrypt_gcm_with_aad: Best Time(ms) Avg Time(ms)
Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
Spark 246 254
11 0.4 2460.1 1.0X
Comet (Scan) 247 252
4 0.4 2474.7 1.0X
Comet (Scan + Exec) 230 235
7 0.4 2300.4 1.1X
================================================================================================
aes_encrypt_with_base64
================================================================================================
OpenJDK 64-Bit Server VM 17.0.13+11 on Mac OS X 26.2
Apple M4 Max
aes_encrypt_with_base64: Best Time(ms) Avg Time(ms)
Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
Spark 251 255
2 0.4 2513.7 1.0X
Comet (Scan) 254 263
9 0.4 2543.9 1.0X
Comet (Scan + Exec) 259 268
10 0.4 2587.7 1.0X
================================================================================================
aes_encrypt_long_data
================================================================================================
OpenJDK 64-Bit Server VM 17.0.13+11 on Mac OS X 26.2
Apple M4 Max
aes_encrypt_long_data: Best Time(ms) Avg Time(ms)
Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
Spark 2264 2327
89 0.0 22641.7 1.0X
Comet (Scan) 2283 2394
156 0.0 22833.5 1.0X
Comet (Scan + Exec) 2635 2711
108 0.0 26346.5 0.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: [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]