swh:1:snp:505c374fd75bb208ae4e9a54e64bb310bc49295e
Revision 6ce32902720bacfc81cf7fd94fe95c927bb29daf authored by Diana Savatina on 22 March 2024, 15:51:59 UTC, committed by Diana Savatina on 27 March 2024, 14:16:04 UTC
    - txt, json or both can be selected for output
    - json output contains readiable timestamps
    - max range is configurable to be used for aggregated data

Example:
export PROFILING=yes:txt_and_json:1000:$HOME/Documents/features/reduce_blocktime/local

{ "aggregated": [],
    "recorded":
    [ { "name": "initialization",
        "start": { "wall": "2024-03-20T15:42:38.623-00:00", "cpu": 0.289436 },
        "duration": { "wall": 0.0199749, "cpu": 0.009858 },

> dune exec src/lib_base/unix/test/main.exe --
    --file test_simple_profiler.ml

TEST: test_parse_profiling_config

                config : {} my_dir
            expected : {no_lod}
                empty : {no_lod}

                config : {YES:txt:999:/my/path/here} my_dir
            expected : {terse txt 999 /my/path/here}
                full : {terse txt 999 /my/path/here}
1 parent 04e5744
History
Tip revision: 285427db45366c31b54022f57c2ac75fa3e5b88b authored by Marge Bot on 05 April 2024, 12:53:28 UTC
Merge tezos/tezos!12676: RISC-V: Distinguish physical & virtual test environments
Tip revision: 285427d
File Mode Size
.cargo
.github
.gitlab
LICENSES
_coverage_output
ci
client-libs
contrib
devtools
docs
emacs
etherlink
images
irmin
manifest
michelson_test_scripts
nix
opam
script-inputs
scripts
src
tezt
tzt_reference_test_suite
vendors
.dockerignore -rw-r--r-- 2.5 KB
.gitattributes -rw-r--r-- 369 bytes
.gitignore -rw-r--r-- 2.7 KB
.gitlab-ci.yml -rw-r--r-- 5.3 KB
.mailmap -rw-r--r-- 11.4 KB
.npmrc -rw-r--r-- 62 bytes
.ocamlformat -rw-r--r-- 388 bytes
.pre-commit-config.yaml -rw-r--r-- 1.2 KB
.pylintrc -rw-r--r-- 15.2 KB
CHANGES.rst -rw-r--r-- 8.2 KB
CODEOWNERS -rw-r--r-- 4.2 KB
Dockerfile -rw-r--r-- 4.7 KB
Makefile -rw-r--r-- 20.0 KB
README.md -rw-r--r-- 3.5 KB
build.Dockerfile -rw-r--r-- 3.4 KB
contributing.md -rw-r--r-- 2.2 KB
debian-deps-build.Dockerfile -rw-r--r-- 1.3 KB
default.nix -rw-r--r-- 3.3 KB
dune -rw-r--r-- 944 bytes
dune-project -rw-r--r-- 6.3 KB
dune-workspace -rw-r--r-- 506 bytes
etherlink.mk -rw-r--r-- 2.5 KB
kernels.mk -rw-r--r-- 2.5 KB
package-lock.json -rw-r--r-- 1.3 KB
package.json -rw-r--r-- 376 bytes
poetry.lock -rw-r--r-- 59.5 KB
pyproject.toml -rw-r--r-- 1.0 KB
rust-toolchain -rw-r--r-- 7 bytes
shell.nix -rw-r--r-- 3.8 KB

README.md

back to top