[MTOS-dev] Stats from CMS modularization

Dan Wolfgang dan at danandsherree.com
Thu Feb 14 20:36:13 PST 2008


Ok, I should have kept reading my e-mail! These numbers make me smile. I
look forward to realizing the real-world difference!

Dan


On Thu, Feb 14, 2008 at 7:51 PM, Byrne Reese <byrne at sixapart.com> wrote:

> Just a quick note to show some real benefits of the modularization
> work. Here is a simple command that is simply loading MT::App::CMS and
> displaying the process memory usage afterward:
>
> $ perl -Ilib -Iextlib -MMT::App::CMS -e 'print `ps $$ -o rss=`;'
>  10744
>
> And here we have an instance of the CMS object being created. The
> additional memory usage here is due to Perl starting up the DBI,
> loading MT configuration settings and plugins, etc.
>
> $ perl -Ilib -Iextlib -MMT::App::CMS -e 'my $mt = new MT::App::CMS;
> print `ps $$ -o rss=`;'
>  19400
>
> After modularization, these figures dropped to 5676 and 14504
> respectively. These tests aren't actually doing any work, like
> displaying the dashboard, but I think the result is still significant.
>
>
> _______________________________________________
> MTOS-dev mailing list
> MTOS-dev at sixapart.com
> http://www.sixapart.com/mailman/listinfo/mtos-dev
>



-- 
Dan

http://uinnovations.com - Web development with a focus on UI and Movable
Type.
http://eatdrinksleepmovabletype.com - I eat, drink and sleep Movable Type.
http://danandsherree.com - But occasionally find time for other things.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.sixapart.com/pipermail/mtos-dev/attachments/20080214/0a7e918d/attachment.html 


More information about the MTOS-dev mailing list