Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Testing] Performance tests for 'store' collections. #1195

Merged
merged 57 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
2ff02a2
[Testing] Performance tests for 'store' collections.
ruseinov Jun 7, 2024
e77036c
Merge branch 'master' into ru/enhancement/store-integration-tests
ruseinov Jun 7, 2024
612640c
add wasm
ruseinov Jun 7, 2024
0305511
fix clap
ruseinov Jun 7, 2024
fa950fd
fix
ruseinov Jun 7, 2024
81e21de
fix
ruseinov Jun 7, 2024
a2e0fba
fix
ruseinov Jun 7, 2024
f3ec604
Merge branch 'master' into ru/enhancement/store-integration-tests
frol Jun 7, 2024
6e340c9
fix
ruseinov Jun 8, 2024
0a0f11a
fix remove tests
ruseinov Jun 8, 2024
fea8a79
gas fix
ruseinov Jun 8, 2024
70d5f39
adjust more
ruseinov Jun 8, 2024
462d01f
try reducing thread amount
ruseinov Jun 8, 2024
3406a0e
fix
ruseinov Jun 8, 2024
13982ee
unfix
ruseinov Jun 8, 2024
2ad0b5a
create accounts sequentially
ruseinov Jun 9, 2024
6afad88
simplify pool
ruseinov Jun 9, 2024
1a91764
simplify pool loop
ruseinov Jun 9, 2024
0e5f570
add some comments
ruseinov Jun 9, 2024
4f992ac
limit perf testing only to linux
ruseinov Jun 11, 2024
3765999
fix tests according to comments
ruseinov Jun 16, 2024
508fb18
introduce comparison test
ruseinov Jun 16, 2024
781bd1c
change path
ruseinov Jun 16, 2024
558118d
Merge branch 'master' into ru/enhancement/store-integration-tests
ruseinov Jun 16, 2024
dfc1551
enable only on linux
ruseinov Jun 16, 2024
95e3586
dry
ruseinov Jun 16, 2024
b4da33c
enable only for linux
ruseinov Jun 16, 2024
69559c9
remove debug
ruseinov Jun 16, 2024
d45f409
more dry
ruseinov Jun 16, 2024
94d261c
enable only for linux
ruseinov Jun 16, 2024
78062f5
allow dead code
ruseinov Jun 17, 2024
c022cd6
fix clippy
ruseinov Jun 17, 2024
495eda1
fix lint
ruseinov Jun 17, 2024
e3a5a67
fix
ruseinov Jun 17, 2024
e2c7b09
clippy
ruseinov Jun 17, 2024
a105415
bless the correct output
ruseinov Jun 18, 2024
6a67984
disable cache
ruseinov Jun 18, 2024
a331cea
check macos-14
ruseinov Jun 18, 2024
ef5f3fc
macos-13
ruseinov Jun 18, 2024
4d922f1
disable cache
ruseinov Jun 18, 2024
104a83e
return
ruseinov Jun 18, 2024
bfd0858
reinstate cache
ruseinov Jun 18, 2024
c6127b8
Merge branch 'master' into ru/enhancement/store-integration-tests
ruseinov Jun 19, 2024
a774964
rustsec updated
ruseinov Jun 19, 2024
df90e67
fix reviews
ruseinov Jun 20, 2024
8c3a4ee
Merge branch 'master' into ru/enhancement/store-integration-tests
ruseinov Jun 20, 2024
f438ade
Revert "allow dead code"
ruseinov Jun 20, 2024
1c1b7d3
reinstate linux check
ruseinov Jun 20, 2024
544d553
remove blob
ruseinov Jun 21, 2024
5885fbe
Update near-sdk/tests/store_performance_tests.rs
ruseinov Jun 21, 2024
4d4c8ba
address the rest
ruseinov Jun 21, 2024
029a759
fix
ruseinov Jun 21, 2024
6d7cdbc
restrict to linux
ruseinov Jun 21, 2024
8d46a99
relax constraints
ruseinov Jun 21, 2024
99a9834
tune the constraint more
ruseinov Jun 22, 2024
833796a
Merge branch 'master' into ru/enhancement/store-integration-tests
ruseinov Jun 25, 2024
29c5a4f
upgrade near-workspaces to 0.10.1
frol Jun 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
ignore = [
"RUSTSEC-2020-0071", # `chrono` is a transient dependency used by `near-sandbox-utils` and other dependencies
"RUSTSEC-2022-0093", # security audit error in ed25519-dalek which is not relevant for near-sdk-rs
"RUSTSEC-2024-0344", # security audit error in ed25519-dalek which is not relevant for near-sdk-rs
"RUSTSEC-2021-0145", # this needs to be investigated, `atty` has not been updated for 4 years
"RUSTSEC-2022-0054", # unmaintained, perhaps needs to be replaced
]
2 changes: 1 addition & 1 deletion examples/adder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ crate-type = ["cdylib"]
near-sdk = { path = "../../near-sdk" }

[dev-dependencies]
near-workspaces = { version = "0.9.0", default-features = false, features = ["install"] }
near-workspaces = "0.10.1"
tokio = { version = "1.14", features = ["full"] }
anyhow = "1.0"
near-abi = "0.4.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/callback-results/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ crate-type = ["cdylib"]
near-sdk = { path = "../../near-sdk" }

[dev-dependencies]
near-workspaces = { version = "0.9.0", default-features = false, features = ["install"] }
near-workspaces = "0.10.1"
tokio = { version = "1.14", features = ["full"] }
anyhow = "1.0"

Expand Down
2 changes: 1 addition & 1 deletion examples/cross-contract-calls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ anyhow = "1.0"
near-sdk = { path = "../../near-sdk" }
test-case = "2.0"
tokio = { version = "1.14", features = ["full"] }
near-workspaces = { version = "0.9.0", default-features = false, features = ["install"] }
near-workspaces = "0.10.1"

cross-contract-high-level = { path = "./high-level" }
cross-contract-low-level = { path = "./low-level" }
Expand Down
2 changes: 1 addition & 1 deletion examples/factory-contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2021"
anyhow = "1.0"
test-case = "2.0"
tokio = { version = "1.14", features = ["full"] }
near-workspaces = { version = "0.9.0", default-features = false, features = ["install"] }
near-workspaces = "0.10.1"

[profile.release]
codegen-units = 1
Expand Down
2 changes: 1 addition & 1 deletion examples/fungible-token/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2021"
anyhow = "1.0"
near-sdk = { path = "../../near-sdk", features = ["unit-testing"] }
tokio = { version = "1.14", features = ["full"] }
near-workspaces = { version = "0.9.0", default-features = false, features = ["install"] }
near-workspaces = "0.10.1"

[profile.release]
codegen-units = 1
Expand Down
2 changes: 1 addition & 1 deletion examples/lockable-fungible-token/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ near-sdk = { path = "../../near-sdk", features = ["legacy"] }
anyhow = "1.0"
tokio = { version = "1.14", features = ["full"] }
near-sdk = { path = "../../near-sdk", features = ["unit-testing"] }
near-workspaces = { version = "0.9.0", default-features = false, features = ["install"] }
near-workspaces = "0.10.1"

[profile.release]
codegen-units = 1
Expand Down
2 changes: 1 addition & 1 deletion examples/non-fungible-token/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ anyhow = "1.0"
near-contract-standards = { path = "../../near-contract-standards" }
near-sdk = { path = "../../near-sdk" }
tokio = { version = "1.14", features = ["full"] }
near-workspaces = { version = "0.9.0", default-features = false, features = ["install"] }
near-workspaces = "0.10.1"

[profile.release]
codegen-units = 1
Expand Down
5 changes: 5 additions & 0 deletions near-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ rand_chacha = "0.3.1"
near-rng = "0.1.1"
near-abi = { version = "0.4.0", features = ["__chunked-entries"] }
symbolic-debuginfo = "12"
near-workspaces = { version = "0.10.1", features = ["unstable"] }
anyhow = "1.0"
tokio = { version = "1", features = ["full"] }
strum = "0.25.0"
strum_macros = "0.25.3"

[features]
default = ["wee_alloc"]
Expand Down
Loading
Loading