diff --git a/benchmarks/continous/db/Justfile b/benchmarks/continuous/db/Justfile similarity index 100% rename from benchmarks/continous/db/Justfile rename to benchmarks/continuous/db/Justfile diff --git a/benchmarks/continous/db/README.md b/benchmarks/continuous/db/README.md similarity index 100% rename from benchmarks/continous/db/README.md rename to benchmarks/continuous/db/README.md diff --git a/benchmarks/continous/db/tool/Cargo.lock b/benchmarks/continuous/db/tool/Cargo.lock similarity index 100% rename from benchmarks/continous/db/tool/Cargo.lock rename to benchmarks/continuous/db/tool/Cargo.lock diff --git a/benchmarks/continous/db/tool/Cargo.toml b/benchmarks/continuous/db/tool/Cargo.toml similarity index 100% rename from benchmarks/continous/db/tool/Cargo.toml rename to benchmarks/continuous/db/tool/Cargo.toml diff --git a/benchmarks/continous/db/tool/README.md b/benchmarks/continuous/db/tool/README.md similarity index 100% rename from benchmarks/continous/db/tool/README.md rename to benchmarks/continuous/db/tool/README.md diff --git a/benchmarks/continous/db/tool/cli/Cargo.toml b/benchmarks/continuous/db/tool/cli/Cargo.toml similarity index 100% rename from benchmarks/continous/db/tool/cli/Cargo.toml rename to benchmarks/continuous/db/tool/cli/Cargo.toml diff --git a/benchmarks/continous/db/tool/cli/src/main.rs b/benchmarks/continuous/db/tool/cli/src/main.rs similarity index 100% rename from benchmarks/continous/db/tool/cli/src/main.rs rename to benchmarks/continuous/db/tool/cli/src/main.rs diff --git a/benchmarks/continous/db/tool/dbprofile b/benchmarks/continuous/db/tool/dbprofile similarity index 100% rename from benchmarks/continous/db/tool/dbprofile rename to benchmarks/continuous/db/tool/dbprofile diff --git a/benchmarks/continous/db/tool/orm/Cargo.toml b/benchmarks/continuous/db/tool/orm/Cargo.toml similarity index 100% rename from benchmarks/continous/db/tool/orm/Cargo.toml rename to benchmarks/continuous/db/tool/orm/Cargo.toml diff --git a/benchmarks/continous/db/tool/orm/diesel.toml b/benchmarks/continuous/db/tool/orm/diesel.toml similarity index 100% rename from benchmarks/continous/db/tool/orm/diesel.toml rename to benchmarks/continuous/db/tool/orm/diesel.toml diff --git a/benchmarks/continous/db/tool/orm/migrations/00000000000000_diesel_initial_setup/down.sql b/benchmarks/continuous/db/tool/orm/migrations/00000000000000_diesel_initial_setup/down.sql similarity index 100% rename from benchmarks/continous/db/tool/orm/migrations/00000000000000_diesel_initial_setup/down.sql rename to benchmarks/continuous/db/tool/orm/migrations/00000000000000_diesel_initial_setup/down.sql diff --git a/benchmarks/continous/db/tool/orm/migrations/00000000000000_diesel_initial_setup/up.sql b/benchmarks/continuous/db/tool/orm/migrations/00000000000000_diesel_initial_setup/up.sql similarity index 100% rename from benchmarks/continous/db/tool/orm/migrations/00000000000000_diesel_initial_setup/up.sql rename to benchmarks/continuous/db/tool/orm/migrations/00000000000000_diesel_initial_setup/up.sql diff --git a/benchmarks/continous/db/tool/orm/migrations/2024-06-03-142154_create_ft_transfers/down.sql b/benchmarks/continuous/db/tool/orm/migrations/2024-06-03-142154_create_ft_transfers/down.sql similarity index 100% rename from benchmarks/continous/db/tool/orm/migrations/2024-06-03-142154_create_ft_transfers/down.sql rename to benchmarks/continuous/db/tool/orm/migrations/2024-06-03-142154_create_ft_transfers/down.sql diff --git a/benchmarks/continous/db/tool/orm/migrations/2024-06-03-142154_create_ft_transfers/up.sql b/benchmarks/continuous/db/tool/orm/migrations/2024-06-03-142154_create_ft_transfers/up.sql similarity index 100% rename from benchmarks/continous/db/tool/orm/migrations/2024-06-03-142154_create_ft_transfers/up.sql rename to benchmarks/continuous/db/tool/orm/migrations/2024-06-03-142154_create_ft_transfers/up.sql diff --git a/benchmarks/continous/db/tool/orm/migrations/2024-06-12-094545_simplify_permissions/down.sql b/benchmarks/continuous/db/tool/orm/migrations/2024-06-12-094545_simplify_permissions/down.sql similarity index 100% rename from benchmarks/continous/db/tool/orm/migrations/2024-06-12-094545_simplify_permissions/down.sql rename to benchmarks/continuous/db/tool/orm/migrations/2024-06-12-094545_simplify_permissions/down.sql diff --git a/benchmarks/continous/db/tool/orm/migrations/2024-06-12-094545_simplify_permissions/up.sql b/benchmarks/continuous/db/tool/orm/migrations/2024-06-12-094545_simplify_permissions/up.sql similarity index 100% rename from benchmarks/continous/db/tool/orm/migrations/2024-06-12-094545_simplify_permissions/up.sql rename to benchmarks/continuous/db/tool/orm/migrations/2024-06-12-094545_simplify_permissions/up.sql diff --git a/benchmarks/continous/db/tool/orm/migrations/2024-06-12-120242_refine_ft_transfers/down.sql b/benchmarks/continuous/db/tool/orm/migrations/2024-06-12-120242_refine_ft_transfers/down.sql similarity index 100% rename from benchmarks/continous/db/tool/orm/migrations/2024-06-12-120242_refine_ft_transfers/down.sql rename to benchmarks/continuous/db/tool/orm/migrations/2024-06-12-120242_refine_ft_transfers/down.sql diff --git a/benchmarks/continous/db/tool/orm/migrations/2024-06-12-120242_refine_ft_transfers/up.sql b/benchmarks/continuous/db/tool/orm/migrations/2024-06-12-120242_refine_ft_transfers/up.sql similarity index 100% rename from benchmarks/continous/db/tool/orm/migrations/2024-06-12-120242_refine_ft_transfers/up.sql rename to benchmarks/continuous/db/tool/orm/migrations/2024-06-12-120242_refine_ft_transfers/up.sql diff --git a/benchmarks/continous/db/tool/orm/migrations/2024-06-19-160030_ft_transfers_metadata/down.sql b/benchmarks/continuous/db/tool/orm/migrations/2024-06-19-160030_ft_transfers_metadata/down.sql similarity index 100% rename from benchmarks/continous/db/tool/orm/migrations/2024-06-19-160030_ft_transfers_metadata/down.sql rename to benchmarks/continuous/db/tool/orm/migrations/2024-06-19-160030_ft_transfers_metadata/down.sql diff --git a/benchmarks/continous/db/tool/orm/migrations/2024-06-19-160030_ft_transfers_metadata/up.sql b/benchmarks/continuous/db/tool/orm/migrations/2024-06-19-160030_ft_transfers_metadata/up.sql similarity index 100% rename from benchmarks/continous/db/tool/orm/migrations/2024-06-19-160030_ft_transfers_metadata/up.sql rename to benchmarks/continuous/db/tool/orm/migrations/2024-06-19-160030_ft_transfers_metadata/up.sql diff --git a/benchmarks/continous/db/tool/orm/src/lib.rs b/benchmarks/continuous/db/tool/orm/src/lib.rs similarity index 100% rename from benchmarks/continous/db/tool/orm/src/lib.rs rename to benchmarks/continuous/db/tool/orm/src/lib.rs diff --git a/benchmarks/continous/db/tool/orm/src/models.rs b/benchmarks/continuous/db/tool/orm/src/models.rs similarity index 100% rename from benchmarks/continous/db/tool/orm/src/models.rs rename to benchmarks/continuous/db/tool/orm/src/models.rs diff --git a/benchmarks/continous/db/tool/orm/src/schema.rs b/benchmarks/continuous/db/tool/orm/src/schema.rs similarity index 100% rename from benchmarks/continous/db/tool/orm/src/schema.rs rename to benchmarks/continuous/db/tool/orm/src/schema.rs diff --git a/scripts/ft-benchmark-data-sender.py b/scripts/ft-benchmark-data-sender.py index 9f2f9b97086..337b4c3ff67 100644 --- a/scripts/ft-benchmark-data-sender.py +++ b/scripts/ft-benchmark-data-sender.py @@ -86,7 +86,7 @@ def get_commit() -> tuple[str, datetime]: def commit_to_db(data: dict) -> None: print(data) - chdir(os.path.expanduser("~/nearcore/benchmarks/continous/db/tool")) + chdir(os.path.expanduser("~/nearcore/benchmarks/continuous/db/tool")) with tempfile.NamedTemporaryFile(mode="w", encoding='utf-8') as fp: json.dump(data, fp) fp.flush() diff --git a/scripts/ft-benchmark.sh b/scripts/ft-benchmark.sh index 90f661b935a..10a8e9057a5 100755 --- a/scripts/ft-benchmark.sh +++ b/scripts/ft-benchmark.sh @@ -8,7 +8,7 @@ date # Otherwise nearup and cargo don't work even if installed properly PATH=/home/ubuntu/.local/bin/:$PATH export PATH=$PATH:$HOME/.cargo/bin -source benchmarks/continous/db/tool/dbprofile +source benchmarks/continuous/db/tool/dbprofile # Fetch the latest changes from the remote git fetch