You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This adds a new option `aptos move prove --benchmark` which lets verification run in the benchmark framework of the `move-prover/lab` tool. This tool verifies function by function and detects timeouts as well as measure verification time.
The result of the benchmark will be stored in `<move-package>/prover_benchmark.fun_data`. A graphic representation will be stored as well in `prover_benchmark.svg`.
The PR fixes also some other things on the way which came apparent when working on it, namely trying to identify the reasons for #15605:
- Adds new debug print for which verification targets are generated. This is reachable via `move prove -v debug`
- Reduces unnecessary verification of symmetric type instantiations `f<#1, #2>` and `f<#2, #1>`
- Adds an option `--skip-instance-check` to completely turn off verification of type instantiations.
- Removed legacy verification_analysis_v2 and global_invariant_instrumentation_v2. These are dead code since long and confusing when trying to understand what functions are verified
Copy file name to clipboardexpand all lines: crates/aptos/CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
All notable changes to the Aptos CLI will be captured in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and the format set out by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
4
4
5
5
# Unreleased
6
+
- Add flag `--benchmark` to `aptos move prove`, which allows to benchmark verification times of individual functions in a package
6
7
7
8
## [5.1.0] - 2024/12/13
8
9
- More optimizations are now default for compiler v2.
0 commit comments