Six Apart Ltd. > Data-YUID-0.05 > bench

Download:
Data-YUID-0.05.tar.gz

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source   Latest Release: Data-YUID-0.06

NAME ^

bench - benchmark creation of database records using yuidd versus database's native sequences

USAGE ^

    mysqladmin -u root create yuidtest
    mysql -u root -e 'grant all privileges on yuidtest.* to '`whoami`'@localhost'
    bin/yuidd --port 7357 --daemon
    scripts/bench -n 50000 --db yuidtest --yuidd localhost:7357

SYNOPSIS ^

    bench -n <records> --db <local mysql database name> --yuidd <yuidd host and port>

DESCRIPTION ^

This is an experiment in finding and evaluating performance metrics for the Data::YUID system and server as a replacement for the automatic, native numbering of records by the database.

TODO ^

syntax highlighting: