aboutsummaryrefslogtreecommitdiff
path: root/modules/benchmark/benches.c
diff options
context:
space:
mode:
authorLucas de Castro Borges <lucas@gnuabordo.com.br>2024-04-22 18:17:33 -0300
committerLucas de Castro Borges <lucas@gnuabordo.com.br>2024-04-22 18:17:33 -0300
commit8e4d3a67a0f50a60cea7fe9e99946f313bce9633 (patch)
treef001a62c0de7f3f9c637f6d1312a6b08f38d8a53 /modules/benchmark/benches.c
parentb493b6e27a597cecf933327613670b2eec94dbcf (diff)
parent48726c0c219ffeddb45befe0fb8621e1b2648e78 (diff)
Update upstream source from tag 'upstream/2.0.7pre'
Update to upstream version '2.0.7pre' with Debian dir a2ec7db1aec5f19fb8cfbe1c84a27b4779b604d0
Diffstat (limited to 'modules/benchmark/benches.c')
-rw-r--r--modules/benchmark/benches.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/modules/benchmark/benches.c b/modules/benchmark/benches.c
index c621d695..64ec687a 100644
--- a/modules/benchmark/benches.c
+++ b/modules/benchmark/benches.c
@@ -47,6 +47,7 @@ BENCH_SIMPLE(BENCHMARK_BLOWFISH_THREADS, "CPU Blowfish (Multi-thread)", benchmar
BENCH_SIMPLE(BENCHMARK_BLOWFISH_CORES, "CPU Blowfish (Multi-core)", benchmark_bfish_cores, 1);
BENCH_SIMPLE(BENCHMARK_ZLIB, "CPU Zlib", benchmark_zlib, 1);
BENCH_SIMPLE(BENCHMARK_CRYPTOHASH, "CPU CryptoHash", benchmark_cryptohash, 1);
+BENCH_SIMPLE(BENCHMARK_IPERF3_SINGLE, "Internal Network Speed", benchmark_iperf3_single, 1);
BENCH_SIMPLE(BENCHMARK_SBCPU_SINGLE, "SysBench CPU (Single-thread)", benchmark_sbcpu_single, 1);
BENCH_SIMPLE(BENCHMARK_SBCPU_ALL, "SysBench CPU (Multi-thread)", benchmark_sbcpu_all, 1);
BENCH_SIMPLE(BENCHMARK_SBCPU_QUAD, "SysBench CPU (Four threads)", benchmark_sbcpu_quad, 1);
@@ -151,6 +152,14 @@ static ModuleEntry entries[] = {
scan_benchmark_raytrace,
MODULE_FLAG_NONE,
},
+ [BENCHMARK_IPERF3_SINGLE] =
+ {
+ N_("Internal Network Speed"),
+ "network.png",
+ callback_benchmark_iperf3_single,
+ scan_benchmark_iperf3_single,
+ MODULE_FLAG_NONE,
+ },
[BENCHMARK_SBCPU_SINGLE] =
{
N_("SysBench CPU (Single-thread)"),
@@ -229,14 +238,15 @@ const gchar *hi_note_func(gint entry)
case BENCHMARK_SBCPU_ALL:
return _("Alexey Kopytov's <i><b>sysbench</b></i> is required.\n"
"Results in events/second. Higher is better.");
-
case BENCHMARK_MEMORY_SINGLE:
case BENCHMARK_MEMORY_DUAL:
case BENCHMARK_MEMORY_QUAD:
case BENCHMARK_MEMORY_ALL:
return _("Alexey Kopytov's <i><b>sysbench</b></i> is required.\n"
"Results in MiB/second. Higher is better.");
-
+ case BENCHMARK_IPERF3_SINGLE:
+ return _("<i><b>iperf3</b></i> is required.\n"
+ "Results in Gbits/s. Higher is better.");
case BENCHMARK_CRYPTOHASH:
case BENCHMARK_BLOWFISH_SINGLE:
case BENCHMARK_BLOWFISH_THREADS: