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

Significant increase in startup overhead compared to 0.15 #24

Closed
perlancar opened this issue Feb 21, 2015 · 1 comment
Closed

Significant increase in startup overhead compared to 0.15 #24

perlancar opened this issue Feb 21, 2015 · 1 comment

Comments

@perlancar
Copy link

Hi David,

Log::Any 0.15 is quite minimal so I don't have much reservations in loading it in my modules. 'use Log::Any;' statement loads only 2 files Log/Any.pm and Log/Any/Adapter/Null.pm for a total of 416 lines and load time of under 1ms.

Log::Any 1.00 now significantly increases this overhead to 10 files, including Data::Dumper and friends, for a total of 4489 lines and about 6-10ms of loading time.

I know this is not much in most cases, but it's a major regression and now this makes me have to think twice when loading Log::Any in some cases. Which is rather unfortunate as I view Log::Any to be quite universal.

@dagolden
Copy link

dagolden commented Feb 21, 2015 via email

@xdg xdg closed this as completed in d33022c Feb 3, 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

No branches or pull requests

1 participant