{"id":20596943,"url":"https://github.com/petdance/template-timer","last_synced_at":"2025-04-14T23:52:01.308Z","repository":{"id":516973,"uuid":"145024","full_name":"petdance/template-timer","owner":"petdance","description":"Template::Timer, a Perl plugin for Template Toolkit for timing and benchmarking","archived":false,"fork":false,"pushed_at":"2013-07-17T14:42:28.000Z","size":145,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-14T23:51:46.896Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/petdance.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-03-07T04:59:14.000Z","updated_at":"2019-08-13T14:07:17.000Z","dependencies_parsed_at":"2022-07-04T22:00:23.142Z","dependency_job_id":null,"html_url":"https://github.com/petdance/template-timer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petdance%2Ftemplate-timer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petdance%2Ftemplate-timer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petdance%2Ftemplate-timer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petdance%2Ftemplate-timer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petdance","download_url":"https://codeload.github.com/petdance/template-timer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248981260,"owners_count":21193144,"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-11-16T08:19:34.858Z","updated_at":"2025-04-14T23:52:01.284Z","avatar_url":"https://github.com/petdance.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Template::Timer\n\nTemplate::Timer provides inline timings of the time Template Toolkit\nspends in template processing througout your code.  It's an overridden\nversion of Template::Context that wraps the process() and include()\nmethods.\n\nUsing Template::Timer is simple.\n\n    my %config = ( # Whatever your config is\n        INCLUDE_PATH    =\u003e \"/my/template/path\",\n        COMPILE_EXT     =\u003e \".ttc\",\n        COMPILE_DIR     =\u003e \"/tmp/tt\",\n    );\n\n    if ( $development_mode ) {\n        $config{ CONTEXT } = Template::Timer-\u003enew( %config );\n    }\n\n    my $template = Template-\u003enew( \\%config );\n\nNow when you process templates, HTML comments will get embedded in your\noutput, which you can easily grep for.\n\n    \u003c!-- SUMMARY\n    L1      0.014             P page/search/display.ttml\n    L2    251.423              I element/framework/page-end.tt\n    L3    251.434               P element/framework/page-end.tt\n    L4    254.103                I element/framework/epilogue.tt\n    L5    254.114                 P element/framework/epilogue.tt\n    L4    251.748                I element/framework/footer.tt\n    L5    251.759                 P element/framework/footer.tt\n\n    ....\n\n    L5    253.661      1.913      P element/framework/footer.tt\n    L4    253.880      2.144     I element/framework/footer.tt\n    L5    254.400      0.297      P element/framework/epilogue.tt\n    L4    254.651      0.560     I element/framework/epilogue.tt\n    L3    254.953      3.530    P element/framework/page-end.tt\n    L2    255.167      3.755   I element/framework/page-end.tt\n    L1    281.857    281.871  P page/search/display.ttml\n    --\u003e\n\n# INSTALLATION\n\nTo install this module, run the following commands:\n\n    perl Makefile.PL\n    make\n    make test\n    make install\n\n\n# COPYRIGHT AND LICENSE\n\nCopyright 2005-2013 Andy Lester.\n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the Artistic License v2.0.\n\nSee http://www.perlfoundation.org/artistic_license_2_0 or the LICENSE.md\nfile that comes with the ack distribution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetdance%2Ftemplate-timer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetdance%2Ftemplate-timer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetdance%2Ftemplate-timer/lists"}