I would not be surprised that Rust be faster than Python, but looking at the code of his Benchmarks, I'm not sure that it really means anything. For example, the "light" test will do calls to "dynamodb". Maybe you benchmark python, or you benchmark the aws sdk implementation with different versions of python, or just you benchmark average dynamodb latencies at different times of the day, ... And, at least for Python,…
Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
21–30 of 60 posts
Re: Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
#22Would be interesting to add a cold start + "import boto3" benchmark for Python as importing boto3 takes forever on lambdas with little memory. For this scenario I only know this benchmark but it is from 2021 https://github.com/MauriceBrg/aws-blog.de-projects/tree/mast...
Re: Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
#23It’s interesting that the author chose to use SHA256 hashing for the CPU intensive workload. Given they run on hardware acceleration using AES NI, I wonder how generally applicable it is. Still interesting either way though, especially since there were reports of earlier Graviton (pre v3) instances having mediocre AES NI performance.
Re: Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
#24Can someone tell me why there isn't almost any laptop with Linux and ARM? Is it more efficient than x86 though
How is the bootloader/peripheral compatibility on the non-SBC ARM systems these days? Can you plug in a boot disk on different machine and expect it to just work? My main problem with ARM is that many manufacturers act as if they're special little snowflakes and deserve to have their custom patched kernel/bootloader/whatever.
However if you do manage to boot things up, hardware with open-source drivers should just work, for example Jeff Geerling has couple of videos on youtube about running his RPi with external AMD graphics cards connected via PCIe, and it works.
Re: Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
#25I would not be surprised that Rust be faster than Python, but looking at the code of his Benchmarks, I'm not sure that it really means anything. For example, the "light" test will do calls to "dynamodb". Maybe you benchmark python, or you benchmark the aws sdk implementation with different versions of python, or just you benchmark average dynamodb latencies at different times of the day, ... And, at least for Python,…
And for that use case, Python seems almost as good as Rust, which is surprising to me, as is the fact that Node runs so slow - I have a ton of Node-based lambdas in prod, and while they're no speed demons, I'm quite surprised how bad it is compared to even interpreted things like Python.
AWS should really look into this and fix it, or at least tell us why it's so slow.
Re: Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
#26Re: Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
#27Would be interesting to add a cold start + "import boto3" benchmark for Python as importing boto3 takes forever on lambdas with little memory. For this scenario I only know this benchmark but it is from 2021 https://github.com/MauriceBrg/aws-blog.de-projects/tree/mast...
I dunno why a Python impl would be particularly heavy.
Re: Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
#28This is benchmarking `hashlib.sha256` isn't that normally OpenSSL's heavily hand optimized assembly implementation, certainly isn't something written in Python?
Re: Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
#29It’s interesting that the author chose to use SHA256 hashing for the CPU intensive workload. Given they run on hardware acceleration using AES NI, I wonder how generally applicable it is. Still interesting either way though, especially since there were reports of earlier Graviton (pre v3) instances having mediocre AES NI performance.
Does AES NI imply SHA256 acceleration support?
AES-NI is x86-specific terminology. It was proposed in 2008. SHA acceleration came later, announced in 2013. The original version covers only SHA-1 and SHA-256 acceleration, but a later extension adds SHA-512 acceleration. At least for x86, AES-NI does not imply SHA support. For example, Westmere, Sandy Bridge, and Ivy Bridge chips from Intel have AES-NI but not SHA.
The equivalent in Arm land is called "Cryptographic Extensions" and was a non-mandatory part of ARMv8 announced in 2011. Both AES and SHA acceleration were announced at the same time. While part of the same extensions, there are separate feature flags for each of AES, SHA-1, and SHA-256.
Re: Comparing AWS Lambda ARM64 vs. x86_64 Performance Across Runtimes in Late 2025
#30One of the easiest hack to reduce your AWS bills is to migrate from x86 to arm64 CPU. Performance difference is negligible, and cost can be upto 50% lower for arm machines. This is for both RDS and general compute (EC2, ECS). Would recommend to all.
You can scale up by changing out to a bigger instance - it's surprising how far you can get with this strategy.