Tutorials for photoshop, javascript, php, html, css, flash, and more!

tutorials for photoshop, javascript, and php
   The Machine | Search for a cog | Submit a cog

Benchmarking Perl

Perl’s Benchmark module is an extremely useful tool for measuring the speed of your scripts, whether in their entirety, or down to the level of particular subroutines, or single lines of code. While some may want to comb over a script to optimize the speed of every expression, benchmarking is also incredibly helpful in finding significant bottlenecks in a script — segments of code that eat up the majority of processing time. Often, focusing on optimizing one or two main bottlenecks can improve an entire script’s execution time dramatically….


Click here for this Tutorial!