{"id":30211302,"url":"https://github.com/mons/dash-leak","last_synced_at":"2025-08-13T20:35:55.279Z","repository":{"id":823819,"uuid":"538020","full_name":"Mons/Dash-Leak","owner":"Mons","description":"Track memory allocation","archived":false,"fork":false,"pushed_at":"2010-10-19T12:11:54.000Z","size":286,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-10T20:33:09.439Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://search.cpan.org/dist/Dash-Leak","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mons.png","metadata":{"files":{"readme":"README","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-02-26T22:51:28.000Z","updated_at":"2018-02-26T13:43:30.000Z","dependencies_parsed_at":"2022-08-16T11:00:51.660Z","dependency_job_id":null,"html_url":"https://github.com/Mons/Dash-Leak","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/Mons/Dash-Leak","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mons%2FDash-Leak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mons%2FDash-Leak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mons%2FDash-Leak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mons%2FDash-Leak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mons","download_url":"https://codeload.github.com/Mons/Dash-Leak/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mons%2FDash-Leak/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270305886,"owners_count":24562112,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-08-13T20:34:29.167Z","updated_at":"2025-08-13T20:35:55.243Z","avatar_url":"https://github.com/Mons.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n    Dash::Leak - Track memory allocation\n\nSYNOPSIS\n    Quick summary of what the module does.\n\n        BEGIN {\n            # enables operation of Dash::Leak, leaksz is a nop without this\n            $ENV{DEBUG_MEM} = 1;\n        }\n\n        use Dash::Leak;\n    \n        {\n            leaksz \"block label\";\n            # some code, that may leak\n        }\n        # If your code leaked, you'll be noticed about change\n        # of process vsize after leaving block\n    \n        leaksz \"tests begin\";\n        some_operation($arg);\n        leaksz \"some_operation\", sub {\n            warn sprintf \"We leaked after some_operation($arg) by %+d kilobytes;\", shift\n        };\n        another_operation();\n        leaksz \"another_operation\";\n        # ...\n\n        use Dash::Leak sub { ... }; # Will call this cb for every alloc, instead of warn\n\nEXPORT\n    Export of this module is \"virtual\", by using Devel::Declare. When\n    $ENV{DEBUG_MEM} is true, it will work, when false, this opcodes will be\n    ignored, like with \"leaksz ... if 0\";\n\nFUNCTIONS\n  leaksz $label, [$cb-\u003e($delta)]\n    Starts tracking current block. If something changed since last note,\n    notice will be warned. If callback is passed, it will be invoked instead\n    of warn.\n\nACKNOWLEDGEMENTS\n    *   Thanks to knevgen (\u003chttp://github.com/knevgen\u003e) for linux version\n        patch\n\nAUTHOR\n    Mons Anderson, \"\u003cmons at cpan.org\u003e\"\n\nCOPYRIGHT \u0026 LICENSE\n    Copyright 2010 Mons Anderson, all rights reserved.\n\n    This program is free software; you can redistribute it and/or modify it\n    under the same terms as Perl itself.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmons%2Fdash-leak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmons%2Fdash-leak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmons%2Fdash-leak/lists"}