Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.477.137 Times

Benchmark::Harness 1.12

Company: Glenn Wood
Date Added: September 26, 2013  |  Visits: 375

Benchmark::Harness

Report Broken Link
Printer Friendly Version


Product Homepage
Download (42 downloads)

Benchmark::Harness is a Perl module used to test Perl applications.<br /><br />SYNOPSIS<br /><br />Benchmark::Harness will invoke subroutines at specific, parametizable points during the execution of your Perl program. These subroutines may be standard Benchmark::Harness tracing routines, or routines composed by you. The setup involves just a one line addition to your test or driver program, and is easily parameterized and turned on or off from the outside.<br /><br />To activate Benchmark::Harness on your program, add to your test or driver program the following:<br /><br />use Benchmark::Harness;<br />Benchmark::Harness:new(userPsw, 'MyHarness(reportFilename, ...)', @parameters );<br /><br />userPsw is the required user authentication to make Benchmark::Harness work. After authentication, new() loads your specified sub-harness (e.g., 'Benchmark::Harness::MyHarness') and executes the initialize() method on it, giving it the parameters specified in parantheses here. reportFilename specifies how to report the results from your harness, and @parameter is a list of 'module::sub' strings, each of which specifies a point in your target program to be monitored.<br /><br />userPsw<br /><br />The first parameter must be the userid and password (in the form "userid:password"). There is no default for this, and until you make an adjustment in the Authenticate() subroutine of Benchmark::Harness, the Benchmark::Harness will not function.<br /><br />The base class will handle basic authentication in a standard manner for you, and you may override this functionality by coding your own Authenticate() subroutine in your sub-harness.<br />'MyHarness'<br /><br />The second parameter causes your harness module to be loaded (you do not need to 'use' it to have it effective). See the documentation for Benchmark::Harness::Trace for how you would write your sub-harness.<br /><br />Each sub-harness will be handed an array consisting of the parameters given in this new() statement (as in the "(userPsw,...)" illustrated above).<br />reportFilename<br /><br />Filename specifies the disposition (or not) of the output report. Note that this is given to the sub-harness to handle as it pleases; the base class Benchmark::Harness will handle it in the following manner:<br /><br />The harness report is written to a temporary file. You can get the string contained in this file with the Benchmark::Harness::old() method. The temporary file is then deleted.<br /><br />This is a convenient way to turn the harness off. Since it can be done by parameterization from the outside, it is especially adaptable to external toggling of the harness. If '0' is specified, no action is performed by Benchmark::Harness or by your sub-harness.<br /><br />If not '1' or '0', then this parameter is interpreted as a filename into which the report is written. Benchmark::Harness::old() will now return this filename rather than the content of the file. The report file will not be deleted by Benchmark::Harness::old().<br />WARNING!<br /><br />Connecting Benchmark::Harness to your Perl application can pose a serious security/privacy risk to your application and the host computer it is running on.

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Authenticate Authentication Benchmarkharness Benchmarkharnessold Filename Handle Harness Method Parameter Parameters Program Report Specifies Subharness Subroutine Subroutines Temporary Written
Users rating: 0/10

License: Freeware Size: 20.48 KB
BENCHMARK::HARNESS RELATED
Miscellaneous  -  Class with default method handler 1.0
This script is a class whose objects can handle undefined method calls, passing them on to a default handler.
 
Libraries  -  Params::Validate 0.88
Params::Validate is a Perl module to validate method/function parameters. SYNOPSIS use Params::Validate qw(:all); # takes named params (hash or hashref) sub foo { validate( @_, { foo => 1, # mandatory bar => 0, # optional } ); } #...
79.87 KB  
Networking  -  3rd Party Authentication 0.2.3
3rd Party Authentication is a wordpress plugin that allows wordpress to authenticate against other authentication systems. These include:Gmail / Google Apps Any generic POP/IMAP email service Installation : 1. Download 3rd-party-authentication.php...
10 KB  
Libraries  -  CGI::Application::Plugin::Authentication::Driver::DBI 0.12
CGI::Application::Plugin::Authentication::Driver::DBI is a DBI Authentication driver. SYNOPSIS use base qw(CGI::Application); use CGI::Application::Plugin::Authentication; __PACKAGE__->authen->config( DRIVER => [ DBI, DBH => $self->dbh,...
48.13 KB  
Authentication  -  PHP_SMB 0.0.1
PHP_SMB is an extension for PHP written in C built on smbval (SMB validating library) to authenticate users against SMB servers. The server and backup parameters specify the primary and backup domain controller; but in fact, this can be any...
 
Libraries  -  Archive::Ar 1.13b
Archive::Ar is a Perl interface for manipulating ar archives. SYNOPSIS use Archive::Ar; my $ar = new Archive::Ar("./foo.ar"); $ar->add_data("newfile.txt","Some contents", $properties); $ar->add_files("./bar.tar.gz", "bat.pl")...
6.14 KB  
Programming  -  Cool RMI 1.1.0 Alpha
Cool RMI is a Java library that handles remote method invocation over TCP. It is Java only, very simple (configuration is: interface class, server host and server port) and is a single jar without dependencies.
61.44 KB  
Programming  -  Config::GitLike 1.04
This module handles interaction with configuration files of the style used by the version control system Git. It can both parse and modify these files, as well as create entirely new ones. You only need to know a few things about the...
40.96 KB  
Libraries  -  PDL::IO::Misc 2.4.3
PDL::IO::Misc is a Perl module with misc IO routines for PDL. rcols() Read ASCII whitespaced cols from a file into piddles and perl arrays (also see "rgrep()"). There are two calling conventions - the old version, where a pattern can be...
2.1 MB  
Miscellaneous  -  MACL 1.1
MACL - My Access Control List, was originally intended as a slimmer "Tiny ACL for PHP".It is written from scratch with an optional simple and demonstrative user authentication system for easy creation of loosely coupled systems.It is based on...
10 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB