You can compile and run a simple script in this package to profile gas consumption on a deployed pyth contract. Here are the steps:
aptos move compile to compile the scriptRun the following to simulate the transaction and create a gas profile:
aptos move run-script --compiled-script-path build/Profiler/bytecode_scripts/main.mv --args hex:<update_data_payload_in_hex> --profile-gas
Open the created svg files in the gas-profiling folder to inspect gas consumption by each module and function