From 6e02a05f10a91e7e6f53211796adc9998824a399 Mon Sep 17 00:00:00 2001 From: sw1tchbl4d3 Date: Tue, 8 Mar 2022 18:07:44 +0100 Subject: [PATCH] Update benchmarks You may wonder why the benchmark times overall increased, on a seemingly better processor. That is most likely because the single core performance of the FX series is worse than the single core performance of the Intel laptop processor I benchmarked on before. --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b25ac06..8487c4b 100644 --- a/README.md +++ b/README.md @@ -48,16 +48,20 @@ session_ttl=5 The benchmark: Execute `whoami` (GNU coreutils 8.32) 1000 times. +Yes, this is a silly benchmark. Yes, the performance gain in real world application is close to nothing. + +But it's fun! + |Program|Time| --- | --- -sudo 1.9.7p1 | 13.62s -opendoas 6.8.1 | 7.60s -rdo 1.2 | 2.25s -Baseline | 1.43s +sudo 1.9.9 | 22.12s +opendoas 6.8.2 | 13.5s +rdo 1.4 | 3.5s +Baseline | 2.1s Baseline here is how long it took without any wrapper to make it root. -These benchmarks were done on a single core of an `Intel i3-3110M` Laptop processor, on Artix Linux version `5.13.4-zen2-1-zen`. +These benchmarks were done on a single core of an `AMD FX-8350` processor, on Artix Linux version `5.16.12-zen1-1-zen`. `sudo` and `opendoas` were pulled from the pacman repos, rdo via AUR.