NAME Callgrind::Parser - Parses Callgrind output file into a hashref representing the call tree of the source program VERSION version 0.001 SYNOPSIS use Callgrind::Parser; my $profile = Callgrind::Parser::parseFile('t/data/helloworld.out') print "Hello world took ".$profile->{main}{Time}." milliseconds to run\n"; DESCRIPTION The parser was designed to read Callgrind profile data as described here . Primarily written to read and manipulate profiling output generated by xdebug . Thus far it has only been tested with files generated by xdebug. METHODS parseFile This method does all the work of the function. Takes in the full path to a file to parse Returns a hash containing the metadata read from the file header, as well has a hash ref which represents the full call tree of the program from which the profile was generated. AUTHOR Dave Mueller COPYRIGHT AND LICENSE This software is copyright (c) 2015 by Dave Mueller. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.