Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/fix startup time #9

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

qsimpleq
Copy link

@qsimpleq qsimpleq commented Mar 4, 2016

All test passed normally.

Now start-up time and memory usage is comparable with Validate::Tiny if functions Validator::LIVR::Rules::Special::[email, iso_date] is not used.

Disable warnings FATAL => 'all'.
If you really need it, may be do something like this:
use warnings;
if ( exists $ENV{LIVR_FATAL_WARNINGS} ) { warnings->import(FATAL => 'all') }

Kirill Babikhin added 3 commits March 4, 2016 12:39
add lazy loading for Email::Valid Regexp::Common Time::Piece
start-up time is reducing ~ 2x times, if you do not use checks
email, iso_date and url.
@qsimpleq qsimpleq closed this Mar 4, 2016
@qsimpleq qsimpleq deleted the feature/fix_startup_time branch March 4, 2016 08:51
@qsimpleq qsimpleq restored the feature/fix_startup_time branch March 4, 2016 08:58
@qsimpleq qsimpleq reopened this Mar 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant