[php-src] master: Disable ASLR for benchmark (#13769)
| From: | Ilija Tovilo via GitHub | Date: | Wed, 20 Mar 2024 16:34:18 +0000 |
| Subject: | [php-src] master: Disable ASLR for benchmark (#13769) | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-127812@lists.php.net to get a copy of this message | ||
Author: Ilija Tovilo (iluuu1994)
Committer: GitHub (web-flow)
Pusher: iluuu1994
Date: 2024-03-20T17:20:29+01:00
Commit: https://github.com/php/php-src/commit/8dbc4b61c33313eacd27e73c1e48930a6a70c4bf
Raw diff: https://github.com/php/php-src/commit/8dbc4b61c33313eacd27e73c1e48930a6a70c4bf.diff
Disable ASLR for benchmark (#13769)
Changed paths:
M .github/workflows/push.yml
Diff:
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index b914a2fa1b4d..7f014501528c 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -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