From 866a5082586f4a039a13fc3618093d9c0bc0abd1 Mon Sep 17 00:00:00 2001 From: Alex Aizman Date: Tue, 21 Jan 2025 10:48:12 -0500 Subject: [PATCH] rename micro-benchmarks (ref) Signed-off-by: Alex Aizman --- .../apitests/actionmsg_test.go | 0 .../apitests/listobj_test.go | 0 .../disk/compare/README.md | 0 .../disk/compare/diskstat.go | 0 .../disk/compare/experiments.pdf | Bin .../{microbenchmarks => micro}/disk/compare/main.go | 0 .../disk/loadgen/README.md | 0 .../disk/loadgen/loadgen.sh | 0 bench/{microbenchmarks => micro}/dl/README.md | 0 .../{microbenchmarks => micro}/dl/dataloader_cmp.sh | 0 .../dl/scripts/run_dl_test.sh | 0 bench/{microbenchmarks => micro}/dl/testrc | 0 bench/{microbenchmarks => micro}/fio/Makefile | 0 bench/{microbenchmarks => micro}/fio/fio.cfg | 0 bench/{microbenchmarks => micro}/hashspeed/go.mod | 0 bench/{microbenchmarks => micro}/hashspeed/go.sum | 0 .../hashspeed/hash_test.go | 0 bench/{microbenchmarks => micro}/hrw/README.md | 0 .../hrw/consistent_hashing.go | 0 .../{microbenchmarks => micro}/hrw/experiments.pdf | Bin bench/{microbenchmarks => micro}/hrw/helpers.go | 0 .../hrw/hrw_bench_internal_test.go | 0 bench/{microbenchmarks => micro}/hrw1000/README.md | 4 ++-- .../{microbenchmarks => micro}/hrw1000/hrw_test.go | 0 .../integration/act_bench_test.go | 0 bench/{microbenchmarks => micro}/lstat/README.md | 0 .../{microbenchmarks => micro}/lstat/basic_test.go | 0 .../lstat/parallel_test.go | 0 bench/{microbenchmarks => micro}/map/README.md | 0 bench/{microbenchmarks => micro}/map/main.go | 0 bench/{microbenchmarks => micro}/memsys/wrf_test.go | 0 bench/{microbenchmarks => micro}/nstlvl/README.md | 0 .../nstlvl/drop_caches_darwin.go | 0 .../nstlvl/drop_caches_linux.go | 0 .../nstlvl/nstlvl_test.go | 2 +- .../syncmap/compare_test.go | 0 36 files changed, 3 insertions(+), 3 deletions(-) rename bench/{microbenchmarks => micro}/apitests/actionmsg_test.go (100%) rename bench/{microbenchmarks => micro}/apitests/listobj_test.go (100%) rename bench/{microbenchmarks => micro}/disk/compare/README.md (100%) rename bench/{microbenchmarks => micro}/disk/compare/diskstat.go (100%) rename bench/{microbenchmarks => micro}/disk/compare/experiments.pdf (100%) rename bench/{microbenchmarks => micro}/disk/compare/main.go (100%) rename bench/{microbenchmarks => micro}/disk/loadgen/README.md (100%) rename bench/{microbenchmarks => micro}/disk/loadgen/loadgen.sh (100%) rename bench/{microbenchmarks => micro}/dl/README.md (100%) rename bench/{microbenchmarks => micro}/dl/dataloader_cmp.sh (100%) rename bench/{microbenchmarks => micro}/dl/scripts/run_dl_test.sh (100%) rename bench/{microbenchmarks => micro}/dl/testrc (100%) rename bench/{microbenchmarks => micro}/fio/Makefile (100%) rename bench/{microbenchmarks => micro}/fio/fio.cfg (100%) rename bench/{microbenchmarks => micro}/hashspeed/go.mod (100%) rename bench/{microbenchmarks => micro}/hashspeed/go.sum (100%) rename bench/{microbenchmarks => micro}/hashspeed/hash_test.go (100%) rename bench/{microbenchmarks => micro}/hrw/README.md (100%) rename bench/{microbenchmarks => micro}/hrw/consistent_hashing.go (100%) rename bench/{microbenchmarks => micro}/hrw/experiments.pdf (100%) rename bench/{microbenchmarks => micro}/hrw/helpers.go (100%) rename bench/{microbenchmarks => micro}/hrw/hrw_bench_internal_test.go (100%) rename bench/{microbenchmarks => micro}/hrw1000/README.md (90%) rename bench/{microbenchmarks => micro}/hrw1000/hrw_test.go (100%) rename bench/{microbenchmarks => micro}/integration/act_bench_test.go (100%) rename bench/{microbenchmarks => micro}/lstat/README.md (100%) rename bench/{microbenchmarks => micro}/lstat/basic_test.go (100%) rename bench/{microbenchmarks => micro}/lstat/parallel_test.go (100%) rename bench/{microbenchmarks => micro}/map/README.md (100%) rename bench/{microbenchmarks => micro}/map/main.go (100%) rename bench/{microbenchmarks => micro}/memsys/wrf_test.go (100%) rename bench/{microbenchmarks => micro}/nstlvl/README.md (100%) rename bench/{microbenchmarks => micro}/nstlvl/drop_caches_darwin.go (100%) rename bench/{microbenchmarks => micro}/nstlvl/drop_caches_linux.go (100%) rename bench/{microbenchmarks => micro}/nstlvl/nstlvl_test.go (98%) rename bench/{microbenchmarks => micro}/syncmap/compare_test.go (100%) diff --git a/bench/microbenchmarks/apitests/actionmsg_test.go b/bench/micro/apitests/actionmsg_test.go similarity index 100% rename from bench/microbenchmarks/apitests/actionmsg_test.go rename to bench/micro/apitests/actionmsg_test.go diff --git a/bench/microbenchmarks/apitests/listobj_test.go b/bench/micro/apitests/listobj_test.go similarity index 100% rename from bench/microbenchmarks/apitests/listobj_test.go rename to bench/micro/apitests/listobj_test.go diff --git a/bench/microbenchmarks/disk/compare/README.md b/bench/micro/disk/compare/README.md similarity index 100% rename from bench/microbenchmarks/disk/compare/README.md rename to bench/micro/disk/compare/README.md diff --git a/bench/microbenchmarks/disk/compare/diskstat.go b/bench/micro/disk/compare/diskstat.go similarity index 100% rename from bench/microbenchmarks/disk/compare/diskstat.go rename to bench/micro/disk/compare/diskstat.go diff --git a/bench/microbenchmarks/disk/compare/experiments.pdf b/bench/micro/disk/compare/experiments.pdf similarity index 100% rename from bench/microbenchmarks/disk/compare/experiments.pdf rename to bench/micro/disk/compare/experiments.pdf diff --git a/bench/microbenchmarks/disk/compare/main.go b/bench/micro/disk/compare/main.go similarity index 100% rename from bench/microbenchmarks/disk/compare/main.go rename to bench/micro/disk/compare/main.go diff --git a/bench/microbenchmarks/disk/loadgen/README.md b/bench/micro/disk/loadgen/README.md similarity index 100% rename from bench/microbenchmarks/disk/loadgen/README.md rename to bench/micro/disk/loadgen/README.md diff --git a/bench/microbenchmarks/disk/loadgen/loadgen.sh b/bench/micro/disk/loadgen/loadgen.sh similarity index 100% rename from bench/microbenchmarks/disk/loadgen/loadgen.sh rename to bench/micro/disk/loadgen/loadgen.sh diff --git a/bench/microbenchmarks/dl/README.md b/bench/micro/dl/README.md similarity index 100% rename from bench/microbenchmarks/dl/README.md rename to bench/micro/dl/README.md diff --git a/bench/microbenchmarks/dl/dataloader_cmp.sh b/bench/micro/dl/dataloader_cmp.sh similarity index 100% rename from bench/microbenchmarks/dl/dataloader_cmp.sh rename to bench/micro/dl/dataloader_cmp.sh diff --git a/bench/microbenchmarks/dl/scripts/run_dl_test.sh b/bench/micro/dl/scripts/run_dl_test.sh similarity index 100% rename from bench/microbenchmarks/dl/scripts/run_dl_test.sh rename to bench/micro/dl/scripts/run_dl_test.sh diff --git a/bench/microbenchmarks/dl/testrc b/bench/micro/dl/testrc similarity index 100% rename from bench/microbenchmarks/dl/testrc rename to bench/micro/dl/testrc diff --git a/bench/microbenchmarks/fio/Makefile b/bench/micro/fio/Makefile similarity index 100% rename from bench/microbenchmarks/fio/Makefile rename to bench/micro/fio/Makefile diff --git a/bench/microbenchmarks/fio/fio.cfg b/bench/micro/fio/fio.cfg similarity index 100% rename from bench/microbenchmarks/fio/fio.cfg rename to bench/micro/fio/fio.cfg diff --git a/bench/microbenchmarks/hashspeed/go.mod b/bench/micro/hashspeed/go.mod similarity index 100% rename from bench/microbenchmarks/hashspeed/go.mod rename to bench/micro/hashspeed/go.mod diff --git a/bench/microbenchmarks/hashspeed/go.sum b/bench/micro/hashspeed/go.sum similarity index 100% rename from bench/microbenchmarks/hashspeed/go.sum rename to bench/micro/hashspeed/go.sum diff --git a/bench/microbenchmarks/hashspeed/hash_test.go b/bench/micro/hashspeed/hash_test.go similarity index 100% rename from bench/microbenchmarks/hashspeed/hash_test.go rename to bench/micro/hashspeed/hash_test.go diff --git a/bench/microbenchmarks/hrw/README.md b/bench/micro/hrw/README.md similarity index 100% rename from bench/microbenchmarks/hrw/README.md rename to bench/micro/hrw/README.md diff --git a/bench/microbenchmarks/hrw/consistent_hashing.go b/bench/micro/hrw/consistent_hashing.go similarity index 100% rename from bench/microbenchmarks/hrw/consistent_hashing.go rename to bench/micro/hrw/consistent_hashing.go diff --git a/bench/microbenchmarks/hrw/experiments.pdf b/bench/micro/hrw/experiments.pdf similarity index 100% rename from bench/microbenchmarks/hrw/experiments.pdf rename to bench/micro/hrw/experiments.pdf diff --git a/bench/microbenchmarks/hrw/helpers.go b/bench/micro/hrw/helpers.go similarity index 100% rename from bench/microbenchmarks/hrw/helpers.go rename to bench/micro/hrw/helpers.go diff --git a/bench/microbenchmarks/hrw/hrw_bench_internal_test.go b/bench/micro/hrw/hrw_bench_internal_test.go similarity index 100% rename from bench/microbenchmarks/hrw/hrw_bench_internal_test.go rename to bench/micro/hrw/hrw_bench_internal_test.go diff --git a/bench/microbenchmarks/hrw1000/README.md b/bench/micro/hrw1000/README.md similarity index 90% rename from bench/microbenchmarks/hrw1000/README.md rename to bench/micro/hrw1000/README.md index abcf2a02a51..0785e210ddd 100644 --- a/bench/microbenchmarks/hrw1000/README.md +++ b/bench/micro/hrw1000/README.md @@ -2,7 +2,7 @@ $ go test -bench=. -benchtime=10s goos: linux goarch: amd64 -pkg: github.com/NVIDIA/aistore/bench/microbenchmarks/hrw1000 +pkg: github.com/NVIDIA/aistore/bench/micro/hrw1000 cpu: 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz BenchmarkHRW/cluster[10]-bucket[4,000,000]-uname[80]-16 554728353 19.12 ns/op @@ -18,7 +18,7 @@ and one more time, for consistency: $ go test -bench=. -benchtime=10s goos: linux goarch: amd64 -pkg: github.com/NVIDIA/aistore/bench/microbenchmarks/hrw1000 +pkg: github.com/NVIDIA/aistore/bench/micro/hrw1000 cpu: 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz BenchmarkHRW/cluster[10]-bucket[4,000,000]-uname[80]-16 613542771 18.86 ns/op BenchmarkHRW/cluster[100]-bucket[4,000,000]-uname[80]-16 82590082 140.1 ns/op diff --git a/bench/microbenchmarks/hrw1000/hrw_test.go b/bench/micro/hrw1000/hrw_test.go similarity index 100% rename from bench/microbenchmarks/hrw1000/hrw_test.go rename to bench/micro/hrw1000/hrw_test.go diff --git a/bench/microbenchmarks/integration/act_bench_test.go b/bench/micro/integration/act_bench_test.go similarity index 100% rename from bench/microbenchmarks/integration/act_bench_test.go rename to bench/micro/integration/act_bench_test.go diff --git a/bench/microbenchmarks/lstat/README.md b/bench/micro/lstat/README.md similarity index 100% rename from bench/microbenchmarks/lstat/README.md rename to bench/micro/lstat/README.md diff --git a/bench/microbenchmarks/lstat/basic_test.go b/bench/micro/lstat/basic_test.go similarity index 100% rename from bench/microbenchmarks/lstat/basic_test.go rename to bench/micro/lstat/basic_test.go diff --git a/bench/microbenchmarks/lstat/parallel_test.go b/bench/micro/lstat/parallel_test.go similarity index 100% rename from bench/microbenchmarks/lstat/parallel_test.go rename to bench/micro/lstat/parallel_test.go diff --git a/bench/microbenchmarks/map/README.md b/bench/micro/map/README.md similarity index 100% rename from bench/microbenchmarks/map/README.md rename to bench/micro/map/README.md diff --git a/bench/microbenchmarks/map/main.go b/bench/micro/map/main.go similarity index 100% rename from bench/microbenchmarks/map/main.go rename to bench/micro/map/main.go diff --git a/bench/microbenchmarks/memsys/wrf_test.go b/bench/micro/memsys/wrf_test.go similarity index 100% rename from bench/microbenchmarks/memsys/wrf_test.go rename to bench/micro/memsys/wrf_test.go diff --git a/bench/microbenchmarks/nstlvl/README.md b/bench/micro/nstlvl/README.md similarity index 100% rename from bench/microbenchmarks/nstlvl/README.md rename to bench/micro/nstlvl/README.md diff --git a/bench/microbenchmarks/nstlvl/drop_caches_darwin.go b/bench/micro/nstlvl/drop_caches_darwin.go similarity index 100% rename from bench/microbenchmarks/nstlvl/drop_caches_darwin.go rename to bench/micro/nstlvl/drop_caches_darwin.go diff --git a/bench/microbenchmarks/nstlvl/drop_caches_linux.go b/bench/micro/nstlvl/drop_caches_linux.go similarity index 100% rename from bench/microbenchmarks/nstlvl/drop_caches_linux.go rename to bench/micro/nstlvl/drop_caches_linux.go diff --git a/bench/microbenchmarks/nstlvl/nstlvl_test.go b/bench/micro/nstlvl/nstlvl_test.go similarity index 98% rename from bench/microbenchmarks/nstlvl/nstlvl_test.go rename to bench/micro/nstlvl/nstlvl_test.go index 87c852f80e4..562134be92c 100644 --- a/bench/microbenchmarks/nstlvl/nstlvl_test.go +++ b/bench/micro/nstlvl/nstlvl_test.go @@ -16,7 +16,7 @@ import ( "testing" "time" - "github.com/NVIDIA/aistore/bench/microbenchmarks/nstlvl" + "github.com/NVIDIA/aistore/bench/micro/nstlvl" "github.com/NVIDIA/aistore/cmn/cos" "github.com/NVIDIA/aistore/tools/trand" ) diff --git a/bench/microbenchmarks/syncmap/compare_test.go b/bench/micro/syncmap/compare_test.go similarity index 100% rename from bench/microbenchmarks/syncmap/compare_test.go rename to bench/micro/syncmap/compare_test.go