xanderbailey commented on PR #3780: URL: https://github.com/apache/iceberg-rust/pull/3780#issuecomment-7258924371
Benchmark against iceberg-python main on an Apple M4 Max (Python 3.14, cryptography 50.0.2 with OpenSSL 4.0.3), release build of this PR. Medians, all in memory. | Operation | main (`cryptography`) | pyiceberg-core | Speedup | |---|---|---|---| | Wrap a 16 B key | 1.29 µs | 1.05 µs | 1.23x | | Unwrap a 16 B key | 0.391 µs | 0.155 µs | 2.52x | | Encrypt 64 KiB AGS1 | 0.013 ms | 0.016 ms | 0.82x | | Decrypt 64 KiB AGS1 | 0.011 ms | 0.012 ms | 0.89x | | Encrypt 1 MiB AGS1 | 0.120 ms | 0.206 ms | 0.58x | | Decrypt 1 MiB AGS1 | 0.112 ms | 0.174 ms | 0.64x | | Encrypt 8 MiB AGS1 | 1.18 ms | 1.99 ms | 0.59x | | Decrypt 8 MiB AGS1 | 1.05 ms | 1.42 ms | 0.74x | | Encrypt 64 MiB AGS1 | 9.87 ms | 16.1 ms | 0.61x | | Decrypt 64 MiB AGS1 | 8.75 ms | 11.8 ms | 0.74x | | Read 4 KiB at 40 MiB from a 64 MiB file | 8.70 ms | 0.167 ms | 52.19x | Key wrap and unwrap get faster. Whole-file AGS1 is roughly 0.6-0.75x of OpenSSL, but reading one blob from a large file only decrypts the blocks it needs. -- 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]
