{"id":16743971,"url":"https://github.com/zshipko/memtrace-filters","last_synced_at":"2025-03-16T01:12:47.320Z","repository":{"id":53077538,"uuid":"320869499","full_name":"zshipko/memtrace-filters","owner":"zshipko","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-28T01:46:21.000Z","size":14,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-22T14:08:12.231Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zshipko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-12T16:07:12.000Z","updated_at":"2021-08-28T01:46:24.000Z","dependencies_parsed_at":"2022-09-10T04:34:18.187Z","dependency_job_id":null,"html_url":"https://github.com/zshipko/memtrace-filters","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zshipko%2Fmemtrace-filters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zshipko%2Fmemtrace-filters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zshipko%2Fmemtrace-filters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zshipko%2Fmemtrace-filters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zshipko","download_url":"https://codeload.github.com/zshipko/memtrace-filters/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243809884,"owners_count":20351407,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T01:42:05.808Z","updated_at":"2025-03-16T01:12:47.298Z","avatar_url":"https://github.com/zshipko.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Memtrace filters\n\nRequires:\n- Python\n  * Pandas\n  * Matplotlib\n- OCaml\n  * Memtrace\n\n## irmin_index_memory.ml\n\nCompares allocations from `Index` and `Irmin`\n\n### Usage\n\nRunning `irmin-pack` benchmark with memtrace (in the irmin repo):\n\n```shell\n$ MEMTRACE=trace.ctf dune exec bench/irmin-pack/layers.exe\n```\n\nNow in the `memtrace-filters` repo:\n\nSave image and data file:\n```shell\n$ dune exec ./filters/irmin_index_memory.exe ../irmin/trace.ctf \u003e data\n$ python3 plot/irmin_index.py -i data -o output.png\n```\n\nSave image to file (using pipe):\n```shell\n$ dune exec ./filters/irmin_index_memory.exe ../irmin/trace.ctf | python3 plot/irmin_index.py -o output.png\n```\n\nDisplay in window:\n```shell\n$ dune exec ./filters/irmin_index_memory.exe ../irmin/trace.ctf | python3 plot/irmin_index.py\n```\n\nChange title:\n```shell\n$ dune exec ./filters/irmin_index_memory.exe ../irmin/trace.ctf --title=$'my title with \\n and \\t will be displayed correctly'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzshipko%2Fmemtrace-filters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzshipko%2Fmemtrace-filters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzshipko%2Fmemtrace-filters/lists"}