Disable ASLR for benchmark (#13769)

This commit is contained in:
Ilija Tovilo 2024-03-20 17:20:29 +01:00 committed by GitHub
parent 4bf64b53ef
commit 8dbc4b61c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -225,6 +225,10 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
# ASLR can cause a lot of noise due to missed sse opportunities for memcpy
# and other operations, so we disable it during benchmarking.
- name: Disable ASLR
run: echo 0 | sudo tee /proc/sys/kernel/randomize_va_space
- name: apt
run: |
set -x