#2362: Beaker + snow leopard + i18n causes a huge performance degradation.
--------------------------+-------------------------------------------------
Reporter: jorge.vargas | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: TurboGears | Version: 2.0b7
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
This started with
http://pastie.textmate.org/private/cmd9ovtitiwg5rffzbdxha -- an attempt to
benchmark "out of the box" performance for various frameworks.
http://imagebin.ca/view/5NHhda.html shows a massive performance problem in
a freshly quickstarted application with the simplest possible index
method. Obvious responses are obvious.
{{{
mpedersen: Well, for me, I just ran it the same way, and got 256r/s
(linux)
percious_: im running 2.1 here, and it's giving me 300 r/sec (mac os 10.5)
}}}
<then we clued in that it was the file system>
{{{
12:55:31 PM elpargo: i18n.set_lang is called on each "call" :)
12:55:56 PM mpedersen: and set_lang does a session.save()
}}}
<mcdonc stepped up with a macos 10.6 machine>
{{{
mcdonc: if i further put a return statement at the top of setup_i18n, i
get about 320 rps
mcdonc: if this is a hello world request, each request is taking about
1749 function calls to get the work done
}}}
Full chat log here
http://irclog.turbogears.org/archive/freenode/turbogears/2009/09/14
--
Ticket URL: <http://trac.turbogears.org/ticket/2362>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---