Skip to content

[gas] optimize dependency gas by avoid allocating new ModuleId

Codecov / codecov/patch succeeded Feb 24, 2024 in 1s

36.6% of diff hit (target 71.4%)

View this Pull Request on Codecov

36.6% of diff hit (target 71.4%)

Annotations

Check warning on line 60 in aptos-move/aptos-gas-meter/src/algebra.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aptos-move/aptos-gas-meter/src/algebra.rs#L59-L60

Added lines #L59 - L60 were not covered by tests

Check warning on line 257 in aptos-move/aptos-gas-meter/src/algebra.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aptos-move/aptos-gas-meter/src/algebra.rs#L242-L257

Added lines #L242 - L257 were not covered by tests

Check warning on line 488 in aptos-move/aptos-gas-meter/src/meter.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aptos-move/aptos-gas-meter/src/meter.rs#L475-L488

Added lines #L475 - L488 were not covered by tests

Check warning on line 222 in aptos-move/aptos-gas-schedule/src/gas_schedule/transaction.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aptos-move/aptos-gas-schedule/src/gas_schedule/transaction.rs#L203-L222

Added lines #L203 - L222 were not covered by tests

Check warning on line 658 in aptos-move/aptos-vm/src/aptos_vm.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aptos-move/aptos-vm/src/aptos_vm.rs#L652-L658

Added lines #L652 - L658 were not covered by tests

Check warning on line 660 in aptos-move/aptos-vm/src/aptos_vm.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aptos-move/aptos-vm/src/aptos_vm.rs#L660

Added line #L660 was not covered by tests

Check warning on line 695 in aptos-move/aptos-vm/src/aptos_vm.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aptos-move/aptos-vm/src/aptos_vm.rs#L685-L695

Added lines #L685 - L695 were not covered by tests

Check warning on line 1022 in aptos-move/aptos-vm/src/aptos_vm.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aptos-move/aptos-vm/src/aptos_vm.rs#L1012-L1022

Added lines #L1012 - L1022 were not covered by tests

Check warning on line 1197 in aptos-move/aptos-vm/src/aptos_vm.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aptos-move/aptos-vm/src/aptos_vm.rs#L1197

Added line #L1197 was not covered by tests

Check warning on line 1202 in aptos-move/aptos-vm/src/aptos_vm.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aptos-move/aptos-vm/src/aptos_vm.rs#L1202

Added line #L1202 was not covered by tests

Check warning on line 1212 in aptos-move/aptos-vm/src/aptos_vm.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aptos-move/aptos-vm/src/aptos_vm.rs#L1204-L1212

Added lines #L1204 - L1212 were not covered by tests

Check warning on line 1234 in aptos-move/aptos-vm/src/aptos_vm.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

aptos-move/aptos-vm/src/aptos_vm.rs#L1219-L1234

Added lines #L1219 - L1234 were not covered by tests

Check warning on line 206 in third_party/move/move-binary-format/src/access.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

third_party/move/move-binary-format/src/access.rs#L195-L206

Added lines #L195 - L206 were not covered by tests

Check warning on line 216 in third_party/move/move-binary-format/src/access.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

third_party/move/move-binary-format/src/access.rs#L208-L216

Added lines #L208 - L216 were not covered by tests

Check warning on line 329 in third_party/move/move-binary-format/src/access.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

third_party/move/move-binary-format/src/access.rs#L321-L329

Added lines #L321 - L329 were not covered by tests

Check warning on line 2204 in third_party/move/move-binary-format/src/file_format.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

third_party/move/move-binary-format/src/file_format.rs#L2202-L2204

Added lines #L2202 - L2204 were not covered by tests

Check warning on line 2208 in third_party/move/move-binary-format/src/file_format.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

third_party/move/move-binary-format/src/file_format.rs#L2206-L2208

Added lines #L2206 - L2208 were not covered by tests

Check warning on line 263 in third_party/move/move-core/types/src/language_storage.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

third_party/move/move-core/types/src/language_storage.rs#L261-L263

Added lines #L261 - L263 were not covered by tests

Check warning on line 287 in third_party/move/move-vm/runtime/src/data_cache.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

third_party/move/move-vm/runtime/src/data_cache.rs#L286-L287

Added lines #L286 - L287 were not covered by tests

Check warning on line 296 in third_party/move/move-vm/runtime/src/data_cache.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

third_party/move/move-vm/runtime/src/data_cache.rs#L296

Added line #L296 was not covered by tests

Check warning on line 260 in third_party/move/move-vm/runtime/src/loader/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

third_party/move/move-vm/runtime/src/loader/mod.rs#L251-L260

Added lines #L251 - L260 were not covered by tests

Check warning on line 262 in third_party/move/move-vm/runtime/src/loader/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

third_party/move/move-vm/runtime/src/loader/mod.rs#L262

Added line #L262 was not covered by tests

Check warning on line 270 in third_party/move/move-vm/runtime/src/loader/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

third_party/move/move-vm/runtime/src/loader/mod.rs#L265-L270

Added lines #L265 - L270 were not covered by tests

Check warning on line 273 in third_party/move/move-vm/runtime/src/loader/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

third_party/move/move-vm/runtime/src/loader/mod.rs#L272-L273

Added lines #L272 - L273 were not covered by tests

Check warning on line 501 in third_party/move/move-vm/runtime/src/loader/mod.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

third_party/move/move-vm/runtime/src/loader/mod.rs#L501

Added line #L501 was not covered by tests