Movatterモバイル変換


[0]ホーム

URL:


 / 
Prima-1.76
River stage two • 17 direct dependents • 19 total dependents
/Prima::Stress

NAME

Prima::Stress - stress test module

DESCRIPTION

The module is intended for use in test purposes, to check the functionality of a program or a module under particular conditions that might be overlooked during the design. Currently, the stress factors implemented are the default font size, default scrollbar sizes, and the UI-scaling factor, which are set to different random values every time the module is invoked.

To use the module it is enough to include a typical

use Prima::Stress;

code, or, if the program is invoked by calling perl, by using the

perl -MPrima::Stress program

syntax. The module does not provide any methods, however, one may address individual aspects of the UI defaults.

API

Font size

use Prima::Stress q(fs=18);perl -MPrima::Stress=fs=18 program

This syntax changes the default font size to 18 points.

Display resolution

use Prima::Stress q(dpi=192);perl -MPrima::Stress=dpi=192 program

This syntax changes the display resolution to 192 pixels per inch.

Scrollbar sizes

use Prima::Stress q(src=40);perl -MPrima::Stress=src=40 program

This syntax changes the default width of vertical scrollbars, and the default height of horizontal scrollbars to 40 pixels

AUTHOR

Dmitry Karasik <dmitry@karasik.eu.org>,

Module Install Instructions

To install Prima, copy and paste the appropriate command in to your terminal.

cpanm

cpanm Prima

CPAN shell

perl -MCPAN -e shellinstall Prima

For more information on module installation, please visitthe detailed CPAN module installation guide.

Keyboard Shortcuts

Global
sFocus search bar
?Bring up this help dialog
GitHub
gpGo to pull requests
gigo to github issues (only if github is preferred repository)
POD
gaGo to author
gcGo to changes
giGo to issues
gdGo to dist
grGo to repository/SCM
gsGo to source
gbGo to file browse
Search terms
module: (e.g.module:Plugin)
distribution: (e.g.distribution:Dancer auth)
author: (e.g.author:SONGMU Redis)
version: (e.g.version:1.00)

[8]ページ先頭

©2009-2025 Movatter.jp