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

[move][stdlib] Add efficient BigOrderedMap implementation #14753

Open
wants to merge 16 commits into
base: igor/ordered_map
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
34 changes: 17 additions & 17 deletions aptos-move/e2e-benchmark/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use aptos_language_e2e_tests::{
};
use aptos_transaction_generator_lib::{
publishing::{
module_simple::{AutomaticArgs, LoopType, MultiSigConfig},
module_simple::{AutomaticArgs, LoopType, MapType, MultiSigConfig},
publish_util::{Package, PackageHandler},
},
EntryPoints,
Expand Down Expand Up @@ -116,14 +116,14 @@ VectorRangeMove { vec_len: 3000, element_len: 1, index: 1000, move_len: 500, rep
VectorTrimAppend { vec_len: 100, element_len: 100, index: 0, repeats: 0 } 6 0.925 1.001 654
VectorTrimAppend { vec_len: 100, element_len: 100, index: 10, repeats: 1000 } 6 0.925 1.001 11147
VectorRangeMove { vec_len: 100, element_len: 100, index: 50, move_len: 10, repeats: 1000 } 6 0.925 1.001 5545
MapInsertRemove { len: 10, repeats: 0, use_simple_map: false } 6 0.925 1.001 378
MapInsertRemove { len: 10, repeats: 100, use_simple_map: false } 6 0.925 1.001 8184
MapInsertRemove { len: 10, repeats: 100, use_simple_map: true } 6 0.925 1.001 6419
MapInsertRemove { len: 100, repeats: 0, use_simple_map: false } 6 0.925 1.001 5094
MapInsertRemove { len: 100, repeats: 100, use_simple_map: false } 6 0.925 1.001 15838
MapInsertRemove { len: 100, repeats: 100, use_simple_map: true } 6 0.925 1.001 30962
MapInsertRemove { len: 1000, repeats: 0, use_simple_map: false } 6 0.925 1.001 66878
MapInsertRemove { len: 1000, repeats: 100, use_simple_map: false } 6 0.925 1.001 79826
MapInsertRemove { len: 10, repeats: 0, map_type: OrderedMap } 6 0.925 1.001 378
MapInsertRemove { len: 10, repeats: 100, map_type: OrderedMap } 6 0.925 1.001 8184
MapInsertRemove { len: 10, repeats: 100, map_type: SimpleMap } 6 0.925 1.001 6419
MapInsertRemove { len: 100, repeats: 0, map_type: OrderedMap } 6 0.925 1.001 5094
MapInsertRemove { len: 100, repeats: 100, map_type: OrderedMap } 6 0.925 1.001 15838
MapInsertRemove { len: 100, repeats: 100, map_type: SimpleMap } 6 0.925 1.001 30962
MapInsertRemove { len: 1000, repeats: 0, map_type: OrderedMap } 6 0.925 1.001 66878
MapInsertRemove { len: 1000, repeats: 100, map_type: OrderedMap } 6 0.925 1.001 79826
";

struct CalibrationInfo {
Expand Down Expand Up @@ -277,42 +277,42 @@ fn main() {
EntryPoints::MapInsertRemove {
len: 10,
repeats: 0,
use_simple_map: false,
map_type: MapType::OrderedMap,
},
EntryPoints::MapInsertRemove {
len: 10,
repeats: 100,
use_simple_map: false,
map_type: MapType::OrderedMap,
},
EntryPoints::MapInsertRemove {
len: 10,
repeats: 100,
use_simple_map: true,
map_type: MapType::SimpleMap,
},
EntryPoints::MapInsertRemove {
len: 100,
repeats: 0,
use_simple_map: false,
map_type: MapType::OrderedMap,
},
EntryPoints::MapInsertRemove {
len: 100,
repeats: 100,
use_simple_map: false,
map_type: MapType::OrderedMap,
},
EntryPoints::MapInsertRemove {
len: 100,
repeats: 100,
use_simple_map: true,
map_type: MapType::SimpleMap,
},
EntryPoints::MapInsertRemove {
len: 1000,
repeats: 0,
use_simple_map: false,
map_type: MapType::OrderedMap,
},
EntryPoints::MapInsertRemove {
len: 1000,
repeats: 100,
use_simple_map: false,
map_type: MapType::OrderedMap,
},
];

Expand Down
Loading
Loading