develooper Front page | perl.datetime | Postings from January 2006

Re: XS & Leap second questions

Thread Previous | Thread Next
From:
Flavio S. Glock
Date:
January 19, 2006 05:09
Subject:
Re: XS & Leap second questions
Message ID:
aa47605d0601190509r4efc345eo@mail.gmail.com
2006/1/19, Chase Venters <chase.venters@clientec.com>:
>         Also, it's been clear to me that using DateTime heavily is a good way to
> quickly kill performance. Pages that took 20ms to render jump to 500ms
> when I try to do something "simple" like apply a recurrence set to a month.

This is the command sequence I use in order to profile recurrences:

  cd ~/cvs/modules/DateTime-Event-ICal
  perl -d:DProf -Ilib t/04rfc2445.t
  dprofpp

I think that inlining the parameter validation (the calls to
Params::Validate::_validate) in a few places in DateTime.pm should
help performance a bit.

- Flavio S. Glock

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About