Subject: | Speeding up iCal::Parser |
Date: | Thu, 16 May 2013 23:21:31 -0400 |
To: | bug-iCal-Parser [...] rt.cpan.org |
From: | Bruce Momjian <bruce [...] momjian.us> |
parse_strings() on a 360k Google-produced ical string took 35 seconds on
my server-grade hardware, which seemed slow. I found if I set 'tz' to
equal my local timezone, the duration decreased to 14 seconds. It might
be nice if you could cache the current timezone and avoid lookups for
cases where 'tz' is not set.
Attached is my inclusive and exclusive Perl profiling output, in case
you see other optimizations to try.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
Message body is not shown because sender requested not to inline it.